-
-
Notifications
You must be signed in to change notification settings - Fork 198
HiDPI issue with multiple screen on Windows #668
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
Comments
Hello, you're probably facing this known issue #276. Out of curiosity, do you get the same issue when both have 200% scaling? |
Yes, both at 200% I still have the issue. |
If it's working with |
I confirm the same, 1.8.0 is the last one working. Then 1.8.1, 1.8.2, 1.9.0 and continuous are broken |
Maybe related to this? 7036cdd |
@gabriele-v Would be strange if that change had an impact on dual monitor setups but not on single monitor setups. |
If you could provide me a 1.9.0 Windows build without that settings, I'll give a try. |
At least you see the same that 1.8.0 is working for you as well. @damir: I'm also at your disposal for any test |
I'll try to look into this this week. |
@gabriele-v the issue is indeed ben triggered by the AA_EnableHighDpiScaling option. I'm looking for a fix. |
I have pushed a fix that should resolve the issue. |
Fix works for me, tx so much - good job! |
If this https://github.com/ksnip/ksnip/releases/tag/continuous should contain the fix, unfortunately it's not working for me |
What arrangement of monitors are you using? |
15" laptop with 4K screen (200% scaling) with an external 27" 4K screen (150% scaling) |
What are positions of those monitors and which one is main? |
Nevermind, I can reproduce with scaling on both monitors. Will look into it again. |
15" (main) bottom , 27" (secondary) vertically above |
This is indeed an ugly behavior from Qt side. The Widgets behave differently when one or multiple screens have scaling so I have added two hacks that might fix them (though I'm not sure about anything anymore in regards to HiDPI and Qt). It might be that your use case requires a third hack, multiple scaled screens ordered vertically. Though you can, just for testing, try to order your screens horizontally but keep the screen scaling and see if that is working at least. I'll have a look into the vertical screens think in next couple of days, I'm done for today. |
FYI with latest continuous build I have the same issue also with only laptop 4K screen at 200%. |
@gabriele-v I've pushed another fix, can you give it another try? The CI needs ~20min to build the package. |
@gabriele-v can you please test latest continuous build? |
Tested 1.10.0-continuous build 1-0be25a5 Still not working even on only one 4K screen with 200% |
Still works for me, ksnip-log.txt reports (if it helps): |
Really puzzling what Windows is doing. I have another user with a similar issue just happening when one screen is turned off, same setup, same binaries, he has the issue and I cannot reproduce it. |
Maybe related? flameshot-org/flameshot#1386 (comment) But |
@ihipop Yeah, could be same issue, we have a similar issue on Linux #276 Spectacle is different, it's closely coupled with kWin and it gets it's screenshots from there, not by utilizing Qt like we do. We cannot do that as we run in cross platform environments. |
@gabriele-v is for you the image still incorrectly scaled or just incorrectly positioned? If it's just the position, you can now configure an offset for the snipping area positioning, |
Hi, |
How do you install a specific version? |
E.g. |
Describe the bug
I have a 15" laptop with 4K screen (200% scaling) with an external 27" 4K screen (150% scaling).
When I capture a rectangular area (tried on both monitors), if both screens are on, the image is zoomed and it's impossible to capture properly.
If I disconnect the external screen and use only the laptop one, everything is working properly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should behave in the same way as when only laptop screen is used
Screenshots
Difficult to grab, anyway it's like all the window is zoomed.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: