| Summary: | KMessageBox takes a few seconds to appear after clicking Apply in KDE Partition Manager | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-knotifications | Reporter: | Andrius Štikonas <andrius> |
| Component: | general | Assignee: | David Edmundson <kde> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | bart.vanassche+kde, darose, himbeere, kde, kdelibs-bugs-null, phofin, vpilo, wbauer1 |
| Priority: | NOR | ||
| Version First Reported In: | 5.33.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Andrius Štikonas
2017-06-08 14:20:54 UTC
Does KDE Partition Manager run as root? Yeah, unfortunately we still use root. There were some initial attempts to start using a few bits of KAuth in kpmcore library but then it introduced regressions in Calamares installer and we got stuck. In principle I would be all for using KAuth but it is a very big refactoring and not enough contributors (basically just me). Strangely this bug is not triggered if my KMessageBoxes are launched with KMessageBox::Dangerous... I've workarounded this in KDE Partition Manager by reading DBUS_SESSION_BUS_ADDRESS from ~/.dbus/session-bus/machineid-DISPLAY and passing it to KDE Partition Manager. Shall we close this bug then? This delay also occurs if you login to a desktop session that has no org.freedesktop.Notifications service, like IceWM e.g. I think the reason is the new org.kde.plasma.Notifications.service in plasma-workspace which waits for the service to appear with a 25s timeout. Deleting it fixes the delays. Btw, I think bug#381115 is the same issue. (In reply to Wolfgang Bauer from comment #5) > This delay also occurs if you login to a desktop session that has no > org.freedesktop.Notifications service, like IceWM e.g. PS, for clarification: it happens with all KDE applications run as user too in that case (when they show a KMessageBox), e.g. if you try to delete a file in dolphin. *** Bug 381115 has been marked as a duplicate of this bug. *** (In reply to Wolfgang Bauer from comment #6) > PS, for clarification: it happens with all KDE applications run as user too > in that case (when they show a KMessageBox), e.g. if you try to delete a > file in dolphin. Or, as https://bugzilla.opensuse.org/show_bug.cgi?id=1046458 shows, if you run them remotely via ssh. *** Bug 380923 has been marked as a duplicate of this bug. *** Will be fixed in knotifications 5.38.0. https://cgit.kde.org/knotifications.git/commit/?id=1c97e1d9741fd15962474f47932dd09728dae76b *** This bug has been marked as a duplicate of bug 382444 *** |