Bug 411504 - "You will be asked to authenticate before saving" takes a few milliseconds to appear below the header of SDDM kcm
Summary: "You will be asked to authenticate before saving" takes a few milliseconds to...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_sddm (show other bugs)
Version: 5.19.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-01 17:32 UTC by Patrick Silva
Modified: 2021-01-11 16:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screen recording (1.65 MB, video/webm)
2019-09-01 17:32 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-09-01 17:32:47 UTC
Created attachment 122447 [details]
screen recording

STEPS TO REPRODUCE
1. open system settings > Startup and shutdown
2. click on "Autostart" section
3. switch to "Login screen (SDDM)" section

OBSERVED RESULT
As we can see in the attached screen recording, "You will be asked to authenticate before saving" takes a few milliseconds to appear below "Login Screen (SDDM)" header.

EXPECTED RESULT
"You will be asked to authenticate before saving" is always immediately shown
when you switch to "Login screen (SDDM)" section.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0
Comment 1 Filip Fila 2020-10-15 14:18:03 UTC
If you switch to Icon View-ed system settings and open it directly from the launcher, more elements also don't show up immediately. Worth it to investigate if it's a problem with system settings itself.
Comment 2 David Redondo 2021-01-11 16:26:05 UTC
Git commit 5bbbe08748e0b1ecf48ea4af35b96fa23ccd0a0c by David Redondo.
Committed on 11/01/2021 at 12:42.
Pushed by ngraham into branch 'master'.

Port to ManagedConfigModule

The settings are now read via KConfigXT, with a trick to follow the config
scheme of SDDM. One KConfig object is used to read the defaults and another one
to read the actual config values, see SddmSettingsBase.h for details.
The UI is now entirely in Qml and follows the GridviewKCM style. The preview pane
has been moved into a Dialog. The "Advanced" has been moved into a page called
"Behavior" and the sync options live now in a OverlaySheet accessible from the main
page as does the background configuration.
Related: bug 403530, bug 407689, bug 411004, bug 419327, bug 424639

M  +2    -0    CMakeLists.txt
M  +10   -16   src/CMakeLists.txt
D  +0    -294  src/advancedconfig.cpp
D  +0    -63   src/advancedconfig.h
D  +0    -97   src/configwidgets/selectimagebutton.cpp
D  +0    -50   src/configwidgets/selectimagebutton.h
A  +196  -0    src/package/contents/ui/Advanced.qml     [License: GPL]
A  +98   -0    src/package/contents/ui/DetailsDialog.qml     [License: GPL (v2+)]
A  +211  -0    src/package/contents/ui/main.qml     [License: GPL]
A  +16   -0    src/package/metadata.desktop
D  +0    -147  src/qml/main.qml
A  +42   -0    src/sddmdata.cpp     [License: GPL]
A  +33   -0    src/sddmdata.h     [License: GPL]
M  +247  -57   src/sddmkcm.cpp
M  +22   -12   src/sddmkcm.h
A  +39   -0    src/sddmsettings.kcfg
A  +8    -0    src/sddmsettings.kcfgc
A  +81   -0    src/sddmsettingsbase.cpp     [License: GPL]
A  +51   -0    src/sddmsettingsbase.h     [License: GPL]
D  +0    -237  src/themeconfig.cpp
D  +0    -63   src/themeconfig.h
M  +9    -0    src/thememetadata.cpp
M  +1    -0    src/thememetadata.h
D  +0    -155  src/themesdelegate.cpp
D  +0    -47   src/themesdelegate.h
M  +80   -2    src/themesmodel.cpp
M  +16   -3    src/themesmodel.h
D  +0    -356  src/ui/advancedconfig.ui
D  +0    -223  src/ui/themeconfig.ui
M  +5    -4    src/usersmodel.cpp
M  +4    -2    src/usersmodel.h

https://invent.kde.org/plasma/sddm-kcm/commit/5bbbe08748e0b1ecf48ea4af35b96fa23ccd0a0c