WinMerge / winmerge

WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.
https://winmerge.org/
GNU General Public License v2.0
6.4k stars 793 forks source link

Full screen window is off by one pixel #1296

Open pkozuchowski opened 2 years ago

pkozuchowski commented 2 years ago

When WinMerge is on full screen, it's off by one pixel on the right from the edge of screen. That means if I move mouse exactly to the corner of my window and click, I will close not WinMerge, but the window behind it.

sdottaka commented 2 years ago

WinMerge doesn't have a full-screen mode like web browser, but what does "full screen" mean?

I couldn't reproduce the problem even if I maximized the WinMerge window as below.

image

pkozuchowski commented 2 years ago

Sorry, by fullscreen I mean maximize by clicking on the center icon at the top right corner. I think this may be related to multi-monitor setting - this issue occurs on my main, center monitor when there's another screen on the right.

Here's display configuration: image ezgif-1-a7bdec74f8

Phone recording because my gif recorder wouldn't record area close to the top of the screen. This issue does not occur in other programs.

sdottaka commented 2 years ago

Thank you for the info. I tried to reproduce it using two monitors(left: 1366x768, right: 1280x600), but I couldn't reproduce this problem.

This problem seems to occur depending on the environment, so please let me know if you know the conditions that do not cause the problem in your environment.

Gitoffthelawn commented 2 years ago

I thought that I perhaps experienced this issue a couple times in the past. Each time, I was multitasking, so I figured I simply missed the little 'x' box in the corner, as I was focused on many things at once. But, given this issue report, I thought I would spend a few minutes and perform some testing. I tested WinMerge for this specific issue on a couple multi-monitor systems, and I couldn't replicate the issue.

So I agree with @sdottaka that additional system-specific details of what conditions cause it to happen, and not happen, will be helpful to determine the cause and generate a fix.

If I ever experience the issue again, I'll be sure to visit this issue report again and post additional details.

pkozuchowski commented 2 years ago

I can't reproduce it anymore today.... I'm not sure anymore why or when it happens, it just happens sometimes. I will play with it a bit more and see if I can find way to reproduce this once the issue will appear again.

MiltenPlescott commented 2 weeks ago

I can successfully reproduce this issue on WinMerge version v2.16.42.1 on Windows 10 22H2. I have 2 displays in Extend these displays mode.:

The issue seems to depend on which of these 2 displays is set to be my main display in windows settings: