Community
Participate
Working Groups
Created attachment 277671 [details] Screenshot showing tiny toolbar icons on 1920x1080 laptop display Version: 2018-12 (4.10.0) Build id: 20181214-0600 Fresh install and the toolbar icons are too small on laptop 1920x1080 display. There is no option in Settings to adjust the size.
Did they get smaller from some previous version? They appear to be the normal size for me.
Hi Eric, no this is a fresh, first-time installation.
(In reply to Pico R from comment #2) > Hi Eric, no this is a fresh, first-time installation. Okay, I measured just to check and this is the the expected icon size on GTK3. If you are coming from GTK2 there might be a change but the size in your screenshot has been the default icon size for awhile. Is this the first time you've used Eclipse?
To me it looks like the font size is more. Please check whether you are using default font size
Banner, header, and dialog font are set to Noto Sans 14.
(In reply to Pico R from comment #5) > Banner, header, and dialog font are set to Noto Sans 14. That explains the screenshot. I have the following sizes on GTK3 Banner: Sans 10 Header: Sans 12 Dialog: Cantarell 11 Need to investigate why you are seeing a different font size. Please check whether clicking on Restore defaults at the bottom of font configuration helps. Reassigning to Platform UI. Need to investigate why eclipse is using different font other than default fonts on a new install.
I have downloaded and installed eclipse (Eclipse IDE for Enterprise Java Developers. Version: 2019-03 (4.11.0) Build id: 20190314-1200). Everything in eclipse looks too small which makes it feel very uncomfortable to work. I need to sit closer to clearly see the icons and options in eclipse. Please help me to fix this or please provide me a link to download bug free eclipse in which I want to make Java EE projects and Java FX projects. Thanks, Rahul S Kumar.
(In reply to Rahul S Kumar from comment #7) > I have downloaded and installed eclipse (Eclipse IDE for Enterprise Java > Developers. Version: 2019-03 (4.11.0) Build id: 20190314-1200). Everything > in eclipse looks too small which makes it feel very uncomfortable to work. I > need to sit closer to clearly see the icons and options in eclipse. Please > help me to fix this or please provide me a link to download bug free eclipse > in which I want to make Java EE projects and Java FX projects. > > Thanks, > Rahul S Kumar. Can you please provide us OS, display resolution, physical size and scalefactor in the display settings?
Is this the information you would like? The platform of the system is: $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster -------------------------------------------------------------------- $ uname -a Linux life 4.19.0-5-amd64 #1 SMP Debian 4.19.37-1 (2019-05-05) x86_64 GNU/Linux ---------------------------------------------------------------------- Thinkpad laptop with 15.6" display at 1920x1080 24 bit resolution -------------------------------------------------------------------- *** Platform Details: *** System properties: applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi awt.toolkit=sun.awt.X11.XToolkit com.genuitec.eclipse.theming.ui.isDark=true com.genuitec.eclipse.theming.ui.isDevStyle=true ds.delayed.keepInstances=true ds.delayed.keepInstances.default=true eclipse.application=org.eclipse.ui.ide.workbench eclipse.buildId=4.10.0.I20181206-0815 eclipse.commands=-os linux -ws gtk -arch x86_64 -showsplash -launcher /home/felicia/eclipse/javascript-2018-12/eclipse/eclipse -name Eclipse --launcher.library /home/felicia/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.900.v20180922-1751/eclipse_1801.so -startup /home/felicia/eclipse/javascript-2018-12/eclipse//plugins/org.eclipse.equinox.launcher_1.5.200.v20180922-1751.jar --launcher.appendVmargs -exitdata 6d70046 -product org.eclipse.epp.package.javascript.product -vm /usr/lib/jvm/java-11-openjdk-amd64/bin/java -----------------------------------------------------------------------------
(In reply to Pico R from comment #9) > Is this the information you would like? The platform of the system is: > > $ lsb_release -a > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux 10 (buster) > Release: 10 > Codename: buster > -------------------------------------------------------------------- > $ uname -a > Linux life 4.19.0-5-amd64 #1 SMP Debian 4.19.37-1 (2019-05-05) x86_64 > GNU/Linux > > ---------------------------------------------------------------------- > > Thinkpad laptop with 15.6" display at 1920x1080 24 bit resolution > > -------------------------------------------------------------------- > > *** Platform Details: > > *** System properties: > applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi > awt.toolkit=sun.awt.X11.XToolkit > com.genuitec.eclipse.theming.ui.isDark=true > com.genuitec.eclipse.theming.ui.isDevStyle=true > ds.delayed.keepInstances=true > ds.delayed.keepInstances.default=true > eclipse.application=org.eclipse.ui.ide.workbench > eclipse.buildId=4.10.0.I20181206-0815 > eclipse.commands=-os > linux > -ws > gtk > -arch > x86_64 > -showsplash > -launcher > /home/felicia/eclipse/javascript-2018-12/eclipse/eclipse > -name > Eclipse > --launcher.library > /home/felicia/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux. > x86_64_1.1.900.v20180922-1751/eclipse_1801.so > -startup > /home/felicia/eclipse/javascript-2018-12/eclipse//plugins/org.eclipse. > equinox.launcher_1.5.200.v20180922-1751.jar > --launcher.appendVmargs > -exitdata > 6d70046 > -product > org.eclipse.epp.package.javascript.product > -vm > /usr/lib/jvm/java-11-openjdk-amd64/bin/java > ----------------------------------------------------------------------------- from the above. I can see that the laptop is capable of 100% and 200% scalefactor. We need to know what scalefactor you are using (you can get this from display settings) and the Destop environment(GNOME, KDE etc)
I am setting up a debian machine now. Might take close to 24 hours for me to setup
Created attachment 278650 [details] KDE Info Center X-Server information tab
Please got to help/about/configuration and attach here the SWT related values (gtk/theme used).
Also please uninstall genuiteck darkest dark plugin and check if this helps.
org.eclipse.swt.internal.deviceZoom=100 org.eclipse.swt.internal.gdk.backend=x11 org.eclipse.swt.internal.gtk.theme=Breeze org.eclipse.swt.internal.gtk.version=3.24.5 org.eclipse.swt.internal.webkitgtk.version=2.24.1 Darkest dark has no effect on the size of icons, except that the darker theme made everything slightly more readable.
Actually when I switched from Darkest Dark theme to Dark theme the icons got even smaller!
When I switch to default theme and disable themeing entirely the icons are very tiny to the point of being totally useless.
(In reply to Pico R from comment #15) > org.eclipse.swt.internal.deviceZoom=100 Can you enable 125 or 150% scaling in your desktop? It is expected that small icons are small at this scale factor and your resolution.
(In reply to Andrey Loskutov from comment #18) > (In reply to Pico R from comment #15) > > org.eclipse.swt.internal.deviceZoom=100 > > Can you enable 125 or 150% scaling in your desktop? It is expected that > small icons are small at this scale factor and your resolution. We need to get the display scalefactor. if the display sclaefactor is higher than 100 then font size will get increased and icons appear smaller. @Pico R I am installing debian on a test system. Can you confirm you are using KDE-plasma desktop?
I disabled Darkest Dark and switched to the default theme. I went into System Settings -> Monitor -> Scale Display (in KDE) and set the scale factor to 1.3 and everything was far too big - for example widgets and buttons were simply way too big. I then switched to scale factor 1.2 and when I ran Eclipse with the default theme at that scale factor it appeared that the icon size hadn't changed. They are still so tiny as to be unusable - even with me wearing reading glasses.
(In reply to Pico R from comment #20) > I disabled Darkest Dark and switched to the default theme. I went into > System Settings -> Monitor -> Scale Display (in KDE) and set the scale > factor to 1.3 and everything was far too big - for example widgets and > buttons were simply way too big. I then switched to scale factor 1.2 and > when I ran Eclipse with the default theme at that scale factor it appeared > that the icon size hadn't changed. They are still so tiny as to be unusable > - even with me wearing reading glasses. Eclipse supports scale factor of 1 and 2. Try with 1. That should solve the problem
It *was* set to 1. I just set it to 1.2 by request here. At 1 there is still the problem.
Created attachment 278668 [details] Screenshot of eclipse at scalefactor 1 on Debian 10 Here is the screenshot I got at scalefactor of 1. I don't see any small icon issue here
Created attachment 278669 [details] Eclipse IDE, Default theme, Dialog Font = Noto Sans 13, system scale factor 1.2 Here is a screen shot of Eclipse with the Default theme, Dialog Font set to Noto Sans 13, and system scale factor set in KDE to 1.2.
(In reply to Sravan Kumar Lakkimsetti from comment #23) > Created attachment 278668 [details] > Screenshot of eclipse at scalefactor 1 on Debian 10 > > Here is the screenshot I got at scalefactor of 1. I don't see any small icon > issue here You don't state what your monitor size and display resolution are.
(In reply to Pico R from comment #25) > (In reply to Sravan Kumar Lakkimsetti from comment #23) > > Created attachment 278668 [details] > > Screenshot of eclipse at scalefactor 1 on Debian 10 > > > > Here is the screenshot I got at scalefactor of 1. I don't see any small icon > > issue here > > You don't state what your monitor size and display resolution are. My monitor is 22 inch 4K dsplay but the resolution I am using 1920x1200. I haven't done any changes to the settings.
(In reply to Pico R from comment #24) > Created attachment 278669 [details] > Eclipse IDE, Default theme, Dialog Font = Noto Sans 13, system scale factor > 1.2 > > Here is a screen shot of Eclipse with the Default theme, Dialog Font set to > Noto Sans 13, and system scale factor set in KDE to 1.2. Yes that is expected. Eclipse doesn't support fractional scalefactors. So you'll see an increase in font size at fractional scalefactors.
It's been four months since I reported this defect and it still exists. I can confirm this after just setting up a new instance of Eclipse SDK via the installer. Am using a laptop with a 15.6" display at 1920x1080 resolution which is very standard for laptops. The icons on the toolbar are ridiculously tiny to the point of being unreadable. This is *not* a problem with my laptop. I used a wide variety of applications on a daily basis none of which experience this problem. Perhaps the toolbar was designed at a time when resolutions are lower than they are today. Eclipse should provide a pleasant and ergonomic user experience for people using modern hardware. The lack of a usable toolbar due to tiny icons is a significant impediment to the functionality of the application.
(In reply to Pico R from comment #28) > It's been four months since I reported this defect and it still exists. It's also been two months after the last comment, explaining that you can't expect fractional scale factors to work in GTK. Please use 2x scale factor but scale down your fonts. You can try to run Eclipse with this environment: # Make UI elements 2x bigger (note: Gnome does NOT allow fractional numbers!!!) # So we can't use 1.5x scaling factor in GTK (== 144 DPI, that KDE uses) !?!?! export GDK_SCALE=2 # Scale GTK fonts *down* - this value seems to be *derived* from the variable above (OMG!!!!) export GDK_DPI_SCALE=0.5 Also please provide Eclipse version are you using *now*.
(In reply to Andrey Loskutov from comment #29) > (In reply to Pico R from comment #28) > > It's been four months since I reported this defect and it still exists. > > It's also been two months after the last comment, explaining that you can't > expect fractional scale factors to work in GTK. > > Please use 2x scale factor but scale down your fonts. > > You can try to run Eclipse with this environment: > > # Make UI elements 2x bigger (note: Gnome does NOT allow fractional > numbers!!!) > # So we can't use 1.5x scaling factor in GTK (== 144 DPI, that KDE uses) > !?!?! > export GDK_SCALE=2 > > # Scale GTK fonts *down* - this value seems to be *derived* from the > variable above (OMG!!!!) > export GDK_DPI_SCALE=0.5 > > Also please provide Eclipse version are you using *now*. AIUI, GDK_SCALE and GDK_DPI_SCALE aren't guaranteed to work all the time. The "official" way to scale is by adjusting the scale settings in the Display/Monitor system settings.
(In reply to Eric Williams from comment #30) > AIUI, GDK_SCALE and GDK_DPI_SCALE aren't guaranteed to work all the time. > The "official" way to scale is by adjusting the scale settings in the > Display/Monitor system settings. Eric, I apologize, I have here ancient KDE 4.14 on RHEL 7.4 that even does not provide any possibility to change scaling via some UI, so I've just posted what worked for me.
(In reply to Andrey Loskutov from comment #31) > (In reply to Eric Williams from comment #30) > > AIUI, GDK_SCALE and GDK_DPI_SCALE aren't guaranteed to work all the time. > > The "official" way to scale is by adjusting the scale settings in the > > Display/Monitor system settings. > > Eric, I apologize, I have here ancient KDE 4.14 on RHEL 7.4 that even does > not provide any possibility to change scaling via some UI, so I've just > posted what worked for me. No need to apologize, IIRC if there is no UI option then the variables should be working as expected. It's only if the per-monitor settings are there that it becomes an issue.
Yes it is possible to launch eclipse with the scaled resolution as you suggest using the command 'GDK_SCALE=2 GDK_DPI_SCALE=0.5 eclipse-java-latest' however at that scale the icons and gui components are extremely large. Version: 2019-06 (4.12.0) Build id: 20190614-1200
I have the same problem with eclipse version 2019-12. The icons are far too small to be usable. If I try the GDK_SCALE=2 workaround, the icons are then too large. The problem seems to originate with version 2018-12 as it also has the same problem, but 2018-09 version doesn't. Because of that I have reverted to using version 2018-09. I am on Manjaro Linux with KDE + Openbox and 4k AOC display with 3840x2160 resolution: lsb_release -a LSB Version: n/a Distributor ID: ManjaroLinux Description: Manjaro Linux Release: 18.1.5 Codename: Juhraya uname -a Linux scvitanovic-pc 5.4.6-2-MANJARO #1 SMP PREEMPT Tue Dec 24 15:55:20 UTC 2019 x86_64 GNU/Linux The eclipse 2018-09 version is: Version: 2018-09 (4.9.0) Build id: 20180917-1800 The eclipse 2019-12 version is: Version: 2019-12 (4.14.0) Build id: 20191212-1212
Created attachment 281490 [details] 2018-09 with normal icons This is the screenshot of the eclipse 2018-09 version with the following added in the eclipse.ini file, making the icons normal: -Dswt.enable.autoScale=true -Dswt.autoScale=180 -Dswt.autoScale.method=nearest
Created attachment 281491 [details] 2018-09 with icons far too small to be usable Screenshot with icons far too small to be usable. It is of eclipse version 2018-09, however all the eclipse versions I tested (up to and including Oxygen) show up like this (without manual swt scaling).
Created attachment 281492 [details] 2019-12 with swt scaling is unusable This screenshot is of eclipse 2019-12 with the following in the eclipse.ini: -Dswt.enable.autoScale=true -Dswt.autoScale=180 -Dswt.autoScale.method=nearest No matter what swt scaling is set, the end result is somewhat similar, i.e. the eclipse is unusable with icons not showing, blobs of black covering the workspace, etc.
(In reply to Stjepan Cvitanović from comment #37) > Created attachment 281492 [details] > 2019-12 with swt scaling is unusable > > This screenshot is of eclipse 2019-12 with the following in the eclipse.ini: > -Dswt.enable.autoScale=true > -Dswt.autoScale=180 > -Dswt.autoScale.method=nearest > No matter what swt scaling is set, the end result is somewhat similar, i.e. > the eclipse is unusable with icons not showing, blobs of black covering the > workspace, etc. Stjepan, thanks for this report. It looks like what *you* see is a regression in 2019-12 (differently to the original issue). May I ask you to create a dedicated bug report and attach your config there? We should find & fix the regression. Please also go to Help -> About -> Installation Details -> Configuration and provide all org.eclipse.swt.internal* values you will find there.
Hi all.... I got the solution couple of weeks ago. (I own a windows 10 laptop) Please override high resolution DPI scaling behaviour of the Eclipse application. To do that, right click on eclipse application icon > select properties > Under compatibility tab, check the check box "Override high DPI scaling behaviour. Scaling performed by. > then change the drop down value > click apply and then click ok. Then open eclipse to see the effect. If not working try changing the drop down values and open eclipse after saving. Please see the image given in the url given below. https://filestore.community.support.microsoft.com/api/images/ea72d580-cabb-4beb-ad2d-c07c383d0313 Hope this helps.
(In reply to Andrey Loskutov from comment #38) > (In reply to Stjepan Cvitanović from comment #37) > > Created attachment 281492 [details] > > 2019-12 with swt scaling is unusable > > > > This screenshot is of eclipse 2019-12 with the following in the eclipse.ini: > > -Dswt.enable.autoScale=true > > -Dswt.autoScale=180 > > -Dswt.autoScale.method=nearest > > No matter what swt scaling is set, the end result is somewhat similar, i.e. > > the eclipse is unusable with icons not showing, blobs of black covering the > > workspace, etc. > > Stjepan, thanks for this report. It looks like what *you* see is a > regression in 2019-12 (differently to the original issue). > > May I ask you to create a dedicated bug report and attach your config there? > > We should find & fix the regression. Please also go to Help -> About -> > Installation Details -> Configuration and provide all > org.eclipse.swt.internal* values you will find there. Thank you, I have created bug report 559199
Created attachment 286801 [details] Eclipse-2020-12-splash-screen-with-overriden-scaling When I override the scaling with System (enhanced) for the eclipse.exe (Windows 10), the splash screen becomes tiled. It helps against the tiny icons though.
Created attachment 286802 [details] Eclipse-2020-12-IDE-HR-with-default-scaling-Windows-10 With Eclipse 2020-12, I observe the tiny icons on Windows as well. Windows 10, Display resolution 3840x2160 (Reommended), Scaling 350% That scaling is automatically set by Windows and cannot be changed because it is grayed out. ("A custom scale factor is set. Turn off custom scaling and sign out." is displayed in the Display settings.)
Followup: I also measured the icon's size (number of pixels) using a screenshot and MS Paint: The size is 16x16 pixels, so the *@2x.png icons are not being used as they (to my knowledge) should.
Another Followup: Using the "System (enhanced)" scaling workaround leads to part tabs not being rendered correctly when mouse-over. (Windows 10, 3840x2160 Resolution)
I realize this issue is for GTK but it affects Eclipse RCP under Windows as well. Does it make sense to create a new one for Windows or can someone update the hardware flags...?
Scaling on windows and linux are totally different so please open a separate bug for the windows one.
Icons are still too small for me (Eclipse 22-03, Linux Manjaro KDE): https://i.imgur.com/PgFJ9q2.png By using ideas from: https://stackoverflow.com/questions/20718093/eclipse-interface-icons-very-small-on-high-resolution-screen-in-windows-8-1 , I have been able to resize most icons, by using a library able to resize images: https://i.imgur.com/7DzlgUu.png My question is: in order to help developers workaround this Eclipse issue, can we have some pointers on how to increase the size of the icons in the Package Explorer's tree? Those are the only icons (in my case) still way too small. I found out that the icons for the toolbar are located under "[ECLIPSE_DIR]/configuration/org.eclipse.osgi". I did try to increase the size icons from other places too (including inside .jar/.gz/.zip files), but without success for the tree icons. I have no idea where those are located. Any help on this? I also tried using CSS (with selectors like ".MPart Tree img" for example), but didn't find how to increase the tree icons that way. Please help us workaround this issue.