Unexpected Tray Behavior in Ax-Shell
I keep fcitx5 running at all times. Under Waybar, switching input languages automatically updates the tray icon to show the current layout; Ax-Shell’s default setup doesn’t do this.
Likewise, when I minimize apps like Spotify to the system tray, right-clicking their icons does nothing, so I have to launch them from the terminal each time.
Is there a configuration or extension that can restore dynamic input-method icon updates and full tray-icon interaction, similar to Waybar?
Using Hyprland, Arch
I also experience this behavior, I'm not sure the right-click menu is even implemented for the tray right now?
This isn't Ax-Shell, but a Gray issue. I've been trying to find a way to fix it for a really long time. Also, right-click works just fine. What do you mean?
When attempting to right click an app with a tray it just simply does nothing. I'd give you logs, but there are none when trying to right-click. Perhaps maybe gray is not installed properly? I'm not using arch, so it's certainly possible, I manually compiled gray.
When attempting to right click an app with a tray it just simply does nothing. I'd give you logs, but there are none when trying to right-click. Perhaps maybe gray is not installed properly? I'm not using arch, so it's certainly possible, I manually compiled gray.
What does work is left clicking, which in vesktop case just opens up the application.
That's weird. It works in every device I have, and in VMs. Could you try creating a tmux session and right-clicking the item in the widget? SUPER + T, name it whatever you want or just hit Enter, SUPER + T again and right-click the item. It should open a right-click menu.
ah-hah, interestingly, right clicking selects the search box at the top, not the session, left clicking works as expected. Because this is just gtk components i have a feeling its something to do with the gtk version maybe? I don't think any of your code would be the issue really.
https://github.com/user-attachments/assets/0ed91c4c-21bf-4e60-8397-fb573ace0a9f
Alright, can confirm your events/gtks events are working. What I can't confirm is whether or not Gray or whatever underlying tray manager is actually working. I'm not exactly sure if it's even possible to get logs from that.
~Wait lol, what? Automatically updates?~
Never mind this is just the browser name 😂
Ah hah, I may have figured out the issue! OP, what is your monitor settings?
I have two monitors, one is an ultrawide, the other is 4k. Here is the relevant output of my hyprland.conf
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=DP-2, 3840x2160@60, 0x0, 1.5
monitor=DP-1, 3440x1440@144, 0x1440, 1
It appears only my second monitor works (4k), not my first. (ultrawide) Commenting out either monitor resolves the issue, and I can access tray icons.
Ah... I only have one monitor, that's starting to be a problem with this project lol Well then, I'll talk with the Fabric dev to see if he can do anything to avoid having to comment anything. :)
Happy to help where I can, I don't code in python typically, but I can do my best to try and PR issues as they arise..
Okay, more weirdness. It's only an issue when the monitors are stacked vertically? For whatever reason it seems Gray really doesn't like that. Treating as if they are side by side in hyprland.conf works fine, I can see the tray menu and everything. This behavior is really strange, I'll attempt to investigate further if I can.
I just tried and failed to get anything working. Well I could get it working by completely removing the menu widgets ability to align with the tray icon.. But yeah, thats not a fix.
Can confirm i have 2 monitors as well, running the shell on my 2nd monitor made right clicking work, but main still nothing
also for the fcitx5 updating issue, i can see that it updates correctly if i win + alt + b to refresh the shell then it displays the correct language but frozen until i force reload it again if that is to any help
Can confirm i have 2 monitors as well, running the shell on my 2nd monitor made right clicking work, but main still nothing
Are they stacked vertically? In your hyprland config? (One on top of the other)
Can confirm i have 2 monitors as well, running the shell on my 2nd monitor made right clicking work, but main still nothing
Are they stacked vertically? In your hyprland config? (One on top of the other)
no, one is standing vertically on the left, the the main one on the right is like normal
Can confirm i have 2 monitors as well, running the shell on my 2nd monitor made right clicking work, but main still nothing
Are they stacked vertically? In your hyprland config? (One on top of the other)
no, one is standing vertically on the left, the the main one on the right is like normal
Can you show me your hyprland config for your monitors?
Can confirm i have 2 monitors as well, running the shell on my 2nd monitor made right clicking work, but main still nothing
Are they stacked vertically? In your hyprland config? (One on top of the other)
no, one is standing vertically on the left, the the main one on the right is like normal
Can you show me your hyprland config for your monitors?
# Generated by nwg-displays
monitor=DP-1,[email protected],1200x0,1.0,bitdepth,10,vrr,1
monitor=DP-2,[email protected],0x0,1.0,bitdepth,10
monitor=DP-2,transform,1