apache / hop

Hop Orchestration Platform
https://hop.apache.org/
Apache License 2.0
989 stars 353 forks source link

[Bug]: GUI on HiDPI screen does not correctly display icons #2252

Open CatalyseRichard opened 1 year ago

CatalyseRichard commented 1 year ago

Apache Hop version?

All from 1.0 to 2.3 inclusive

Java version?

openjdk 11.0.17

Operating system

Linux

What happened?

Using Linux Mint (based on Ubuntu) versions 19 to 20.3 on Dell XPS13 laptop & HiDPI screen.

Since first versions of hop the display of the UI on a HiDPI screen has been difficult to work with as the size of the text was too small and Icons appeared as just black shapes, not resembling the hop icons seen when using Windows or using HopWeb, which both display OK. image

Have attempted to resolve by re-sizing in the look and feel dialog: Font sizes ==> 14 UI Zoom Level ==> image This shows that fonts become more usable but icons remain badly displayed. However, the icons have now become partly recognisable as the edges of hop-icons.

Zooming to 200% shows this effect even more: image

Conclusion: Whilst text is being resized correctly, icons are not being correctly auto-resized to fit the layout in the display.

This is coupled with multiple GTK-SWT errors on startup, before gui opens on-screen, as follows: (SWT:1722469): Gtk-CRITICAL **: 17:12:38.189: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

Issue Priority

Priority: 2

Issue Component

Component: Hop Gui

hansva commented 1 year ago

Seems like it's the same image 3 times, but scaling does seem to not be doing what it should do in your case. Do you have an external display connected when launching hop?

CatalyseRichard commented 1 year ago

No external display connected, entirely standalone. It is an image of the same thing but shows that the fonts are increasing in size and scaling up OK but the icons are not scaling correctly to fit in the display and/or the containing side-bars and top-bars are not scaling to allow them to show.