KeePassRDP
KeePassRDP copied to clipboard
Options form rendering issues on HiDPI displays
Describe the bug KeePassRDP Options form Executable tab GroupBox layout is incorrect on HiDPI display. On 96dpi WQXGA (2650x1600) display with no scaling (100%) the form renders correctly: Executable tab has two GroupBoxes ("mstsc.exe parameters" and "mstsc.exe automation") side by side. On 288dpi 8K UHD (7680x4320) with 3x scaling (300%) "mstsc.exe parameters" GroupBox stretches to the entire tab pane and dislodges "mstsc.exe automation" out of the tab space.
To Reproduce Steps to reproduce the behavior:
- Open KeePass on the "regular dpi" unscaled display.
- Go to the 'KeePassRDP Options' in the 'Tools' menu.
- Click on the 'Executable' tab.
- See the tab UI elements layout rendered correctly.
- Repeat 1-3 on HiDPI display with scaling (I've checked only on 8K with 3x scaling, but the problem may as well occur on other resolutions and/or scaling factors).
- See the Executable tab has "mstsc.exe automation" groupbox missing and "mstsc.exe parameters" fills the entire tab.
Expected behavior Executable tab rendering correctly regardless of display DPI and scaling.
Screenshots
WQXGA screenshot:
8K UHD screenshot:
Additional context Windows 10 KeePass 2.58 KeePassRDP 2.2.2