D27540: Status indicator for individual widgets in KCModule
Kevin Ottens
noreply at phabricator.kde.org
Fri Feb 21 13:11:02 GMT 2020
ervin added a comment.
In D27540#615105 <https://phabricator.kde.org/D27540#615105>, @davidre wrote:
> In D27540#615092 <https://phabricator.kde.org/D27540#615092>, @ervin wrote:
>
> > In D27540#615061 <https://phabricator.kde.org/D27540#615061>, @davidre wrote:
> >
> > > How does it look? Will this be opt in for other users of KConfigDialogManager?
> >
> >
> > I'd say you should try it. ;-)
> > I really need wider feedback on how it behaves in different context. Currently the patch makes it mandatory for everyone.
>
>
> I use KConfigDialogManager to manage the settings in Spectacle MainWindow which are instant apply by
> `connect(mConfigManager, &KConfigDialogManager::widgetModified, mConfigManager, &KConfigDialogManager::updateSettings);` and I don't like it that they appear there too
You mean they appear and stick around? Or they appear/disappear immediately?
If they stick around I'd indeed have to check why the state isn't recomputed on the updateSettings call...
> F8117881: grafik.png <https://phabricator.kde.org/F8117881>
>
>> a setting which is currently dirty or which differs from default value.
>
> What is your idea behind this? After first seeing this patch my intuition was that it would show for unsaved changes. But then I was confused when I open a SettingsDialog that there were already marks even though I changed nothing! I would expect them only for unsaved changes, I don't know how other platforms handle this if they have something similiar?
Currently it helps the user find out the unsaved changes (the least useful in some way, or your immediate memory is not good) but it also helps the user find out which of her settings differ from the default values (and that's indeed something you will forget over time and wonder "why the hell is the defaults button enabled").
Hope the extra context helps.
REPOSITORY
R265 KConfigWidgets
REVISION DETAIL
https://phabricator.kde.org/D27540
To: ervin, ngraham, davidedmundson, meven, crossi, bport, #vdg
Cc: davidre, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200221/bede1de7/attachment.html>
More information about the Kde-frameworks-devel
mailing list