mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 09:15:22 +01:00
[GH-ISSUE #1242] FR: Optional pre-GTK4 port behavior on clicking tray icons #4596
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#4596
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @postsolar on GitHub (Nov 20, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1242
Is your feature request related to a problem? Please describe.
I really liked clicking on tray icons with LMB to open menus, as I use a touchpad so it's always physically easier to tap with one finger (= left click) than with two (= right click), especially when my left hand's fingers are on the keyboard but the thumb reaches the touchpad. Current single-click behavior is not that useful for me.
Describe the solution you'd like
Configurable behavior of tray module for LMB/RMB (or single vs double click).
Describe alternatives you've considered
Additional context
@JakeStanger commented on GitHub (Nov 20, 2025):
I think an option to swap the buttons around is easy enough. The question is whether it's presented in the config as a "swap" option, or whether on_click_left, on _click_right and on_click_middle are used with some enum variant of valid actions.
I guess in the case of the latter that would allow it to fall back to running arbitrary commands as with the module-level options of the same name.
@postsolar commented on GitHub (Nov 21, 2025):
@JakeStanger would you also be interested in
on_click_left_doublealongside other enum variants?@postsolar commented on GitHub (Nov 21, 2025):
I imagine this wont be useful without also passing tray item's meta info (the name at least):