easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

Feature Request: Start minimized to system tray in Flatpak package

Open andresgarcia0313 opened this issue 1 year ago • 8 comments

EasyEffects Version

7.1.6

What package are you using?

Flatpak (Flathub)

Distribution

All

Describe the bug

Currently, the Flatpak package of EasyEffects does not offer the option to automatically start minimized to the system tray nor to minimize to the system tray when the window is minimized. This causes the application to occupy space in the taskbar, which can be inconvenient for users who prefer to keep their taskbar uncluttered.

Expected Behavior

The expected behavior is for EasyEffects to offer an option to:

  1. Start automatically minimized to the system tray on startup.
  2. Minimize to the system tray instead of the taskbar when the user chooses to minimize the application.

Debug Log

Debug Log
Paste your log here

Additional Information

This functionality will enhance the user experience, allowing for a cleaner and more organized workspace. Additionally, it will align EasyEffects with the expected behavior of many modern applications that support minimizing to the system tray.

Thank you for your attention and consideration in implementing this improvement, which will undoubtedly benefit many users. 😊🎉🚀

andresgarcia0313 avatar Jun 22 '24 19:06 andresgarcia0313

  1. Does the option Settings -> General -> Launch Service at System Startup not work?

  2. Easyeffects does not use a system tray icon, even though it can run in the background without an open window.

violetmage avatar Jun 22 '24 20:06 violetmage

Gtk4 does not support system tray by design. So untill the day we move away from gtk comes adding a tray icon won't be an option.

That being said it should be able to start with its window hidden.

wwmm avatar Jun 22 '24 21:06 wwmm

It's necessary to restart to activate and validate the service, and with this, it works without issues. However, it's annoying to have to hide the icon in the tray every time I restart the system using KDock. Who knows how kdock does it with gtk4.

andresgarcia0313 avatar Jun 24 '24 17:06 andresgarcia0313

Fedora 41 Gnome here. In my fedora 40 setup the app would immediately go to background. In Fedora 41 that does not happen. It opens the windows everytime at boot. It would be cool if there was a way to make it go to background again. :)

Skynet011 avatar Nov 04 '24 02:11 Skynet011

Fedora 41 Gnome here. In my fedora 40 setup the app would immediately go to background. In Fedora 41 that does not happen. It opens the windows everytime at boot. It would be cool if there was a way to make it go to background again. :)

We did not make any change related to this. It still goes to the background just fine on my computer while using a native package. The Flatpak package that for some reason I do not remember sometimes fails to do so. As far as I remember what should be done on our side was done.

@Skynet011 how did you enable the autostart on boot? Based on your report it is almost like an autostart file without the option --gapplication-service was made.

wwmm avatar Nov 04 '24 03:11 wwmm

You're right. Now that i added the --gapplication-service in the autostart it works just as before. I tried many ways but no luck. With flatpaks i'm still getting to know a bit more about how to configure them if i need to.

Skynet011 avatar Nov 04 '24 15:11 Skynet011

You're right. Now that i added the --gapplication-service in the autostart it works just as before. I tried many ways but no luck. With flatpaks i'm still getting to know a bit more about how to configure them if i need to.

A long time ago Flatpak users had to create a custom autostart file manually. But as far as I remember this should not be the case anymore. Flatpak runtime or libportal runtime should have shown a window where permission for the autostart was asked for.

wwmm avatar Nov 04 '24 23:11 wwmm

I didn't tried this but it looks promising: https://github.com/boomshop/easyeffectstray

(I'm aware this comment looks like Aliexpress products reviews 😆)

brunetton avatar Nov 06 '24 22:11 brunetton

The Qt branch has a tray icon and a menu that will be improved as time goes by. I am not sure about how well the interaction with Flatpak will be but this would be a different issue. Let's close this one.

wwmm avatar Aug 23 '25 18:08 wwmm