← Back to team overview

dx-packages team mailing list archive

[Bug 1910521] Re: libappindicator breaks left-mouse actions for most applications

 

> doesn't happen on xubuntu with the indicator

But it does happen on Ubuntu.

> The priority is low for Ubuntu since there is no report of such
problems on Ubuntu

Here comes that report. To reproduce:
1. Download the latest Ubuntu (21.04, live stick is enough).
2. Download and open Joplin (https://github.com/laurent22/joplin/releases/download/v1.7.11/Joplin-1.7.11.AppImage), which is an app that uses Electron and therefore libappindicator.
3. In the Options under Application enable "Show tray icon", which should show up at the top right of the screen.
4. Left-click on the icon. Observe how the context menu opens, just like with a right click, even though the application should open the main window instead (https://github.com/laurent22/joplin/blob/80b16dd17e227e3f538aa221d7b6cc2d81688e72/packages/app-desktop/ElectronAppWrapper.ts#L297-L299), and indeed it does so under Windows for example.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to libappindicator in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1910521

Title:
  libappindicator breaks left-mouse actions for most applications

Status in libappindicator package in Ubuntu:
  Confirmed

Bug description:
  Hello,

  because GTK will drop tray icon support in version 4, many projects
  switch to libappindicator instead. Some are network-manager-applet,
  blueman-tray and electron (affecting all electron apps). The latter 2
  automatically use libappindicator if it's available in the system.

  For most applications, with libappindicator the tray icon behavior is
  broken (at least on archlinux with xfce4 and libappindicator-gtk3):

  * left mouse button triggers the context menu rather than the left-mouse-button action
  * the context menu is located beneath the mouse button, so when the mouse is released, the action is performed (in most cases "exit application").

  Since the web is full of issue reports about this, I'm, pretty sure
  it's an issue in libappindicator itself than in every single
  application that uses it.

  IMO this is a critical issue, especially for a library that provides
  tray support to applications.

  Kind regards,
  Michael.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libappindicator/+bug/1910521/+subscriptions


References