D27540: Status indicator for individual widgets in KCModule

David Redondo noreply at phabricator.kde.org
Fri Feb 21 13:19:13 GMT 2020


davidre added a comment.


  In D27540#615129 <https://phabricator.kde.org/D27540#615129>, @ervin wrote:
  
  > 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.
  
  
  They stick around because as you said the settings differ from the defaults.
  
  The pen for me conveys the meaning that something was edited that's the reason I would only show it for unsaved changes. But let's others weigh in what they think

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/f3350fee/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list