Issue #62: Hyprland, ArchLinux - hints are not positioned correctly because of custom screen scale#64
Conversation
…ned correctly because of custom screen scale
|
Sorry, 'done that by mistake |
|
Hey, thank you for contributing! This looks fine for me, but I would like to test it some how. Can you give me a way to recreate the issue you were seeing so that I can try to replicate the issue and see how your fix behaves? |
|
Sorry for waiting on this. But I just now got around to working on hints. So for whatever reason, I can't replicate this. I tried using the opencv backend on hyprland (in a terminal) with a monitor scale of 2 as well as 0.6 and the position of the hints were not misaligned for me. I wonder if there is something else that could be throwing positioning off for you. Have you modified your hints config at all? Maybe your have an offset there? Worst case scenario, I don't mind merging this, but maybe we can make it an option in the hints config instead to prevent unnecessary image scaling, which could result in heavier tasks for large displays (where the screenshots are very high resolution). This is to prevent the extra image processing from delaying hints showing up. |

This fixes that some pyscreenshot backends can make screenshots with different sizes then absolute window size (f.e. beacause of screen scaling) by resizing the image to the desited size.