gnome-shell-extension-appindicator icon indicating copy to clipboard operation
gnome-shell-extension-appindicator copied to clipboard

Left click behaves like right click

Open vovagorodok opened this issue 7 months ago • 8 comments

Left click on tray icon open context menu like right click instead of launching app. It is intentional behavior?

  • OS Name: Fedora Linux 41 (Workstation Edition)
  • OS Type: 64-bit
  • GNOME Version: 47
  • Windowing System: Wayland
  • Kernel Version: Linux 6.13.11-200.fc41.x86_64

vovagorodok avatar Apr 22 '25 07:04 vovagorodok

I'm not exactly sure what the "intended" behavior is, but from my experience in the past couple of months, the app launches only on double-click, not on a single left-click.

philg-dev avatar Apr 22 '25 10:04 philg-dev

Usually Single Click open app in tray on KDE Plasma or other DE or Windows. Additionally can't Double Click of my Touch screen. Maybe some option to change it?

vovagorodok avatar Apr 22 '25 15:04 vovagorodok

Not sure if related, but in my case (ubuntu 24.04), left click actually behaves identical, but way slower, than right click.

While right click brings the context menu (panel) instantly, left click has a noticable ~ 50-150ms rather anoying lag before the panel appears. This lag doesn't happen on other gnome shell clickable parts of top panel.

I believe the lag (which I hate with passion) is in fact due to the fact that they want to support following

  • left single click => context menu (with lag, as there needs to be some time to support left double click)
  • left double click => focus on window (even if it's different workspace) - no lag
  • right single click => context menu (no lag)
  • single middle click => focus on window (no lag)

I wonder if this can be reconfigured somehow. I personally only use tray icons to access their context menu, never to focus the window.

brdloush avatar Apr 22 '25 20:04 brdloush

This is by design.

The AppIndicators do not support raising an application on click, they may support left-click actions, but those are supported via double-click instead, while clicking is consistent instead.

This has always been the behavior in unity and we follow the same in GNOME implementation.

Technically an option could be added to make left-click only do the activation, but only few applications support it.

3v1n0 avatar May 06 '25 19:05 3v1n0

Would be really nice if an option is added to open the application when left-click is used

xd003 avatar Aug 18 '25 08:08 xd003

Would be really nice if an option is added to open the application when left-click is used

It's just technically not possible, unless doing some magic that is not guarantee to work (find the PID of the app form DBus and try to raise it in some way). If an application does not support this feature, it's not possible to provide it.

3v1n0 avatar Aug 18 '25 10:08 3v1n0

Technically an option could be added to make left-click only do the activation, but only few applications support it.

Actually nearly all of the Linux native apps from China like "MoeKoe Music","QQ","WeChat","Feishu","Dingtalk","QQ Music","Bilibili-linux","Netease Youdao Note","WPS Office Linux 2023" even "Motrix" all supports left-click open the apps itself under KDE Plasma.It is exactly needed by Chinese user.Adding an option in the extension and let user to enable left-click to open the app function itself is a good choice🌹 e.g.The left click behavior could like KDE Plasma when opening app if it supports left-click show the app itself,else show the app menu if it doesn't support left-click open the app itself like Steam.

LFRon avatar Sep 23 '25 15:09 LFRon

If the change is small, PRs that enable this under a disabled by default setting are welcome, but otherwise it's not something we're keen to implement, sorry.

It's just a design that does not match with the rest of the desktop

3v1n0 avatar Sep 23 '25 18:09 3v1n0