Skip to content

Tray icon not functional #445

@Sobak

Description

@Sobak

Is there an existing issue for this?

  • I have searched the existing issues.

What happened?

System: Ubuntu 24.04 LTS (Gnome, X11)

Comparing to the version e86507f which I tested in November, I'm seeing a substantial regression in functionality of the tray icon. Not only left-/right-clicking the icon doesn't do anything, the icon also doesn't go away after closing an application. I need to manually kill the process to get rid of it.

/EDIT: If i run snapx from commandline and kill it with ctrl+c, the icon goes away as expected. However, closing an app with close button on a window doesn't kill the process. I assume this is planned and that the tray icon should display a menu that, among other things, allows me to close SnapX completely.

What did you expect?

If I recall correctly, behavior of ShareX on Windows was opening the app's window on left click and opening a menu on right click. That sounds like the best of both worlds to me.

Version

0.4.0 Dev

Relevant log output

[07:16:26 INF] SnapX has started polling for window changes and display changes. This is because Avalonia on Linux/FreeBSD does not support the NeedsUpdate event for the tray menu.
[07:16:26 INF] MainWindow Opened
[07:16:26 INF] MainWindow startup time: 2383 ms

Logs do not have PII

  • There is no personally identifiable information in my logs.

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    AvaloniaRelated to SnapX.AvaloniaenhancementNew feature or requesturgentSomething that should be dealt with ASAPwaiting-on-opWaiting for original poster to respond

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions