easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

Export hide-window option in GUI

Open francoism90 opened this issue 1 month ago • 9 comments

It would be great to expose --hide-window as an option next to Autologin/service settings. :)

It's not a big issue, I wasn't aware the --hide-window existed.

francoism90 avatar Nov 15 '25 10:11 francoism90

Hello. Which is your use case? If you launch the application, I suppose you want to see the window.

If you enable the autologin, the app is launched with the hided window at startup.

Digitalone1 avatar Nov 15 '25 11:11 Digitalone1

I have the feeling this may be necessary to fix #4450

wwmm avatar Nov 15 '25 15:11 wwmm

I have the feeling this may be necessary to fix #4450

Now that I am thinking about it again it may not be viable to fix #4450 this way...

wwmm avatar Nov 15 '25 15:11 wwmm

I agree with the OP and support this being an option in the configuration. My use case is I want the app to run on startup, but app autologin feature doesn't work for me. I can run it on login by adding it to my Startup Applications, but then it opens the window. Running easyeffects with --hide-window or -w doesn't work, the window appears anyway.

I'm on Pop!_OS 22.04 LTS using X11, and I installed easyeffects through flatpak

lortimer avatar Nov 22 '25 19:11 lortimer

Sorry, I didn't see the response. :)

I'm using Fedora Kinoite, and added this to launch at startup (Settings -> Autostart).

Isn't this needed, and simply checking launch as user session startup enough for the Flatpak version?

francoism90 avatar Nov 22 '25 19:11 francoism90

I will try to refactor our code in a way that --hide-window sets a database key instead of just an ordinary boolean variable. Although fixing the reason why --hide-window is not working would be the ideal solution.

wwmm avatar Nov 22 '25 20:11 wwmm

Implemented. I also added a huge text that explains this option is a workaround and not a configuration intended to be used.

wwmm avatar Nov 22 '25 23:11 wwmm

fixing the reason why --hide-window is not working would be the ideal solution.

@wwmm agreed! Thanks for the workaround. Do you think --hide-window not working is an issue I should be able to fix on my end, or is there a bug in easy effects?

lortimer avatar Nov 24 '25 00:11 lortimer

agreed! Thanks for the workaround. Do you think --hide-window not working is an issue I should be able to fix on my end, or is there a bug in easy effects?

To be honest I am not sure. It never happened on my computer where I use KDE + wayland. But as you can see at #4491 for dwm users running X11 it failed. I wonder if the fix for dwm works for you too.

This may be one of those situations where the toolkit is fine on wayland but fails to do something properly on X11. We had a few cases like this on gtk.

wwmm avatar Nov 24 '25 00:11 wwmm