Page MenuHome GnuPG

T4819 - Replace restoreGeometry() by Size saving
AbandonedPublic

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

Details

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

Event Timeline

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)

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