hop icon indicating copy to clipboard operation
hop copied to clipboard

[Bug]: Hop GUI - some dialogs open in tiny size

Open dave-csc opened this issue 7 months ago • 4 comments

Apache Hop version?

2.14

Java version?

17.0.2

Operating system

Linux

What happened?

When opening certain transforms (notably User Defined Java Class, but also other ones), the dialog has a tiny size that makes it unusable.

When closing the transform GUI and reopening it, the dialog becomes usable, but gets shrunk again if you happen to close and reopen it again.

Marked as P1 for regression: issue is not present on version 2.13

Issue Priority

Priority: 1

Issue Component

Component: Hop Gui

dave-csc avatar Jun 12 '25 07:06 dave-csc

can you share

  • a recording or a number of screenshots
  • more details about your Linux distribution, version, desktop environment and X11 or Wayland
  • screen resolution and zoom factor

Just tried to reproduce on KDE/Plasma, but UDJC, UDJE, Javascript etc dialog sizes look normal.

bamaer avatar Jun 12 '25 08:06 bamaer

I attached a screencast via TransferNow (available for 7 days), when I try to repeatedly open and close UDJC both in Hop 2.14 and Hop 2.13: https://www.transfernow.net/dl/20250612aUIo7Vz3

I think it is probably related to the Wayland patch that has been broken in 2.14 (see bug #5345 and #4252).

I use Ubuntu 24.04 LTS on a VirtualBox in Windows 10. No particular graphics options are enabled but feel free to ask if you need more specifications.

Thanks for your support :)

dave-csc avatar Jun 12 '25 08:06 dave-csc

can't reproduce on KDE/Plasma or Gnome, but not on Ubuntu (I use Arch, btw 🙈 ), I'll see if I can get my hands on an Ubuntu machine one of these days

bamaer avatar Jun 12 '25 08:06 bamaer

Found a possible fix, by tweaking the file hop-gui.sh. At line 79 replace this:

  if [ "${XDG_SESSION_TYPE}" == "wayland" ]; then

with this:

  if [ "${XDG_SESSION_TYPE}" = "wayland" ]; then

This also removes the warning reported on issue #5345

dave-csc avatar Jun 12 '25 12:06 dave-csc