Commit 6376e25
committed
[Win32] Update shell icons on DPI change asynchronously
When changing the zoom of the current monitor, the taskbar icon for an
SWT application is not updated properly but is replaced with a generic
executable icon and will only be replaced with the actual application
after quite some time/interaction (if at all). This seems to be caused
by some caching effects of the Windows explorer.
This change defers the refresh of the icons to be executed after all DPI
change processing has been handled. This results in reliable updates of
the application icon once the DPI change processing has finished.1 parent 9a2a885 commit 6376e25
File tree
1 file changed
+16
-9
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
1 file changed
+16
-9
lines changedLines changed: 16 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1708 | 1708 | | |
1709 | 1709 | | |
1710 | 1710 | | |
1711 | | - | |
1712 | | - | |
1713 | | - | |
1714 | | - | |
1715 | | - | |
1716 | | - | |
1717 | | - | |
1718 | | - | |
1719 | | - | |
1720 | 1711 | | |
1721 | 1712 | | |
1722 | 1713 | | |
| |||
1730 | 1721 | | |
1731 | 1722 | | |
1732 | 1723 | | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
1733 | 1740 | | |
1734 | 1741 | | |
0 commit comments