netblue30 / firejail

Linux namespaces and seccomp-bpf sandbox
https://firejail.wordpress.com
GNU General Public License v2.0
5.78k stars 565 forks source link

flameshot: left-clicking on tray icon is ignored #4924

Open jose1711 opened 2 years ago

jose1711 commented 2 years ago

Description

Clicking on the tray icon of flameshot should bring up a new dialog. This is however not happening if run via firejail.

Steps to Reproduce

  1. Run flameshot
  2. Icon will appear in system tray
  3. Click the icon
  4. Another icon appears in system tray
  5. If you click any of the icons (new/old) - nothing happens

Expected behavior

Flameshot dialog should appear.

Actual behavior

New icon/no further action.

Behavior without a profile

LC_ALL=C firejail --noprofile /usr/bin/flameshot shows the same problem. /usr/bin/flameshot - works

Additional context

This problem definitely is not a deal-breaker but rather a minor annoyance as the icon can still be right-clicked which brings a context menu of the app.

Environment

Checklist

rusty-snake commented 2 years ago

FTR this works fine if you use (K)StatusNotifierItem tray rather than the legacy XEmbed tray.

jose1711 commented 2 years ago

FTR this works fine if you use (K)StatusNotifierItem tray

That is correct, however if I use that then it works slightly differently. Instead of the dialog appearing instantly it opens a context menu