Skip to content

Port window state saving to KConfig.WindowStateSaver

Nate Graham requested to merge ngraham/elisa:port-to-WindowStateSaver into master

Part of frameworks/kconfig#12

Reason for the change

Now that we have it and it works as expected as of Frameworks 6.9 or later, let's use it! Less custom code for us to maintain here, and the data gets saved in the state config rather than the settings config.

Test plan

  1. Launch app -> it opens at a sane default window size
  2. Launch app, resize window, close app, re-launch app -> size remembered
  3. Launch app, resize window, maximize window close app, re-launch app, de-maximize window -> maximization state and old window size remembered

Screenshots or screen recordings

N/A

Bugs fixed

N/A


Draft because it needs to wait for Frameworks 6.9 to be released, which includes frameworks/kconfig!336 (merged). That fix is required for the thing we're porting to to work 100%.

Edited by Nate Graham

Merge request reports

Loading