Repository navigation
same behavior for left and right click on icon tray #1115
Replies: 8 comments 11 replies
|
Not sure about Windows and Linux, but on macOS this is not the default behavior: left-clicking opens the contextual menu in most apps, at least in all the ones I'm currently using. I'd like to hear your thoughts, @adem4ik @ngosang @danim7, before changing aMule's systray behavior. |
|
Old KDE user here (also ex-Windows XP–10). As I see it, left-click behaviour varies across apps: some show the main window, others open a menu. I have never touched macOS though. I think it would be better to follow the logic of popular similar apps like qBittorrent, Free Download Manager, Transmission, etc. On KDE and Windows, they work exactly as described in the first post. @got3nks, could you check how they behave on macOS? As for now my suggestion:
|
|
Lol, on my Ubuntu 24.04, both buttons open the context menu for the other
few applications I tested. No strong opinion on this, whatever the
community decides is good for me :)
|
|
I guess we can go for a split. MacOS: left-click and right-click both open the contextual menu, this seems to be the standard. |
|
Dug into this and the picture is more awkward than it looked. aMule has two tray backends. libayatana-appindicator has no left-click API. Checked against 0.5.94: the complete signal list is That explains @adem4ik's observation better than "GTK convention" does: those apps behave that way because they use appindicator, and aMule 2.3 differed because it predates the SNI backend. Current state per platform:
The catch is that the legacy backend is the one we moved away from in b90a593, because In short, on Linux we can currently have a tray icon that is visible on modern desktops, or one that responds to left-click, but not both. Options:
|
|
@adem4ik good find, that changes the answer. I checked the commit and it is real and released: it is an ancestor of 0.6.0, tagged 2026-06-10. My check was against 0.5.94, which predates it, so "no left-click API" was true of the version I looked at and is no longer true upstream. The new API is an So option 3 is off the table, which is good news. What is left is getting 0.6.0 in front of users, and for our own bundles that is on us:
@DoctorSubtilis so this is fixable for the AppImage, not just in theory: it needs the aMule-side signal handler plus building 0.6.0 into the AppImage. |
|
@DoctorSubtilis @adem4ik this is in master now (#1200) and there is an AppImage to try. Build artifacts from the packaging run: https://github.com/amule-org/amule/actions/runs/33188814719 Take What to check:
This AppImage bundles libayatana-appindicator 0.6.0, so it does not matter what your distro ships. I confirmed the bundled library is the new one rather than trusting the build: it contains the Worth saying plainly: nobody has actually clicked this yet. The code path is verified and the library is confirmed bundled, but 0.6.0 is too new for any distro to package, so this is the first real test. If left-click still opens the menu, the interesting detail is whether your desktop sends Distro-packaged builds will pick this up when their libayatana-appindicator reaches 0.6.0. Ubuntu 24.04 LTS is still on 0.5.93. |
|
Hello everybody. Any news about a new release of a Linux Amule with the above changes? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have KDE Neon (last release) and I’m using amule 3.01 from appimage. It works, but the icon tray has a behavior not wholly working.
I mean, left mouse click, that in other apps (included amule 2.3) shows the (main app’s) window, in this release has the same behavior as right mouse click, that is it show not the window, but a pop-up.
Of course in that pop-up there is also "show aMule", but why left and right mouse click should have the same result?
I guess that is a problem of a new release, so I will be patient, but maybe it could be useful to notify this small problem.
Thank you very much!
All reactions