Skip to content

Fix window geometry & DPI scaling on first launch (and beyond)#161

Open
manuelkoester wants to merge 2 commits intotechartorg:masterfrom
manuelkoester:feature/window_improvements
Open

Fix window geometry & DPI scaling on first launch (and beyond)#161
manuelkoester wants to merge 2 commits intotechartorg:masterfrom
manuelkoester:feature/window_improvements

Conversation

@manuelkoester
Copy link
Copy Markdown

Hey!

We've been shipping out bqt to our users and it's working really nicely hehe

One thing we noticed on our machines with all 4k monitors is that the Qt blender window after the inital first launch is mostly offscreen. I did some tests and stumbled upon couple of additional quirks like un-maximizing the window if Blender started maximized caused the Blender window to be tiny.

I added some additional steps in the window and window geometry creation side to handle all of the edge cases I encountered or come up with.

This has worked well on our end, but it would be awesome if you could also test this on your side 🙏
I've been testing the first time setup with

reg delete "HKCU\Software\Tech-Artists.org\Blender Qt" /f

I hope this MR works for you! Let me know if I can do anything additional to help with this

Copy link
Copy Markdown
Contributor

@Jerakin Jerakin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which platforms did you try this on?

I tried the branch on Windows (without 4K screen) and it works as described. Some window restoring bugs have been resolved with it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not bump any versions in PRs.

The version numbers will be bumped at a later point when a release is made.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I unfortunately only have access to a windows machine atm, so I only tested it there.

I'll revert the version bumps!

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

Successfully merging this pull request may close these issues.

2 participants