hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.78k stars 842 forks source link

Eclipse does not render trees correctly in Hyprland #7829

Closed LorenzoBettini closed 1 week ago

LorenzoBettini commented 1 week ago

Already reported ? *

Regression?

Yes

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 0f594732b063a90d44df8c5d402d658f27471dfe (props: bump version to 0.43.0). Date: Sun Sep 8 16:48:21 2024 Tag: v0.43.0, commits: 5196 flags: (if any) System Information: System name: Linux Node name: eos-hypr-acer Release: 6.10.10-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 03) (prog-if 00 [VGA controller]) os-release: NAME="EndeavourOS" PRETTY_NAME="EndeavourOS" ID="endeavouros" ID_LIKE="arch" BUILD_ID="2023.03.26" ANSI_COLOR="38;2;23;147;209" HOME_URL="https://endeavouros.com" DOCUMENTATION_URL="https://discovery.endeavouros.com" SUPPORT_URL="https://forum.endeavouros.com" BUG_REPORT_URL="https://forum.endeavouros.com/c/general-system/endeavouros-installation" PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2" LOGO="endeavouros" plugins: ======Config-Start====== Config File: /home/bettini/.config/hypr/hyprland.conf: Read Succeeded # # Please note not all available settings / options are set here. # For a full list, see the wiki # # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,preferred,auto,auto monitor=HDMI-A-1,preferred,auto,1.6 # 1.5 is no longer allowed for this monitor: # Invalid scale passed to monitor HDMI-A-1, failed to find a clean divisor. Suggested nearest scale: 1.600000 # see also https://github.com/hyprwm/Hyprland/issues/4349 # See https://wiki.hyprland.org/Configuring/Keywords/ for more # Execute your favorite apps at launch # exec-once = waybar & hyprpaper & firefox # Startup exec-once = /usr/lib/polkit-kde-authentication-agent-1 exec-once = waybar # exec-once = waybar --config ~/.config/waybar/config-bottombar exec-once = variety exec-once = dropbox exec-once = nm-applet exec-once = wl-paste --type text --watch cliphist store # clipboard store text data exec-once = wl-paste --type image --watch cliphist store # clipboard store image data # Screensaver and lock screen # Swaylock configuration in ~/.config/swaylock/config $lock = swaylock exec-once = swayidle -w timeout 300 '$lock' timeout 300 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock' # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf # Some default env vars. env = XCURSOR_SIZE,24 # Required by some applications like btrfs-assistant env = QT_QPA_PLATFORM,wayland # For styling env = QT_QPA_PLATFORMTHEME,qt5ct # For file associations in Dolphin # you need to install the package "archlinux-xdg-menu" env = XDG_MENU_PREFIX,arch- # required to have the mouse on mirrored external display env = WLR_NO_HARDWARE_CURSORS,1 # For the ssh-agent systemd user service # remember to enable the service: # systemctl enable --user ssh-agent.service # see https://wiki.archlinux.org/title/SSH_keys#Start_ssh-agent_with_systemd_user env = SSH_AUTH_SOCK,$XDG_RUNTIME_DIR/ssh-agent.socket # For Electron apps like Visual Studio Code # https://github.com/electron/electron/blob/main/docs/api/environment-variables.md#electron_ozone_platform_hint-linux env = ELECTRON_OZONE_PLATFORM_HINT,auto # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = it kb_variant = kb_model = kb_options = kb_rules = follow_mouse = 1 touchpad { natural_scroll = no } sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } # PineBook Pro keyboard has American Layout device { name = hailuck-co.,ltd-usb-keyboard kb_layout = us kb_variant = kb_model = kb_options = kb_rules = } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_in = 5 gaps_out = 10 border_size = 2 col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) layout = dwindle } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 10 # blur breaking change in 0.28 # https://github.com/hyprwm/Hyprland/releases/tag/v0.28.0 # "All blur values have been moved to decoration:blur:" #blur = yes #blur_size = 3 #blur_passes = 1 #blur_new_optimizations = on # the default seems to work as usual; in case: # blur { # enabled = true # size = 3 # passes = 1 # } drop_shadow = yes shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) } animations { enabled = yes # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more bezier = myBezier, 0.05, 0.9, 0.1, 1.05 animation = windows, 1, 7, myBezier animation = windowsOut, 1, 7, default, popin 80% animation = border, 1, 10, default animation = borderangle, 1, 8, default animation = fade, 1, 7, default animation = workspaces, 1, 6, default } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = yes # you probably want this } master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more # new_is_master = true # does not work anymore } gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = true workspace_swipe_fingers = 3 } # Example windowrule v1 # windowrule = float, ^(kitty)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # To get the title or class, use hyprctl clients. windowrulev2 = opacity 0.9 0.6,class:^(nemo)$ windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$ #windowrulev2 = float,class:^Eclipse #windowrulev2 = float,class:^google-chrome #windowrulev2 = float,class:^thunderbird #windowrulev2 = float,class:^firefox windowrulev2 = float,class:^unison* # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # bind = $mainMod, Q, exec, kitty # bind = $mainMod, C, killactive, # bind = $mainMod, M, exit, # bind = $mainMod, E, exec, nemo # bind = $mainMod, V, togglefloating, # bind = $mainMod, R, exec, wofi --show drun # bind = $mainMod, P, pseudo, # dwindle # bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, D, exec, wofi --show drun bind = $mainMod SHIFT, Return, exec, dolphin bind = $mainMod SHIFT, F, togglefloating bind = $mainMod, F, fullscreen, 1 # 1 - maximize (keeps gaps and bar(s)) bind = $mainMod, O, workspaceopt, allfloat bind = $mainMod, Q, killactive, bind = $mainMod, Return, exec, alacritty bind = $mainMod, A, exec, kitty bind = $mainMod, K, exec, konsole bind = $mainMod SHIFT, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle # Launcher rofi bind = ALT, SPACE, exec, rofi -show drun bind = $mainMod ALT, SPACE, exec, rofi -show window # files and directories bind = $mainMod, SPACE, exec, xdg-open "$(fd . $HOME/Documents $HOME/Dropbox $HOME/work | rofi -threads 0 -theme+window+width 80% -dmenu -i -p "file")" # only directories bind = $mainMod CTRL ALT, SPACE, exec, xdg-open "$(fd . $HOME/Documents $HOME/Dropbox $HOME/work -td | rofi -threads 0 -theme+window+width 80% -dmenu -i -p "dir")" # show shortcuts bind = $mainMod CTRL, SPACE, exec, egrep "^bind" ~/.config/hypr/hyprland.conf | cut -d " " -f 3- | rofi -i -dmenu -p "Shortcuts" # show clipboard history bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy # Exit or reload bind = $mainMod, M, exec, wlogout --protocol layer-shell # show the logout/reboot,etc. window bind = $mainMod SHIFT, M, exit, # Exit Hyprland (force quit Hyprland) bind = $mainMod SHIFT, R, exec, hyprctl reload bind = $mainMod CTRL SHIFT, R, exec, killall -SIGUSR2 waybar # Screenlock bind = $mainMod, L, exec, $lock # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d bind = ALT, Tab, cyclenext bind = ALT SHIFT, Tab, cyclenext, prev bind = ALT, Tab, bringactivetotop bind = ALT SHIFT, Tab, bringactivetotop # Move bind = $mainMod CTRL, H, movewindow, l bind = $mainMod CTRL, L, movewindow, r bind = $mainMod CTRL, K, movewindow, u bind = $mainMod CTRL, J, movewindow, d # Resize bind = $mainMod ALT, right, resizeactive, 50 0 bind = $mainMod ALT, left, resizeactive, -50 0 bind = $mainMod ALT, up, resizeactive, 0 -50 bind = $mainMod ALT, down, resizeactive, 0 50 # For grouping (tabbed windows) bind = $mainMod, G, togglegroup bind = $mainMod SHIFT, tab, changegroupactive, f # For workspaces bind = $mainMod, Tab, workspace, m+1 bind = $mainMod SHIFT, tab, workspace, m-1 bind = $mainMod CTRL, right, workspace, m+1 bind = $mainMod CTRL, left, workspace, m-1 # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 bind = $mainMod, 4, workspace, 4 bind = $mainMod, 5, workspace, 5 bind = $mainMod, 6, workspace, 6 bind = $mainMod, 7, workspace, 7 bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 bind = $mainMod, 0, workspace, 10 # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 4, movetoworkspace, 4 bind = $mainMod SHIFT, 5, movetoworkspace, 5 bind = $mainMod SHIFT, 6, movetoworkspace, 6 bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Move active window to the relative workspaces bind = $mainMod SHIFT, X, movetoworkspace, m+1 bind = $mainMod SHIFT, Z, movetoworkspace, emptym # Special workspace bind = $mainMod SHIFT, U, movetoworkspace, special bind = $mainMod, U, togglespecialworkspace, # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Screenshots bind = , Print, exec, grim # with selection bind = CTRL, Print, exec, grim -g "$(slurp)" # current window (pos and size) bind = ALT, Print, exec, grim -g "$(hyprctl activewindow | grep 'at:' | cut -d':' -f2 | tr -d ' ' | tail -n1) $(hyprctl activewindow | grep 'size:' | cut -d':' -f2 | tr -d ' ' | tail -n1 | sed s/,/x/g)" # Alternative (e.g., for PineBook Pro) # Screenshots bind = $mainMod, P, exec, grim # with selection bind = $mainMod CTRL, P, exec, grim -g "$(slurp)" # current window (pos and size) bind = $mainMod ALT, P, exec, grim -g "$(hyprctl activewindow | grep 'at:' | cut -d':' -f2 | tr -d ' ' | tail -n1) $(hyprctl activewindow | grep 'size:' | cut -d':' -f2 | tr -d ' ' | tail -n1 | sed s/,/x/g)" # Special Keys bind = , xf86monbrightnessup, exec, brightnessctl set 10%+ bind = , xf86monbrightnessdown, exec, brightnessctl set 10%- bind = , xf86audioraisevolume, exec, wpctl set-volume -l 1.0 @DEFAULT_SINK@ 5%+ bind = , xf86audiolowervolume, exec, wpctl set-volume -l 1.0 @DEFAULT_SINK@ 5%- bind = , xf86audiomute, exec, wpctl set-mute @DEFAULT_SINK@ toggle # Passthrough # This permits directing shortcuts to a KVM VM window bind=ALT,R,submap,passthrough submap=passthrough # Press ESC to exit the passthrough bind=,escape,submap,reset submap=reset ======Config-End======== ```

Description

When running Eclipse from Hyprland (in Wayland mode, not X), trees are not rendered correctly, e.g., the package or project explorer, but also in the Outline view: At the beginning the tree is shown correctly, but as soon you start expanding it with the mouse, or also when hovering the tree, its elements start to disappear: eclipse hyprland problem 2 At some point the whole tree disappear: eclipse hyprland problem 1 Unfortunately, I didn't notice when this started to happen. It used to work correctly several months ago, but the problem has been there at least since the latest versions of 0.41 stream and was also there in 0.42 (as shown above, the problem is present in 0.43 as well).

If I run Eclipse in X11 mode the problem is not there.

In case it helps, Eclipse works correctly in all my other Wayland environments (KDE, GNOME and Sway).

How to reproduce

Start Eclipse, even the latest version 2024-09, create a few Java projects and start interacting with the project explorer's tree (but also the package explorer, or the outline view when opening a Java file with a few fields and methods).

Crash reports, logs, images, videos

No response

vaxerski commented 1 week ago

6844