Bug 572400 - Creating a GC for a device paint "somewhere" on the screen on windows
Summary: Creating a GC for a device paint "somewhere" on the screen on windows
Status: CLOSED MOVED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.20   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-29 06:50 EDT by Christoph Laeubrich CLA
Modified: 2022-06-06 11:16 EDT (History)
0 users

See Also:


Attachments
Snippet that demonstrates the behaviour (1.30 KB, text/x-java)
2021-03-29 06:50 EDT, Christoph Laeubrich CLA
no flags Details
running application (363.25 KB, image/png)
2021-03-29 06:50 EDT, Christoph Laeubrich CLA
no flags Details
terminated application (449.74 KB, image/png)
2021-03-29 06:51 EDT, Christoph Laeubrich CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Laeubrich CLA 2021-03-29 06:50:06 EDT
Created attachment 285977 [details]
Snippet that demonstrates the behaviour

If I create a GC in windows for a device, paint on it and dispose it afterward the painted items appear "somewhere" on the screen. Some of the painting even persists the termination of the application. Under Linux everything works fine.

I have attached a snippet to demonstrate the problem:

- start the snippet and move the mouse --> application is covered with black parts even outside the main window
- move the window, the black parts appear on other parts of the desktop
- terminate the application --> some of the parts remain and require to force a repaint (e.g. minimize other application windows and restore afterwards)
Comment 1 Christoph Laeubrich CLA 2021-03-29 06:50:46 EDT
Created attachment 285978 [details]
running application
Comment 2 Christoph Laeubrich CLA 2021-03-29 06:51:17 EDT
Created attachment 285979 [details]
terminated application