Skip to content

Options form rendering issues on HiDPI displays #44

@borisfox73

Description

@borisfox73

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:

  1. Open KeePass on the "regular dpi" unscaled display.
  2. Go to the 'KeePassRDP Options' in the 'Tools' menu.
  3. Click on the 'Executable' tab.
  4. See the tab UI elements layout rendered correctly.
  5. 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).
  6. 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:
Image
8K UHD screenshot:
Image

Additional context
Windows 10
KeePass 2.58
KeePassRDP 2.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtodo

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions