Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Effects disable/not working after window is closed #3490

Open
JL710 opened this issue Nov 9, 2024 · 14 comments
Open

Effects disable/not working after window is closed #3490

JL710 opened this issue Nov 9, 2024 · 14 comments

Comments

@JL710
Copy link

JL710 commented Nov 9, 2024

EasyEffects Version

7.1.9

What package are you using?

Flatpak (Flathub)

Distribution

Debian KDE

Describe the bug

When I close the window all of the effects that are working great when the window is open disappear.

Expected Behavior

I would expect it to work even if I close the window.

Debug Log

Debug Log
asyeffects:2): easyeffects-DEBUG: 15:59:28.924:       pipe_manager.cpp:265    Stream/Output/Audio 124 Firefox has been removed
(easyeffects:2): easyeffects-DEBUG: 15:59:28.928:       app_info.cpp:178        cannot lookup application icon webrtc voiceengine in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 15:59:28.928:       app_info.cpp:178        cannot lookup application icon webrtc voiceengine in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 15:59:28.928:       app_info.cpp:377        Firefox disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:28.939:       app_info.cpp:385        Firefox finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:28.939:       app_info.cpp:63 data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:28.939:       node_info_holder.cpp:104        124, Firefox finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:30.970:       pipe_manager.cpp:1301   Stream/Output/Audio 124 Firefox with serial 3231 has been added
(easyeffects:2): easyeffects-DEBUG: 15:59:30.975:       pipe_manager.cpp:1037   new metadata property: 124, target.node, Spa:Id, 84
(easyeffects:2): easyeffects-DEBUG: 15:59:30.983:       pipe_manager.cpp:1341   Firefox port 93 is connected to easyeffects_sink port 56
(easyeffects:2): easyeffects-DEBUG: 15:59:30.984:       pipe_manager.cpp:1341   Firefox port 106 is connected to easyeffects_sink port 107
(easyeffects:2): easyeffects-DEBUG: 15:59:30.990:       pipe_manager.cpp:1037   new metadata property: 124, target.object, Spa:Id, 3092
(easyeffects:2): easyeffects-DEBUG: 15:59:40.955:       application_ui.cpp:262  disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.956:       app_info.cpp:377        java disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.960:       app_info.cpp:385        java finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:40.960:       app_info.cpp:63 data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.960:       app_info.cpp:377        Firefox disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.969:       app_info.cpp:385        Firefox finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:40.969:       app_info.cpp:63 data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.969:       app_info.cpp:377        WEBRTC VoiceEngine disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.969:       app_info.cpp:385        WEBRTC VoiceEngine finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:40.969:       app_info.cpp:63 data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.970:       app_info.cpp:377        Firefox disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.970:       app_info.cpp:385        Firefox finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:40.970:       app_info.cpp:63 data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.973:       app_info.cpp:377        WEBRTC VoiceEngine disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.975:       app_info.cpp:385        WEBRTC VoiceEngine finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:40.975:       app_info.cpp:63 data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.981:       presets_menu.cpp:693    disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.997:       presets_menu.cpp:46     data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.998:       presets_menu.cpp:703    finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:40.998:       effects_box.cpp:522     disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.998:       chart.cpp:47    data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:40.998:       chart.cpp:650   finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:40.999:       blocklist_menu.cpp:219  disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.008:       blocklist_menu.cpp:52   data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.008:       blocklist_menu.cpp:229  finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.008:       apps_box.cpp:414        disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.008:       node_info_holder.cpp:104        124, Firefox finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.008:       node_info_holder.cpp:104        83, WEBRTC VoiceEngine finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.008:       node_info_holder.cpp:104        105, Firefox finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.008:       node_info_holder.cpp:104        98, java finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.009:       apps_box.cpp:51 data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.009:       apps_box.cpp:424        finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.009:       plugins_box.cpp:902     disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.010:       plugins_menu.cpp:301    disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.011:       plugins_menu.cpp:52     data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.011:       plugins_menu.cpp:311    finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.011:       plugins_box.cpp:113     data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.011:       plugins_box.cpp:912     finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.011:       effects_box.cpp:61      data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.011:       effects_box.cpp:532     finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.012:       effects_box.cpp:522     disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.012:       chart.cpp:47    data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.012:       chart.cpp:650   finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.012:       blocklist_menu.cpp:219  disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.022:       blocklist_menu.cpp:52   data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.022:       blocklist_menu.cpp:229  finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.022:       apps_box.cpp:414        disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.022:       node_info_holder.cpp:104        109, WEBRTC VoiceEngine finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.023:       apps_box.cpp:51 data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.023:       apps_box.cpp:424        finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.023:       plugins_box.cpp:902     disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.024:       plugins_menu.cpp:301    disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.028:       plugins_menu.cpp:52     data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.028:       plugins_menu.cpp:311    finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.028:       plugins_box.cpp:113     data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.028:       plugins_box.cpp:912     finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.028:       effects_box.cpp:61      data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.028:       effects_box.cpp:532     finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.028:       pipe_manager_box.cpp:837        disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.150:       node_info_holder.cpp:104        72, alsa_output.pci-0000_07_00.1.hdmi-stereo finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.151:       node_info_holder.cpp:104        35, alsa_output.pci-0000_09_00.3.analog-stereo finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.156:       node_info_holder.cpp:104        50, alsa_input.pci-0000_09_00.3.analog-stereo finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.156:       node_info_holder.cpp:104        52, alsa_input.usb-Generic_Realtek_Audio_USB_201701110001-00.analog-stereo finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.157:       pipe_manager_box.cpp:56 data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.157:       test_signals.cpp:215    destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.158:       pipe_manager_box.cpp:847        finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.158:       application_ui.cpp:52   data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.158:       application_ui.cpp:272  finalized
(easyeffects:2): easyeffects-DEBUG: 15:59:41.168:       presets_manager.cpp:233 destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.171:       stream_input_effects.cpp:134    destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.171:       effects_base.cpp:155    effects_base: destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.171:       spectrum.cpp:103        sie: spectrum destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.176:       output_level.cpp:41     sie: output_level destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.177:       stream_output_effects.cpp:302   disconnecting the bass_loudness filter from PipeWire
(easyeffects:2): easyeffects-DEBUG: 15:59:41.178:       pipe_manager.cpp:265     132 ee_soe_bass_loudness has been removed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.180:       stream_output_effects.cpp:134   destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.180:       effects_base.cpp:155    effects_base: destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.180:       spectrum.cpp:103        soe: spectrum destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.185:       output_level.cpp:41     soe: output_level destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:1691   Destroying PipeWire registry...
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:1694   Disconnecting PipeWire core...
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:265    Audio/Sink 35 alsa_output.pci-0000_09_00.3.analog-stereo has been removed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:265    Audio/Source 50 alsa_input.pci-0000_09_00.3.analog-stereo has been removed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:265    Stream/Output/Audio 98 java has been removed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:265    Audio/Sink 72 alsa_output.pci-0000_07_00.1.hdmi-stereo has been removed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:265    Audio/Source 52 alsa_input.usb-Generic_Realtek_Audio_USB_201701110001-00.analog-stereo has been removed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:265    Stream/Output/Audio 105 Firefox has been removed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:265    Stream/Output/Audio 124 Firefox has been removed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:265    Stream/Input/Audio 109 WEBRTC VoiceEngine has been removed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:265    Stream/Output/Audio 83 WEBRTC VoiceEngine has been removed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:265    Audio/Sink 84 easyeffects_sink has been removed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:265    Audio/Source/Virtual 94 easyeffects_source has been removed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.186:       pipe_manager.cpp:1699   Stopping PipeWire's loop...
(easyeffects:2): easyeffects-DEBUG: 15:59:41.187:       pipe_manager.cpp:1702   Destroying PipeWire's context...
(easyeffects:2): easyeffects-DEBUG: 15:59:41.187:       pipe_manager.cpp:1705   Destroying PipeWire's loop...
(easyeffects:2): easyeffects-DEBUG: 15:59:41.187:       application.cpp:430     Shutting down...
(easyeffects:2): easyeffects-DEBUG: 15:59:41.225:       bass_loudness_ui.cpp:147        disposed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.230:       bass_loudness_ui.cpp:42 data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 15:59:41.230:       bass_loudness.cpp:65    soe: bass_loudness destroyed

