Summary: | After initiating KNS download tasks, System settings lets you quit the app but fails to fully quit until pending KNS tasks succeed | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-knewstuff | Reporter: | Alireza Rashidi <alirezarashidigoorabi> |
Component: | general | Assignee: | Dan Leinir Turthra Jensen <admin> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | alexander.lohnau, kdelibs-bugs, nate, postix, sitter |
Priority: | NOR | Keywords: | usability |
Version: | 6.4.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=491083 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Alireza Rashidi
2024-07-31 12:43:14 UTC
Sounds like the KNS thread is hanging or something. I think I've seen this in the past as well, but I can't immediately reproduce it on demand right now. Will keep trying. From a quick glance I can only reproduce this if **not** closing the download window but simply clicking close on the systemsettings window. Is that what the report is about? (this is super weird, I don't see any signals coming out of the qapplication when closing the windows yet it doesn't seem stuck in gdb) Yeah. I can reproduce the issue as described now. At the moment I think everything is working as expected: the parent process (systemsettings) doesn't end until its worker download processes are complete. However this isn't super intuitive from a user perspective. Options: 1. Don't let people close a KNS dialog while it's still got pending operations; prompt the user to wait or terminate them. 2. Don't let the user close a KCM while a KNS dialog it initiated still has pending operations; prompt the user to wait or terminate them. 3. Have KNS tasks use KJob and register them with the central job server, then allow fully quitting the initiating app with the job proceeding in the background with a Plasma notification to show progress to the user. Downside of #1 is that it might be annoying to not be able to close the dialog until jobs complete. Downside of #2 is that it would require code changes in all KNS-using KCMs and apps. Downside of #3 is that is might require a lot of code changes in KNS. I wasn't very clear: You don't even need to start a download, just open the kns window and close systemsettings. Oh. I can reproduce that too. I think it's a different bug from what's described here though, which involves downloading something, closing the dialog, and then closing the main window. I'll open a new bug report for it. *** This bug has been marked as a duplicate of bug 492998 *** |