Summary: | Set Date and Time Automatically > Apply hangs systemsettings5 | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Mike C. Fletcher <mcfletch> |
Component: | kcm_clock | Assignee: | Sebastian Kügler <sebas> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | bhush94, com, costallat, hrvoje.senjan, lukas, pnunn, valorie.zimmerman |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-desktop/b6ae01ca8ea776c97cc57836401ca9696e2529e8 | Version Fixed In: | |
Sentry Crash Report: |
Description
Mike C. Fletcher
2014-10-01 19:06:47 UTC
Apparently the "hang" is actually an *extremely* long time out (long enough to fill out this whole bug report). The window eventually becomes responsive again, though when returning to the page the "Set date and time automatically" checkbox is again un-checked... some error and/or status warning would likely be appropriate. I can confirm this, and it never does become responsive. I tested also my test laptop, which has Kubuntu 14.10 upgraded to Plasma 5, freshly updated and upgraded. On that one, there is no freeze; however, once I click Apply, it reports: You are not allowed to save the configuration. When I try to close the KCM, I get a popup: Apply Settings---System Settings The settings of the current module have changed. Do you want to apply the changes or discard them? and then Apply, Discard, Cancel buttons. Click apply: red X and Unable to authenticate/execute the action: 9, The backend does not specify how to authorize Definite bug. Do you have polkit-kde-agent-1 installed and running? You should see something like this: [ltinkl@goblin ~]$ ps aux | grep polkit ltinkl 8771 0.0 0.4 664928 34248 ? Sl 09:15 0:00 /usr/lib64/libexec/polkit-kde-authentication-agent-1 (In reply to Valorie Zimmerman from comment #2) > Click apply: red X and Unable to authenticate/execute the action: 9, The > backend does not specify how to authorize this indicates broken KAuth/polkit-qt installation.. I do show a Polkit-kde, but it's a kde-4 version (this is on Kubuntu 14.04 with Neon 5 packages): mcfletch 25672 0.0 0.1 381644 16004 ? Sl Oct01 0:00 /usr/lib/kde4/libexec/polkit-kde-authentication-agent-1 potentially this might be down to having the wrong version running? I am also getting this behaviour in a Kubuntu/KDE5 installation. I tried running sudo systemsettings5 and have the same result (are we sure this is an authentication problem)? Peter. Git commit b6ae01ca8ea776c97cc57836401ca9696e2529e8 by David Edmundson. Committed on 14/02/2015 at 13:50. Pushed by davidedmundson into branch 'master'. Add systemd support into the clock KCM as an optional dependency The current time setting helper is incredibly broken. It manually tries to run a range of NTP utilities, all of which are deprecated. We can just call timedated directly and cut out the middleman as it has uses polkit anyway. This is currently an optional dependency, and the original helper still exists. It makes the code messy, but we have users to support for now. Detection is done at runtime Related: bug 196316, bug 311286, bug 317784, bug 319072, bug 337012, bug 241817, bug 178968, bug 320456, bug 317999, bug 337659 REVIEW: 122400 M +5 -1 kcms/dateandtime/CMakeLists.txt M +22 -12 kcms/dateandtime/dateandtime.ui M +44 -30 kcms/dateandtime/dtime.cpp M +2 -1 kcms/dateandtime/dtime.h M +80 -7 kcms/dateandtime/main.cpp M +5 -1 kcms/dateandtime/main.h A +43 -0 kcms/dateandtime/timedated1.xml http://commits.kde.org/plasma-desktop/b6ae01ca8ea776c97cc57836401ca9696e2529e8 Same problem as OP except the hang is relatively short and followed by the error popup: Unable to authenticate/execute the action: 4, (In reply to com from comment #9) > Same problem as OP except the hang is relatively short and followed by the > error popup: > > Unable to authenticate/execute the action: 4, Forgot: Kubuntu 15.04 new installation |