Bug 567955

Summary: In Windows, no Composite/Canvas redraw occurs inside a Shell having SWT.NO_TRIM or SWT.ON_TOP
Product: [Eclipse Project] Platform Reporter: Andy Maleh <andy.am>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: andy.am
Version: 4.17   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

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.