Skip to content

UI bug: Account dropdown clipped in "Open from Cloud Drive" on DPI 120% (KeeAnywhere 2.1.0) #490

Description

@shafro

Environment:
KeePass: 2.xx
KeeAnywhere: 2.1.0
OS: Windows 10 (DPI 125%)
Display scaling: 125% (120 DPI)

Steps to reproduce
Start KeePass with KeeAnywhere 2.1.0
Go to File → Open from Cloud Drive
Look at the Account: dropdown in the Open from Cloud Drive dialog

Actual result
The Account ComboBox is rendered with incorrect height: text is clipped / control looks visually broken on 125% DPI.

Expected result
The Account dropdown should render with proper height and padding on high DPI (125%).

Notes / possible cause
This looks like a classic WinForms high-DPI issue where the ComboBox height is hard-coded (e.g. Height = 21) instead of using PreferredHeight.
A possible fix would be:\n> - Set AutoScaleMode = AutoScaleMode.Dpi on the OpenFromCloudDriveForm
Use comboBoxAccount.Height = comboBoxAccount.PreferredHeight; instead of a fixed height

Screenshot

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions