dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] ML4W 2.13. Cannot click on workspaces

Open aijuice1 opened this issue 6 months ago • 13 comments

Describe the bug

Cannot click on workspaces up top on waybar to move spaces from one to the other. ie. I click on 2 and it does not switch over. I still can do it from keybinds but not from my mouse.

Steps to reproduce

Update, reboot, and try to click on workspaces to switch on waybar.

Expected behavior

switch from 1 to 2 or any other.

Screenshots

No response

Distribution

Arch Linux

If Other, specify

No response

Additional context

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

aijuice1 avatar May 21 '26 21:05 aijuice1

Describe the bug

Cannot click on workspaces up top on waybar to move spaces from one to the other. ie. I click on 2 and it does not switch over. I still can do it from keybinds but not from my mouse.

If 2.1.3 is using the LUA based config, then that's a known issue with waybar. If you are using arch I believe waybar-git has a patch.

For reference the issue is tracked here https://github.com/Alexays/waybar/issues/5035

dwilliam62 avatar May 22 '26 00:05 dwilliam62

Well I tried the waybar-git but it fails to compile.

dwilliam62 avatar May 22 '26 01:05 dwilliam62

I can confirm that this is acwaybar issue. I hope that an update will be released soon. Any idea for a efficient workaround?

mylinuxforwork avatar May 22 '26 05:05 mylinuxforwork

I can confirm that this is acwaybar issue. I hope that an update will be released soon. Any idea for a efficient workaround?

Some said changing waybar to ext/workspaces But for me that didn't work.

dwilliam62 avatar May 22 '26 05:05 dwilliam62

for me I'm using the keyboard shortcuts to navigate workspaces. These are still working...

JohRest avatar May 22 '26 13:05 JohRest

for me I'm using the keyboard shortcuts to navigate workspaces. These are still working...

correct. That's because the bug is the hard wired command waybar uses to move to the other workspace With LUA config that old command no longer works. The shortcuts in 2.13 have been updated to support the new syntax

dwilliam62 avatar May 22 '26 14:05 dwilliam62

FYI: On CachyOS, the AUR has waybar-git v15.x... For me that restored the waybar issue with workspaces when you click on them.

Note: Is yay -Ss waybar-git it shows as 13.x but it's 15.x-rc....

Note: On ML4W-OS installed Arch I can't get aur/waybar-git to build It closes the terminal. On CachyOS it works fine. ??

dwilliam62 avatar May 22 '26 17:05 dwilliam62

That's great. Thanks for testing.

mylinuxforwork avatar May 22 '26 19:05 mylinuxforwork

That's great. Thanks for testing.

You're welcome. Also on my NixOS project I used the waybar flake vs. NixPkgs w/LUA config and workspaces work fine there too.

dwilliam62 avatar May 22 '26 22:05 dwilliam62

FYI: On CachyOS, the AUR has waybar-git v15.x... For me that restored the waybar issue with workspaces when you click on them.

Note: Is yay -Ss waybar-git it shows as 13.x but it's 15.x-rc....

Note: On ML4W-OS installed Arch I can't get aur/waybar-git to build It closes the terminal. On CachyOS it works fine. ??

Can confirm waybar-git works fine on CachyOS

CtrlAltDel-Irl avatar May 23 '26 13:05 CtrlAltDel-Irl

Installing waybar-git using yay -S waybar-git and removing waybar fixed my issue

Confirming waybar-git works on Omarchy

Thanks for the fix

jesse-var avatar May 24 '26 15:05 jesse-var

Thank you, waybar-git worked for me.

aijuice1 avatar May 25 '26 02:05 aijuice1

Confirmed.

I was experiencing the exact same issue on Arch Linux using the latest ML4W setup with Hyprland Lua/HyprMod.

Environment:

Hyprland 0.55.4 Waybar 0.15.0-2 ML4W (Lua configuration)

Symptoms:

Workspace switching via keyboard shortcuts worked correctly. Workspace switching via mouse wheel on the Waybar workspace module worked correctly. Clicking on workspace numbers in Waybar did nothing.

I verified that:

on-click: "activate" was present in ~/.config/waybar/modules.json Different Waybar themes produced the same behavior. The issue was not related to the ML4W configuration.

Solution: Replacing the stable package with waybar-git fixed the problem immediately.

Current working version:

waybar --version Waybar v0.15.0-173-g05945748 (branch 'master')

pacman -Q waybar-git waybar-git 0.15.0.r173.g0594574-1

After upgrading to waybar-git, clicking on workspaces works normally again.

Thanks to the developers and maintainers for the fix.

davidaravena-gif avatar Jun 21 '26 17:06 davidaravena-gif