When I click Apply operation in KDE Partition Manager, it takes a few seconds for the KMessageBox to appear. This started happening after https://cgit.kde.org/knotifications.git/commit/?id=2d40672b0c8569329df78f77c425e9989e68c037
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 ***