Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group drawer cause waybar to freeze on one out of two machines #2845

Closed
TR4SPY opened this issue Jan 19, 2024 · 1 comment
Closed

Group drawer cause waybar to freeze on one out of two machines #2845

TR4SPY opened this issue Jan 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@TR4SPY
Copy link

TR4SPY commented Jan 19, 2024

Issue:

The group drawer display correctly, yet once hover over the drawer children elements (apart from parent) the waybar freezes completely. Happens on one device, does not on the other.

Extra info:

  • Testing on two machines - 1. PC on nvidia, (works) 2. Laptop with Hybrid AMD/Nvidia (doesn't work). Both on Manjaro 6.6.1, latest hyprland
  • Both machines have the same config files
  • None of the elements in waybar/config have on-hover behavior.

What was tried:

  • Command waybar -l debug gives no errors or warnings.
  • Two builds: latest master git waybar and waybar-cava v0.9.24-1 built from AUR via yay.
  • Different configs as well as example from wiki, (always testing the same conf. on both machines at the same time)

Example config of group/drawer:

"group/tools": {
        "orientation": "inherit",
        "drawer": {
        "transition-duration": 500,
        "children-class": "not-tools",
        "transition-left-to-right": false,
    },
        "modules": [
        "custom/tools",
        "idle_inhibitor",
        "custom/updates",
        "custom/wallpaper",
        ]
    },
 "custom/tools":{
        "format":" ",
    },
 "idle_inhibitor": {
        "format": "{icon}",
        "format-icons": {
            "activated": "",
            "deactivated": "",
        },
       "exec-if": "$HOME/.config/waybar/scripts/inhibator_on.sh",
       "on-click": "$HOME/.config/waybar/scripts/inhibator_on.sh"
    },
 "custom/updates": {
       "format": "{icon}{}",
       "return-type": "json",
       "format-icons": {
           "has-updates": "󰮯 ",
           "updated": ""
       },
       "exec-if": "which waybar-module-pacman-updates",
       "exec": "waybar-module-pacman-updates",
       "on-click" : "kitty -e yay -Syu && flatpak update && pkill -SIGRTMIN+8 waybar",
       //"on-click" : "kitty -e sudo pacman -Syu && pkill -SIGRTMIN+8 waybar",
       "on-click-right" : "~/.config/waybar/scripts/updates.sh"
   }, 
 "custom/wallpaper":{
        "format":" ",
        "on-click": "bash $HOME/.config/hypr/scripts/wallpaper.sh 2> /dev/null"
    },

...
@Alexays Alexays added the bug Something isn't working label Jan 30, 2024
@TR4SPY
Copy link
Author

TR4SPY commented Jul 2, 2024

Today I have rebuild my OS and found out I was running on hyprland-nvidia (which is now outdated) instead of hyprland. Transitioning to hyprland package has solved the issue permanently. Ticket can be closed.

@TR4SPY TR4SPY closed this as completed Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants