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.88k stars 848 forks source link

Discord not alerting notifications until focused #7954

Closed SipSup3314 closed 5 hours ago

SipSup3314 commented 5 hours ago

Already reported ? *

Regression?

Yes

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259 (props: bump version to 0.42.0). Date: Wed Aug 7 19:17:10 2024 Tag: v0.42.0, commits: 5069 flags: (if any) System Information: System name: Linux Node name: oliman-arch Release: 6.10.10-zen1-1-zen Version: #1 ZEN SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:17:51 +0000 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] [1002:747e] (rev c8) (prog-if 00 [VGA controller]) os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: ======Config-Start====== Config File: /home/oil/.config/hypr/hyprland.conf: Read Succeeded # Monitor monitor = ,highrr, auto, auto debug:disable_logs = false $wallpaperDir = "/mnt/moredrive/Wallpapers/asus-rog-genesis-animated-wallpaper-pc.mp4" # Startup Apps exec-once = swaync # exec-once = mpvpaper -o "--loop" '*' $wallpaperDir exec-once = hyprpaper exec-once = swaylock -C ~/.config/swaylock/config -i /home/oil/Pictures/wallpaper.jpeg #to lock on boot exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = udiskie exec-once = waybar exec-once = wl-paste --watch cliphist store #exec-once = wl-paste --type image --watch cliphist store #Stores only image data #exec-once = copyq --start-server exec-once = wl-clip-persist --clipboard both exec-once = /usr/bin/discord --start-minimized exec-once = blueman-applet exec-once = /usr/bin/steam-runtime -silent %U #exec-once = qbittorrent #exec-once = premid #exec-once = discover-overlay #exec-once = vesktop --start-minimized exec-once = nm-applet # Animations bezier = overshot, 0.05, 0.9, 0.1, 1.1 animation = windows, 1, 4, overshot, popin animation = workspaces, 1, 4, default, slide # Hypr Variables $terminal = alacritty $fileManager = nemo $menu = rofi -show drun $browser = firefox $suspendCmd = pidof swaylock || swaylock -C ~/.config/swaylock/config -i /home/oil/Pictures/wallpaper.jpeg &>/dev/null & disown; sleep 0.1; systemctl suspend # env Variables env = XCURSOR_SIZE, 24 env = QT_QPA_PLATFORMTHEME, qt5ct env = ELECTRON_OZONE_PLATFORM_HINT, wayland # Main Config general { border_size = 2 col.inactive_border = rgba(216633aa) col.active_border = rgba(42df66ff) } decoration { rounding = 5 } input { accel_profile = flat numlock_by_default = true } misc { vrr = true } # Binds $mainMod = SUPER bind = ,Print, exec, grim -g "$(slurp)" bind = $mainMod, Print, exec, grim bind = $mainMod, Q, exec, $terminal bind = $mainMod, C, killactive bind = $mainMod, M, exit bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating bind = $mainMod, R, exec, $menu bind = $mainMod, J, togglesplit bind = $mainMod, W, exec, $browser bind = $mainMod, P, exec, $suspendCmd bind = $mainMod, L, exec, swaylock -C ~/.config/swaylock/config -i /home/oil/Pictures/wallpaper.jpeg bind = $mainMod, F, fullscreen bind = $mainMod, K, exec, wlogout #bind = $mainMod, D, pin window activewindow binde = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+ binde = ,XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%- binde = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bindl = ,XF86AudioPlay, exec, playerctl play-pause bindl = ,XF86AudioNext, exec, playerctl next bindl = ,XF86AudioPrev, exec, playerctl previous bindl = ,XF86AudioStop, exec, playerctl stop bindl = $mainMod, A, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle # bind = ,XF86PowerOff, exec, $suspendCmd bind = $mainMod, T, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d 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 bind = $mainMod, code:49, workspace, r-1 bind = $mainMod, code:23, workspace, r+1 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 bind = $mainMod CTRL, 1, movetoworkspacesilent, 1 bind = $mainMod CTRL, 2, movetoworkspacesilent, 2 bind = $mainMod CTRL, 3, movetoworkspacesilent, 3 bind = $mainMod CTRL, 4, movetoworkspacesilent, 4 bind = $mainMod CTRL, 5, movetoworkspacesilent, 5 bind = $mainMod CTRL, 6, movetoworkspacesilent, 6 bind = $mainMod CTRL, 7, movetoworkspacesilent, 7 bind = $mainMod CTRL, 8, movetoworkspacesilent, 8 bind = $mainMod CTRL, 9, movetoworkspacesilent, 9 bind = $mainMod CTRL, 10, movetoworkspacesilent, 10 bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Screen Sharing exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP ======Config-End======== ```

Description

Notifications from Discord are not showing up or even making a noise until the window is focused. I'm using swaync with the default Discord client with no mods.

How to reproduce

Unfocus Discord and just go about your business. You'll start getting mobile notifications instead of desktop ones.

Crash reports, logs, images, videos

No response

vaxerski commented 5 hours ago

not a hyprland issue. The official discord client is a notorious shitfest, and it might freeze when invisible. You can try the renderunfocused windowrule once you update from your out-of-date install