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

Broken rendering when switching display scaling #129

Closed
francislavoie opened this issue Jan 27, 2021 · 6 comments
Closed

Broken rendering when switching display scaling #129

francislavoie opened this issue Jan 27, 2021 · 6 comments
Labels

Comments

@francislavoie
Copy link

Describe the bug
I have a setup where I have my PC connected to my regular monitor, and my TV at the same time. My TV being 4k, is too high resolution to use 100% scaling, so I scale it to something weird like 175%. I switch between my monitor and my TV whenever I go watch TV shows (so like, basically every evening).

When I scale back down to 100% when going back to my monitor, Volume2 starts having rendering issues, like the slider that appears when clicking on the systray icon is totally blank, sometimes the OSD does not appear, right-clicking does nothing.

Killing the app from the task manager then restarting it fixes the issue.

Maybe we need a setting to reload the rendering bits when the display scaling changes? Are there event hooks for those sort of things? I don't know the Window API too well.

Screenshots

I'll add screenshots the next time it happens.

Desktop (please complete the following information):

  • Windows version: 10 (version 2004, build 19041.330)
  • Volume² version: 1.1.7.431
@irzyxa
Copy link
Owner

irzyxa commented Jan 27, 2021

Fixed version 1.1.7.432

@irzyxa irzyxa closed this as completed Jan 27, 2021
@francislavoie
Copy link
Author

francislavoie commented Jan 27, 2021

How do I get that version to confirm? I don't see a commit.

Edit: Ha, there's the commit 62a975d

@irzyxa
Copy link
Owner

irzyxa commented Jan 27, 2021

You can enable Check for updates - Beta versions option on System tab or download it from download page

@francislavoie
Copy link
Author

Nice! Thanks. I think that seems to have fixed it. I see the systray icon go from blurry to sharp a second or two after switching monitors, which I assume is part of the change you made.

@irzyxa
Copy link
Owner

irzyxa commented Jan 27, 2021

Can you attach screenshot?

@francislavoie
Copy link
Author

francislavoie commented Jan 27, 2021

Well I mean, there's not really much to show now, since it seems to behave correctly.

What I meant was, before this latest version, after switching monitors, the systray icon would be blurry and stay blurry because it wouldn't re-render after the scaling change. But it seems to re-render and become sharp again now. So that's good 👍

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

No branches or pull requests

2 participants