Bug 567955 - In Windows, no Composite/Canvas redraw occurs inside a Shell having SWT.NO_TRIM or SWT.ON_TOP
Summary: In Windows, no Composite/Canvas redraw occurs inside a Shell having SWT.NO_TR...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.17   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-16 23:46 EDT by Andy Maleh CLA
Modified: 2020-12-30 02:53 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Maleh CLA 2020-10-16 23:46:20 EDT
This issue was encountered in Windows 10 only. On Mac OS Catalina, it works just fine.

When attempting to redraw a Composite or Canvas, no redraw occurs (and the paintControl event does not fire)
Comment 1 Andy Maleh CLA 2020-10-16 23:48:05 EDT
(In reply to Andy Maleh from comment #0)
> This issue was encountered in Windows 10 only. On Mac OS Catalina, it works
> just fine.
> 
> When attempting to redraw a Composite or Canvas, no redraw occurs (and the
> paintControl event does not fire)

Forgot to mention what is in the title. on Windows, I cannot redraw a Composite or Canvas if inside a Shell having SWT.NO_TRIM or SWT.ON_TOP only. If inside a shell with SWT.SHELL_TRIM, redraw works just fine.
Comment 2 Andy Maleh CLA 2020-12-30 02:53:05 EST
To explain my purpose behind wanting to paint on a canvas or composite inside a no trim shell on top, I am trying to render an animated gif as an SWT application splash screen. For now, I got around the problem by rendering a shell trim around it on Windows. As a result, it doesn't look like a true splash screen on Windows, but close enough. On the Mac, it works perfectly. Thanks.