easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

Service closing when closing window

Open Massimo-B opened this issue 8 months ago • 9 comments

EasyEffects Version

7.1.6

What package are you using?

Gentoo

Distribution

Gentoo

Describe the bug

I have set to keep the service on closing Window:

Image

Have to restart Pipewire, easyeffects service was closed. So I restart the GUI and have 1 process "easyeffects" running:

$ pgrep -alf easy
16170 /usr/bin/easyeffects

After closing the window, no easyeffects process exists anymore. How can I keep it running?

Expected Behavior

No response

Debug Log

Debug Log
Paste your log here

Additional Information

No response

Massimo-B avatar Apr 02 '25 09:04 Massimo-B

What method did you use to restart easyeffects?

violetmage avatar Apr 02 '25 18:04 violetmage

After closing the window, no easyeffects process exists anymore. How can I keep it running?

If you are starting it manually you have to do easyeffects --gapplication-service. And on another terminal easyeffects for it to show its window. Usually this whole process happens automatically when clicking on our launcher icon.

wwmm avatar Apr 02 '25 22:04 wwmm

Right, after a usual startup that easyeffects --gapplication-service is running and stays active after closing the easyeffects GUI. But if the service has terminated for something like a complete pipewire restart, then starting the GUI on Xfce via the provided menu item, ...that only has Command: easyeffects ...then there is no service started and after closing the GUI nothing keeps easyeffects running.

Massimo-B avatar Apr 03 '25 14:04 Massimo-B

But if the service has terminated for something like a complete pipewire restart

When PipeWire is restarted it is necessary to kill EasyEffects and restart it manually.

wwmm avatar Apr 04 '25 00:04 wwmm

Sure, but the issue is that the GUI does not start the service if required. That does not conform with...

Usually this whole process happens automatically when clicking on our launcher icon.

Massimo-B avatar Apr 04 '25 11:04 Massimo-B

Sure, but the issue is that the GUI does not start the service if required. That does not conform with...

That feature only works through clicks on the launcher icon and the desktop has to support dbus activation for them. I am not sure if xfce supports it.

wwmm avatar Apr 04 '25 14:04 wwmm

For a setup with Xfce and OpenRC, these files are responsible for easyeffects startup: https://github.com/wwmm/easyeffects/blob/master/data/com.github.wwmm.easyeffects.desktop.in

These files are responsible for pipewire startup: https://gitweb.gentoo.org/repo/gentoo.git/tree/media-video/pipewire/files/pipewire.desktop-r2 https://gitweb.gentoo.org/repo/gentoo.git/tree/media-video/pipewire/files/gentoo-pipewire-launcher.in-r3

dbus is available and used for several things, what does dbus activation mean?

Massimo-B avatar Apr 11 '25 09:04 Massimo-B

dbus is available and used for several things, what does dbus activation mean?

For the DBusActivatable=true in the desktop file to do something the desktop has to implement the necessary communication with dbus. Take a look at https://specifications.freedesktop.org/desktop-entry-spec/latest/dbus.html. The desktop has to support this. This is the case with KDE and GNOME.

wwmm avatar Apr 11 '25 14:04 wwmm

Appearently Xfce does not support it yet: https://gitlab.xfce.org/xfce/thunar/-/issues/193

Massimo-B avatar May 12 '25 08:05 Massimo-B