cthing / meazure-linux

Meazure is a tool for easily measuring and capturing portions of the screen. This is the Linux port of the Meazure tool.
https://www.cthing.com
GNU General Public License v3.0
4 stars 0 forks source link

Offset of central marker in screen magnifier #1

Open sphh opened 1 year ago

sphh commented 1 year ago

Great to have this handy tool on Linux!

Please have a look at the marker in the screen magnifier: The central point is off set by one pixel: Screenshot from 2023-03-01 14-54-43

Also if you look closely, some part of the black oblique lines from the outline are two pixels wide and some one. I wonder, if that could be improved?

BTW this is on a screen with 3840x2160px and a screen scaling of 100%.

baron1405 commented 1 year ago

Thanks for using Meazure and the bug report! If you drag the crosshair to different positions, does it ever center? Can you try different magnifications and see if that makes a difference. I cannot reproduce it on my screens of various sizes including 3840x2160 but this could be due to my use of VMs to test these sizes. I also tried various magnification factors but still could not reproduce the issue. Nevertheless, I will continue to try to reproduce the issue.

sphh commented 1 year ago

Sorry for the delay!

If you drag the crosshair to different positions, does it ever center?

No.

Can you try different magnifications and see if that makes a difference.

No. Here is a screenshot with a 8× magnification: Screenshot from 2023-03-20 11-42-45

I also tried to switch from the external display (3840×2160) to the internal display (2160×1440): I can see the same effect.

Maybe I should mention, that I have a set-up where the external monitor is the only active one, if it is plugged in, in which case the internal monitor gets switched off.

baron1405 commented 1 year ago

Thanks for the additional information! What I find interesting is that at the crosshair tips appear to be half the width of the center square. For reference, here is what I see at 8X magnification on 2560x1600 (and all other resolutions I tried):

Screenshot from 2023-03-20 11-20-54

I will monitor this to see if I get any additional bug reports. That may identify a common configuration that causes this issue. Of course, in the meantime if you or I can think of something, let's add it to this issue and hopefully, it leads to reproducing the issue and ultimately a fix.

BTW It is interesting that the grid lines are of two different thicknesses. Meazure does not differentiate grid lines, which means they should all be the same thickness. That seems like it might be related to this problem. Can you add to this issue the details on your hardware (i.e. laptop make and model, monitor make and model) and details of the video settings for each (i.e. refresh frequency, any sub-pixel enhancement settings, etc).