Additional Information

I have added the permission for background portal in flatseal. The permissions for the pulse audio server and the sbusses as well.

@wwmm
Copy link
Owner

wwmm commented Nov 9, 2024

When I close the window all of the effects that are working great when the window is open disappear.

Assuming that Shutdown on Window Closing is not enabled the only possible explanation is that somehow EasyEffects was not launched with the option --gapplication-service. If everything is fine with permissions and Launch Service at Startup is enabled a new login should autostart EasyEffects with the service option.

@JL710
Copy link
Author

JL710 commented Nov 9, 2024

I have not enabled Shutdown on Window Closing. But I have also not enabled Launch Service at Startup

I will try if that works when I restart my system tomorrow. Can I run it with --gapplication-service somehow manually?

@JL710
Copy link
Author

JL710 commented Nov 9, 2024

When I start the app with --gapplication-service it can run in the background but the window does not open anymore.

@wwmm
Copy link
Owner

wwmm commented Nov 9, 2024

When I start the app with --gapplication-service it can run in the background but the window does not open anymore.

Execute EasyEffects again in a different terminal while the process started as service is still running.

@JL710
Copy link
Author

JL710 commented Nov 9, 2024

Yeah. That works.

@wwmm
Copy link
Owner

wwmm commented Nov 9, 2024

