end-4 / dots-hyprland

i hate minimalism so...
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.71k stars 255 forks source link

[Issue] Right-clicking the system tray will trigger music switching #329

Closed gitttyyy closed 5 months ago

gitttyyy commented 5 months ago
Click to expand The music switching trigger range is a bit too wide, so that right-clicking the system tray will trigger music switching.
end-4 commented 5 months ago

Right-clicking there triggering both is a GTK/AGS problem You can left-click for the tray item, though. I could disable right-click for them

TwelveNight commented 5 months ago

Then this is indeed a problem, because the tray behavior of some applications cannot be completed only through the menu. For example, some application`s GUI can be brought up by left-clicking. There is no option to start the GUI in the right-clicking tray. For this reason, I changed the left-clicking function to active it GUI or other specific function.Fortunately, there are not many apps like this

gitttyyy commented 5 months ago

The same reason,hope the ags will improve it. I'll close this issue

end-4 commented 5 months ago

Then this is indeed a problem, because the tray behavior of some applications cannot be completed only through the menu. For example, some application`s GUI can be brought up by left-clicking. There is no option to start the GUI in the right-clicking tray. For this reason, I changed the left-clicking function to active it GUI or other specific function.Fortunately, there are not many apps like this

hmm i see

end-4 commented 5 months ago

@TwelveNight fixed, can you verify?

TwelveNight commented 5 months ago

@TwelveNight fixed, can you verify?

It works well🐮

clsty commented 5 months ago

I can confirm that now this problem appears again when I right-click on the bash-polling custom widget.

end-4 commented 5 months ago

I don't like where this is going. I want a large click area. I could un-allow right click and middle click actions for custom widgets and there won't be this problem, but I don't wanna be Apple

clsty commented 5 months ago

I don't like where this is going. I want a large click area. I could un-allow right click and middle click actions for custom widgets and there won't be this problem, but I don't wanna be Apple

I think a button should be clickable as large as it shows, that's normal, right? If a button could be activated by clicking away from it, that's not very normal, I guess.

Since we have a user_options.js now, maybe we could give user an option to choose this?

end-4 commented 5 months ago

on second thought the music pill would expand when media is available so fine i guess