D28057: Fix/Allow folderview popup mode icon and list icon size

Alexandre Pereira noreply at phabricator.kde.org
Wed Mar 25 20:17:29 GMT 2020


pereira.alex added a comment.


  In D28057#634650 <https://phabricator.kde.org/D28057#634650>, @ngraham wrote:
  
  > Abandoning the existing `iconSize` config value and adding a new one called `gridViewIconSize` means that everyone'e existing icon view size will be reset, since nothing will be reading from the `iconSize` values in the config files anymore. You have two options here:
  >
  > 1. Don't abandon `iconSize` for the icon view; keep using it even though its name isn't perfectly descriptive anymore
  > 2. Create a kconf update script to migrate people's config files so that the existing `iconSize` values get transformed into `gridViewIconSize` See https://techbase.kde.org/Development/Tools/Using_kconf_update
  
  
  Thank you for your review @ngraham ,
  
  I think there was some misunderstanding on my explanation: I am not abandoning iconSize. In fact, I am doing the opposite! I am making iconSize always the "true" value. What I am doing is saving the values of grid icon size and list icon size in different variables ( to save the slider configs ) and then applying the proper sizing to iconSize !
  
  So instead of " if Grid or List -> iconSize or listIconSize" ... I do "always iconSize, when changing modes/size update iconSize with proper size".

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D28057

To: pereira.alex, #plasma, #vdg, ngraham
Cc: ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200325/1da5118b/attachment-0001.html>


More information about the Plasma-devel mailing list