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: | SWT | Assignee: | 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
2020-10-16 23:46:20 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. 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. |