Community
Participate
Working Groups
When the screen scale is set at 300% in Windows with 4K screen, some buttons are missing in the main toolbar and in views' toolbars. I joined two snapshots : - one at 200% - one at 300% : you can see that some buttons are missing in all toolbars The bug happen in neon and oxygen.
Created attachment 266489 [details] scale 200% All buttons in main toolbar and views toolbar are presents
Created attachment 266490 [details] Eclipse at 300% Scale is set at 300% (default value on my computer) Buttons are missing on main toolbar and in views toolbar.
Moving this bug to SWT. Platform UI should not have to care about HiDPI at this level. I fixed bug 510772 on a Linux machine and then filed a very similar bug 510974 for SWT/GTK. I can reproduce the missing toolbar buttons in the IDE on Windows 7 at 300%, but AFAICS, the ControlExample looked OK on Windows. However, I can't really help investigating here, since my biggest monitor has 1920x1200 pixels, and Windows 7 is not capable of using separate resolutions per monitor.
(Niraj Modi said in bug 510772 comment #3) > Workaround: > You can explicitly specify the zoom level(limit it to 200%) by adding below > VM argument in eclipse.ini or on the command line after -vmargs: > -Dswt.autoScale=200
With fix for bug 512821(which caps the zoom level to 200% by default), this problem is not seen anymore.
(In reply to Markus Keller from comment #3) > Moving this bug to SWT. Platform UI should not have to care about HiDPI at > this level. > > I fixed bug 510772 on a Linux machine and then filed a very similar bug > 510974 for SWT/GTK. I can reproduce the missing toolbar buttons in the IDE > on Windows 7 at 300%, but AFAICS, the ControlExample looked OK on Windows. Since the original problem reported is only seen with Eclipse and not seen with ControlExample, we need an SWT based test snippet to reproduce and investigate this further.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=562126 may be a similar issue, and I provided a detailed analysis (including pure SWT example code) there.