Usually just clicking on EasyEffects launcher icon is enough to make all of this happen. I wonder what went wrong.

@JL710
Copy link
Author

JL710 commented Nov 9, 2024

I wonder too.

@wwmm
Copy link
Owner

wwmm commented Nov 9, 2024

Do you have any idea @violetmage ? It seems to be one more of those cases where Flatpak seems to fail to get the proper permission.

@JL710
Copy link
Author

JL710 commented Nov 9, 2024

I had to restart my pc a few minutes ago and with Launch Service at Startup it works automatically in the background.

@violetmage
Copy link
Contributor

It sounds like somehow the desktop entry is not adding the --gapplication-service flag somehow.

It doesn't seem plausible, I will try to think of what else could be wrong.

OP: How are you normally launching easyeffects, so that the problem occurs? With a shortcut? Launcher button?

@JL710
Copy link
Author

JL710 commented Nov 9, 2024

I launch the application trough the application launcher of kde.
Here is a screenshot auf the entry that was generated:
Screenshot_20241110_001355

@violetmage
Copy link
Contributor

Strange. The desktop entry looks correct.

Are you using a keyboard shortcut to close the easyeffects window?

Sending a "Quit" signal instead of "Close" to easyeffects would cause the behavior you're describing.

@JL710
Copy link
Author

JL710 commented Nov 10, 2024

I am not sure what signal kde is sending. I am using the normal x button in the title bar of the window. No Shortcut or else. Just a click on the "close" button.

@wwmm
Copy link
Owner

wwmm commented Nov 10, 2024

I am not sure what signal kde is sending. I am using the normal x button in the title bar of the window. No Shortcut or else. Just a click on the "close" button.

Clicking on its close button is fine. Besides this there is also keyboard shortcuts like Ctrl+W and Ctrl+Q. But Ctrl+Q makes the whole application to exit instead of just closing its window. That is what @violetmage was thinking about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants