You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After having upgraded SWT from commit 1ced8a9 to 3670670 in our application it happens occasionally that the image for some shell is missing.
To Reproduce
Unfortunately, I have not yet found a way to reproduce it reliably.
Expected behavior
The set image should be used. It work without problem until at least commit 1ced8a9.
Screenshots
Environment:
Select the platform(s) on which the behavior is seen:
All OS
Windows
Linux
macOS
Additional OS info (e.g. OS version, Linux Desktop, etc)
Windows 11
To be honest, I cannot say whether that commit might have fixed it. The mentioned commit fixes a slight change in behavior that was introduced in the recent months, but without knowing which commit extractly introduced the behavior you report and without being able to properly reproduce it, it's hard to say whether it is fixed now 😟
@tmssngr Can you please reevaluate with latest master state? We are not able to reproduce the issue.
There was another issue with the program icon used for the shell (#2139), but the issue was introduced after the problematic state you refer to. When doing the fix, we also did not experience your issue.
For a reproduction, please also report all relevant configuration (monitor setups, zoom, SWT configuration like autoscale etc.). It's likely that this is somehow related to specific autoscale settings and monitor zooms, but hard to analyze without knowing about the actual settings.
There was another issue with the program icon used for the shell (#2139), but the issue was introduced after the problematic state you refer to.
I just added a Workaround to #2139. In there, I mention if the window is not minimized then the issue does not occur. You could try that @tmssngr and see if that's also the case for you (i.e. in this issue). I assume we're all talking about the exact same issue, it's just tricky to nail it down.
I was not able to reliably reproduce the problem. After having switched to SWT commit b8dd804, I suggest to close this ticket for now and will reopen it if the problem occurs again.
This issue was there before the issue fixed with #2139 was introduced, so rather unlikely that the fix affected this PR. Still, there were so many changes to images that it might just have a been a "bad" development state in which the original issue occurred.
First thing I would do is to collect all information on how to reproduce so that we can easily start debugging, i.e, the version of SWT, all zoom- and auto-scale-related settings, the workflow to achieve that result, ...
I also see some missing icons at the Eclipse item in the Windows toolbar and IIRC also for the shell.
Currently it doesn't happen, but I'll keep an eye on it. My settings are:
Win10, 4K-Monitors at 175% zoom, swt.autoScale=quarter and swt.autoScale.method=SMOOTH.
No, I could not reproduce the problem with a standalone SWT snippet. My test "procedure" to reliably reproduce it I've reported on Dec 23, 2025 in this thread.
Thank you for the update. The SWT bundles are obviously up-to-date.
I invested some time yesterday and tried hard to find a reproducer (sending the laptop to standby with/without monitor of different zoom connected and removing/attaching it while in standby, application placed on either monitor etc.) but everything worked as expected for me. Maybe the behavior even depends on environmental properties like the Windows version or even the standby S states supported by the CPU/firmware...
I reopen this as it's definitely not fixed and attach the "help wanted" label because
Usually i dont see but i did see this issue. But today when i closed eclipse and freshly relaunched, when the workspace prompt window comes - i did see this like a transient state. But after you select the workspace and say launch, it shows properly and before this screen comes also, its fine.
when the workspace prompt window comes - i did see this like a transient state. But after you select the workspace and say launch, it shows properly and before this screen comes also, its fine.
Next relaunch, i didnt see this again. Again after a restart of laptop, attempted multiple relaunches - still couldnt see it again.
Hi, I'm experiencing this issue on org.eclipse.swt.win32.win32.x86_64_3.133.0.v20260225-1014 while org.eclipse.swt.win32.win32.x86_64_3.124.200.v20231113-1355 seems fine.
when I open an eclipse rcp product, a login dialog open before workbench start, let's say LogInDialog(PlatformUI.createDisplay().getActiveShell()) , at this time this parentShell is null, after the logInDialog open, the image in taskbar is broken. The workaround seems if change the system display scale, the image get back to the correct one. It seems there has a delay image reset in org.eclipse.swt.widgets.Decorations.handleDPIChange(Event, float) of org.eclipse.swt.win32.win32.x86_64_3.133.0.v20260225-1014.
Some changes in 3.133 might bring this regression issue.
Hi, we are experiencing this issue on Eclipse Version: 2026-06 (4.40.0) with Build id:20260604-0653 and org.eclipse.swt.win32.win32.x86_64_3.134.0.v20260515-1429. The issue is not consistently reproducible, but it occurs primarily after the system resumes from hibernation or sleep mode. In these cases, the Eclipse toolbar/taskbar icon is sometimes lost and replaced by a generic icon:
There was no screen resolution change. The last time I encountered this issue was after extracting a zipped Eclipse installation and launching the eclipse.exe from the File Explorer on my secondary monitor. The workspace selection dialog appeared on the primary monitor, and the eclipse icon in the task bar was broken.
Activity
tmssngr commentedon Apr 22, 2025
It looks like this behavior is not fixed, but changes during runtime (an invalid image can turn into a correct one).
tmssngr commentedon Apr 24, 2025
As this screenshot indicates, the icon is set (see hover), but does not show correctly in the status bar

tmssngr commentedon Apr 28, 2025
@HeikoKlare Could this bug be resolved with your commit 28fdeb6?
HeikoKlare commentedon Apr 29, 2025
To be honest, I cannot say whether that commit might have fixed it. The mentioned commit fixes a slight change in behavior that was introduced in the recent months, but without knowing which commit extractly introduced the behavior you report and without being able to properly reproduce it, it's hard to say whether it is fixed now 😟
HeikoKlare commentedon May 13, 2025
@tmssngr Can you please reevaluate with latest master state? We are not able to reproduce the issue.
There was another issue with the program icon used for the shell (#2139), but the issue was introduced after the problematic state you refer to. When doing the fix, we also did not experience your issue.
For a reproduction, please also report all relevant configuration (monitor setups, zoom, SWT configuration like autoscale etc.). It's likely that this is somehow related to specific autoscale settings and monitor zooms, but hard to analyze without knowing about the actual settings.
fedejeanne commentedon May 13, 2025
I just added a Workaround to #2139. In there, I mention if the window is not minimized then the issue does not occur. You could try that @tmssngr and see if that's also the case for you (i.e. in this issue). I assume we're all talking about the exact same issue, it's just tricky to nail it down.
tmssngr commentedon May 13, 2025
I was not able to reliably reproduce the problem. After having switched to SWT commit b8dd804, I suggest to close this ticket for now and will reopen it if the problem occurs again.
fedejeanne commentedon May 13, 2025
Hm, ok. I see that you used a commit that does not contain my fix for #2139 (b227750) so it might be indeed some other issue.
I'm fine with closing this issue until the problem is reproducible.
HeikoKlare commentedon May 13, 2025
This issue was there before the issue fixed with #2139 was introduced, so rather unlikely that the fix affected this PR. Still, there were so many changes to images that it might just have a been a "bad" development state in which the original issue occurred.
tmssngr commentedon May 13, 2025
Right now the Windows taskbar shows no icon while the shell's left top and the Alt-Tab popup does. Hence I reopen.
Is there anything I can debug to understand this problem?
HeikoKlare commentedon May 13, 2025
First thing I would do is to collect all information on how to reproduce so that we can easily start debugging, i.e, the version of SWT, all zoom- and auto-scale-related settings, the workflow to achieve that result, ...
tmssngr commentedon May 13, 2025
IIRC, I wrote that the problem is not reproducible reliably. Is there some assertion which can be added when setting the image to the shell?
HannesWell commentedon May 13, 2025
I also see some missing icons at the Eclipse item in the Windows toolbar and IIRC also for the shell.
Currently it doesn't happen, but I'll keep an eye on it. My settings are:
Win10, 4K-Monitors at 175% zoom,
swt.autoScale=quarterandswt.autoScale.method=SMOOTH.43 remaining items
HeikoKlare commentedon Mar 2, 2026
@tmssngr can you share the exact steps to reproduce the issue with a standalone SWT snippet / example?
tmssngr commentedon Mar 2, 2026
No, I could not reproduce the problem with a standalone SWT snippet. My test "procedure" to reliably reproduce it I've reported on Dec 23, 2025 in this thread.
merks commentedon Mar 4, 2026
This morning my computer woke up like this:
The second icon on the right in the installer which fixes itself by moving it to another monitor:
The installer is using these SWT bundles:
HeikoKlare commentedon Mar 4, 2026
Thank you for the update. The SWT bundles are obviously up-to-date.
I invested some time yesterday and tried hard to find a reproducer (sending the laptop to standby with/without monitor of different zoom connected and removing/attaching it while in standby, application placed on either monitor etc.) but everything worked as expected for me. Maybe the behavior even depends on environmental properties like the Windows version or even the standby S states supported by the CPU/firmware...
I reopen this as it's definitely not fixed and attach the "help wanted" label because
We are looking for a reproducer
tmssngr commentedon Mar 4, 2026
I did not encounter this bug in combination with sleep/hibernate, but instead the first time after a reboot.
deepika-u commentedon Mar 4, 2026
Usually i dont see but i did see this issue. But today when i closed eclipse and freshly relaunched, when the workspace prompt window comes - i did see this like a transient state. But after you select the workspace and say launch, it shows properly and before this screen comes also, its fine.
deepika-u commentedon Mar 4, 2026
Next relaunch, i didnt see this again. Again after a restart of laptop, attempted multiple relaunches - still couldnt see it again.
jding-tlnd commentedon Jun 10, 2026
Hi, I'm experiencing this issue on org.eclipse.swt.win32.win32.x86_64_3.133.0.v20260225-1014 while org.eclipse.swt.win32.win32.x86_64_3.124.200.v20231113-1355 seems fine.
when I open an eclipse rcp product, a login dialog open before workbench start, let's say LogInDialog(PlatformUI.createDisplay().getActiveShell()) , at this time this parentShell is null, after the logInDialog open, the image in taskbar is broken. The workaround seems if change the system display scale, the image get back to the correct one. It seems there has a delay image reset in org.eclipse.swt.widgets.Decorations.handleDPIChange(Event, float) of org.eclipse.swt.win32.win32.x86_64_3.133.0.v20260225-1014.
Some changes in 3.133 might bring this regression issue.
c36n commentedon Jul 21, 2026
Hi, we are experiencing this issue on Eclipse Version: 2026-06 (4.40.0) with Build id: 20260604-0653 and org.eclipse.swt.win32.win32.x86_64_3.134.0.v20260515-1429. The issue is not consistently reproducible, but it occurs primarily after the system resumes from hibernation or sleep mode. In these cases, the Eclipse toolbar/taskbar icon is sometimes lost and replaced by a generic icon:

tmssngr commentedon Jul 28, 2026
Could you reliably reproduce the problem, e.g. after reboot/re-login or screen-resolution change?
c36n commentedon Jul 28, 2026
There was no screen resolution change. The last time I encountered this issue was after extracting a zipped Eclipse installation and launching the eclipse.exe from the File Explorer on my secondary monitor. The workspace selection dialog appeared on the primary monitor, and the eclipse icon in the task bar was broken.