ngraham added a comment.

  In D12252#247719 <https://phabricator.kde.org/D12252#247719>, @sharvey wrote:
  
  > I thought about that. I figured there wasn't any harm in letting the user 
resize the window even if it wouldn't be saved.
  
  
  User-chosen window sizes should //always// be saved. The only alternative is 
to make the window non-resizable in the first place.
  
  Do we want to go with the standard routine of saving the window geometry and 
restoring it the next time the user launches the application? I can work that 
in, maybe with a `firstLaunch` boolean flag that only triggers the manual 
setting of the window size on the very first run. The window still won't get 
smaller than `minimumSize`, but if someone wants to enlarge it, we could save 
that size and restore it in the future.
  
  All of this is already implemented and works as expected if you simply remove 
the `resize()` call. What needs to be done is to specify the default size 
without always calling `resize()`. Either that, or enforce 1024x700 as the 
minimum.

REPOSITORY
  R124 System Settings

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

To: sharvey, ngraham, mart
Cc: zzag, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart

Reply via email to