Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High DPI scaling support #14

Open
iamhammer opened this issue Jun 13, 2019 · 1 comment
Open

High DPI scaling support #14

iamhammer opened this issue Jun 13, 2019 · 1 comment

Comments

@iamhammer
Copy link

Can you implement the High DPI scaling mechanics you used for Entry Templates?
Right now the floating panel redraws and gets wider throughout the day. I haven't isolated what exactly the event is that causes the redraw, but it gets wider than both monitors.

Hiding and showing the floating panel again does not reduce the width, I wind up needing to close KeePass altogether.

@iamhammer
Copy link
Author

After playing around a bit, it seems that whenever the display name is updated the panel is redrawn wider and the position is changed. I have two monitors of different resolutions which is throwing the math off.

Repeatedly locking the database, moving the panel, and then unlocking it is a quick way to reproduce the issue.

I think this is either happening in MainForm(), perhaps the translation methods?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant