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
20.82k stars 874 forks source link

Hyprland unexpectedly closing popup on Thunderbird #6965

Open Mikilio opened 2 months ago

Mikilio commented 2 months ago

Regression?

No

System Info and Version

System/Version info ```sh Hyprland, built from branch main at commit 9e781040d9067c2711ec2e9f5b47b76ef70762b3 (props: bump version to 0.41.1). Date: 2024-06-13 Tag: v0.41.1, commits: 9e781040d9067c2711ec2e9f5b47b76ef70762b3 flags: (if any) System Information: System name: Linux Node name: elitebook Release: 6.9.6 Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri Jun 21 12:40:40 UTC 2024 GPU information: c3:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c4) (prog-if 00 [VGA controller]) os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.11.20240622.a71e967" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos IMAGE_ID="" IMAGE_VERSION="" LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.11 (Vicuna)" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.11 (Vicuna)" VERSION_CODENAME=vicuna VERSION_ID="24.11" plugins: ======Config-Start====== Config File: /home/mikilio/.config/hypr/hyprland.conf: Read Succeeded exec-once = /nix/store/y29cbwfiwb9nyi4db4apk9dgylzdjm1v-dbus-1.14.10/bin/dbus-update-activation-environment --systemd --all && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target $mod=SUPER animations { bezier=myBezier, 0.05, 0.9, 0.1, 1.05 animation=windows, 1, 5, myBezier animation=windowsOut, 1, 7, default, popin 80% animation=border, 1, 10, default animation=fade, 1, 7, default animation=workspaces, 1, 6, default animation=specialWorkspace, 1, 6, default, slidefadevert 20% enabled=true } binds { allow_workspace_cycles=true } decoration { blur { brightness=0.800000 contrast=0.900000 enabled=true new_optimizations=on noise=0.010000 passes=2 popups=true size=6 } col.shadow=rgba(1e1e2e99) dim_inactive=false drop_shadow=yes shadow_range=8 shadow_render_power=2 } device { name=at-translated-set-2-keyboard kb_layout=us,eu kb_options=grp:alt_caps_toggle kb_variant=,eurkey-cmk-dh-iso resolve_binds_by_sym=1 } device { name=semico---usb-gaming-keyboard- kb_layout=us,eu kb_options=grp:alt_caps_toggle kb_variant=,eurkey-cmk-dh-ansi resolve_binds_by_sym=1 } device { name=mosart-semi.-2.4g-wireless-keyboard kb_layout=de kb_options=grp:alt_caps_toggle resolve_binds_by_sym=1 } dwindle { no_gaps_when_only=1 preserve_split=true pseudotile=true } general { col.active_border=rgb(89b4fa) col.inactive_border=rgb(45475a) } group { groupbar { col.active=rgb(89b4fa) col.inactive=rgb(45475a) text_color=rgb(cdd6f4) } col.border_active=rgb(89b4fa) col.border_inactive=rgb(45475a) col.border_locked_active=rgb(94e2d5) } input { accel_profile=flat float_switch_override_focus=2 } misc { background_color=rgb(1e1e2e) disable_autoreload=true vrr=1 } xwayland { force_zero_scaling=true } bind=SUPER, s, exec, /nix/store/anjymykfcbv9ckgjg7l5bb9vhz4m9s8l-hyprscratch-0.4/bin/hyprscratch "Spotify Premium" "[float;size 70% 80%;center] spotify" onstart special bind=SUPER, t, exec, /nix/store/anjymykfcbv9ckgjg7l5bb9vhz4m9s8l-hyprscratch-0.4/bin/hyprscratch Telegram "[float;size 70% 80%;center] telegram-desktop" onstart special bind=SUPER, m, exec, /nix/store/anjymykfcbv9ckgjg7l5bb9vhz4m9s8l-hyprscratch-0.4/bin/hyprscratch "Teams for Linux" "[float;size 70% 80%;center] teams-for-linux" onstart special bind=SUPER, d, exec, /nix/store/anjymykfcbv9ckgjg7l5bb9vhz4m9s8l-hyprscratch-0.4/bin/hyprscratch Discord "[float;size 70% 80%;center] vesktop" special bind=SUPER, e, exec, /nix/store/anjymykfcbv9ckgjg7l5bb9vhz4m9s8l-hyprscratch-0.4/bin/hyprscratch Element "[float;size 70% 80%;center] element-desktop" special bind=SUPER, o, togglespecialworkspace, OBS bind=CTRL ALT, R, exec, systemctl --user restart kaizen.service bind=ALT, Tab, focuscurrentorlast bind=CTRL ALT, Delete, exit bind=SUPER, Q, killactive bind=SUPER, F, togglefloating bind=SUPER, Z, fullscreen bind=SUPER, M, fakefullscreen bind=SUPER, R, layoutmsg, togglesplit bind=SUPER, up, movefocus, u bind=SUPER, down, movefocus, d bind=SUPER, right, movefocus, r bind=SUPER, left, movefocus, l bind=SUPER, bracketleft, workspace, r-1 bind=SUPER, bracketright, workspace, r+1 bind=, code:195, workspace, r+1 bind=, code:194, changegroupactive, f bind=, code:193, togglegroup bind=, code:192, changegroupactive, b bind=, code:191, workspace, r-1 bind=SUPER SHIFT, bracketleft, movetoworkspace, r-1 bind=SUPER SHIFT, bracketright, movetoworkspace, r+1 bind=SUPER CTRL, up, resizeactive, 0 -20 bind=SUPER CTRL, down, resizeactive, 0 20 bind=SUPER CTRL, right, resizeactive, 20 0 bind=SUPER CTRL, left, resizeactive, -20 0 bind=SUPER ALT, up, moveactive, 0 -20 bind=SUPER ALT, down, moveactive, 0 20 bind=SUPER ALT, right, moveactive, 20 0 bind=SUPER ALT, left, moveactive, -20 0 bind=SUPER, 1, workspace, 1 bind=SUPER, 2, workspace, 2 bind=SUPER, 3, workspace, 3 bind=SUPER, 4, workspace, 4 bind=SUPER, 5, workspace, 5 bind=SUPER, 6, workspace, 6 bind=SUPER, 7, workspace, 7 bind=SUPER, 8, workspace, 8 bind=SUPER, 9, workspace, 9 bind=SUPER SHIFT, 1, movetoworkspace, 1 bind=SUPER SHIFT, 2, movetoworkspace, 2 bind=SUPER SHIFT, 3, movetoworkspace, 3 bind=SUPER SHIFT, 4, movetoworkspace, 4 bind=SUPER SHIFT, 5, movetoworkspace, 5 bind=SUPER SHIFT, 6, movetoworkspace, 6 bind=SUPER SHIFT, 7, movetoworkspace, 7 bind=SUPER SHIFT, 8, movetoworkspace, 8 bind=SUPER SHIFT, 9, movetoworkspace, 9 bindl=,XF86AudioPlay, exec, /nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl play-pause bindl=,XF86AudioStop, exec, /nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl pause bindl=,XF86AudioPause, exec, /nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl pause bindl=,XF86AudioPrev, exec, /nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl previous bindl=,XF86AudioNext, exec, /nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl next bindl=,XF86AudioMicMute, exec, /nix/store/ia9aqrh0w4vlgkjpzqrrgamscna7kzgx-pulseaudio-17.0/bin/pactl set-source-mute @DEFAULT_SOURCE@ toggle bindl=,switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preffered, auto, 1" bindl=,switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable" bindle=,XF86MonBrightnessUp, exec, /nix/store/2jzm4kd83c27ssk78bc7c38hxm25swid-brightnessctl-0.5.1/bin/brightnessctl set +5% bindle=,XF86MonBrightnessDown, exec, /nix/store/2jzm4kd83c27ssk78bc7c38hxm25swid-brightnessctl-0.5.1/bin/brightnessctl set 5%- bindle=,XF86AudioRaiseVolume, exec, /nix/store/ia9aqrh0w4vlgkjpzqrrgamscna7kzgx-pulseaudio-17.0/bin/pactl set-sink-volume @DEFAULT_SINK@ +5% bindle=,XF86AudioLowerVolume, exec, /nix/store/ia9aqrh0w4vlgkjpzqrrgamscna7kzgx-pulseaudio-17.0/bin/pactl set-sink-volume @DEFAULT_SINK@ -5% bindm=SUPER, mouse:273, resizewindow bindm=SUPER, mouse:272, movewindow bindr=$mod, SPACE, exec, pkill anyrun || run-as-service anyrun exec-once=/nix/store/anjymykfcbv9ckgjg7l5bb9vhz4m9s8l-hyprscratch-0.4/bin/hyprscratch clean monitor=desc:Chimei Innolux Corporation 0x1435,preferred,auto-down,1.2 monitor=,preferred,auto-up,auto windowrule=float, ^(org.gnome.Calculator)$ windowrule=float, ^(org.gnome.Nautilus)$ windowrule=float, ^(pavucontrol)$ windowrule=float, ^(nm-connection-editor)$ windowrule=float, ^(blueberry.py)$ windowrule=float, ^(org.gnome.Settings)$ windowrule=float, ^(org.gnome.design.Palette)$ windowrule=float, ^(Color Picker)$ windowrule=float, ^(xdg-desktop-portal)$ windowrule=float, ^(xdg-desktop-portal-gnome)$ windowrule=float, ^(transmission-gtk)$ windowrule=float, ^(com.github.Aylur.ags)$ windowrulev2=float,initialTitle:^(Spotify Premium)$ windowrulev2=float,initialTitle:^(Telegram)$ windowrulev2=float,initialTitle:^(Discord)$ windowrulev2=float,initialTitle:^(Element)$ windowrulev2=float,initialTitle:^(OBS)$ windowrulev2=float,initialTitle:^(Teams for Linux)$ windowrulev2=size 70% 80%,initialTitle:^(Spotify Premium)$ windowrulev2=size 70% 80%,initialTitle:^(Telegram)$ windowrulev2=size 70% 80%,initialTitle:^(Discord)$ windowrulev2=size 70% 80%,initialTitle:^(Element)$ windowrulev2=size 70% 80%,initialTitle:^(OBS)$ windowrulev2=size 70% 80%,initialTitle:^(Teams for Linux)$ windowrulev2=center,initialTitle:^(Spotify Premium)$ windowrulev2=center,initialTitle:^(Telegram)$ windowrulev2=center,initialTitle:^(Discord)$ windowrulev2=center,initialTitle:^(Element)$ windowrulev2=center,initialTitle:^(OBS)$ windowrulev2=center,initialTitle:^(Teams for Linux)$ windowrulev2=workspace special:Discord silent ,initialTitle:^(Discord)$ windowrulev2=workspace special:OBS silent ,initialTitle:^OBS.*?$ windowrulev2=workspace special:OBS silent ,initialTitle:^Mumble.*?$ windowrulev2=float,class:^(org.wezfurlong.wezterm)$ windowrulev2=tile,class:^(org.wezfurlong.wezterm)$ windowrulev2=noshadow, floating:0 windowrulev2=opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ windowrulev2=noanim,class:^(xwaylandvideobridge)$ windowrulev2=nofocus,class:^(xwaylandvideobridge)$ windowrulev2=noinitialfocus,class:^(xwaylandvideobridge)$ windowrulev2=rounding 0, xwayland:1, floating:1 windowrulev2=keepaspectratio,class:^(firefox)$,title:^(Picture-in-Picture)$ windowrulev2=noborder,class:^(firefox)$,title:^(Picture-in-Picture)$ windowrulev2=fakefullscreen,class:^(firefox)$,title:^(Firefox)$ windowrulev2=fakefullscreen,class:^(firefox)$,title:^(Picture-in-Picture)$ windowrulev2=pin,class:^(firefox)$,title:^(Firefox)$ windowrulev2=pin,class:^(firefox)$,title:^(Picture-in-Picture)$ windowrulev2=float,class:^(firefox)$,title:^(Firefox)$ windowrulev2=float,class:^(firefox)$,title:^(Picture-in-Picture)$ windowrulev2=float,class:thunderbird,title:^(?!Mozilla*) ======Config-End======== ```

Description

This bug was noticed by installing following extension to Thunderbird. This plugin opens a browser window in a popup to login, which unexpectedly closes immediately. This issue does not happen in e.g. KDE and seems to be related to setting some kind of window state.

I filed an issue there, and you can read on the debugging process if needed.

To make it easier for you, I summarized the findings:

How to reproduce

Crash reports, logs, images, videos

https://github.com/user-attachments/assets/6d3f2a87-8015-48ce-9d1c-ab8dfb7d36f4

ehula commented 2 weeks ago

I posted this issue on the github for the ThunderAI extension: https://github.com/micz/ThunderAI/issues/137

The author implemented a workaround for the issue of the newly opened window closing immediately. I think there might still be an underlying issue.

Now there is a new issue with this extension. The popup menus it draws are being rendered without any contents. I have no other extensions running in Thunderbird.