T4819 - Replace restoreGeometry() by Size saving
AbandonedPublic

Authored by andrey_l on Apr 3 2020, 4:55 PM.

Details

Reviewers
aheinecke
Summary

Fix restoreGeometry() issue on multi-screen multi-dpi setup in Windows 10.

Test Plan
  1. Install Gpg4win on Windows10
  2. Attach two monitors with different resolutions and different scale factor. I had laptop with screen 2560x1440 150% and 2nd monitor 1920x1200 100% scale factor.
  3. Open SignEncrypt dialog and close it - it saves geometry parameters to kleopatrarc
  4. Detach one monitor
  5. Open SignEncrypt dialog again

Expected result: window shown

Actual result:
It doesn't show up. I can see only button in taskbar.
There is no way to show/maximize/move window.

Diff Detail

Repository
rW Gpg4win
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
andrey_l created this revision.Apr 3 2020, 4:55 PM
andrey_l edited the test plan for this revision. (Show Details)Apr 3 2020, 4:56 PM
andrey_l added a reviewer: aheinecke.
andrey_l edited the summary of this revision. (Show Details)
andrey_l edited the test plan for this revision. (Show Details)
andrey_l edited the test plan for this revision. (Show Details)
andrey_l edited the test plan for this revision. (Show Details)
andrey_l edited the test plan for this revision. (Show Details)
andrey_l abandoned this revision.Apr 5 2020, 1:07 AM

These changes were reworked into Kleopatra patch for all platforms:
https://phabricator.kde.org/D28580