Bug 497074

Summary: When closing Freetube with an x, the process remains running in the background.
Product: [Plasma] kwin Reporter: Répási Dávid <hu.repasidavid>
Component: xwaylandAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Répási Dávid 2024-12-05 11:18:22 UTC
SUMMARY

Closing the window with your window decoration's close button does not stop the app from running.
When wanting to start it again from kickoff, you get an error message.
It is possible to exit the app completely with ctrl+q
I have only experienced this issue with freetube which runs in xwayland mode (when using the enter picture in picture mode it shows the X logo)

STEPS TO REPRODUCE
1. have Freetube running
2. close the window with your window decoration's close button

OBSERVED RESULT

The process for freetube remains running in the background, can be checked via System monitor

EXPECTED RESULT

Fully close out the program

SOFTWARE/OS VERSIONS
Linux: EndeavourOS
KDE Plasma Version: 6.2.4 
KDE Frameworks Version:6.8.0 
Qt Version: 6.8.1

Additional Information

I'm not sure what plasma component handles exiting applications, and wheter it is fully a plasma bug or an electron one
Comment 1 Répási Dávid 2024-12-05 11:23:39 UTC
This may be relevant: https://bugs.kde.org/show_bug.cgi?id=477579
May be something with ksmserver
Comment 2 Zamundaaa 2024-12-06 12:37:13 UTC
KWin only tells apps to close the windows, it's up to them to close when the last window is closed. Please report this to freetube