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.07k stars 775 forks source link

Make event sync settings persistent #2248

Closed oelgoetz closed 4 months ago

oelgoetz commented 4 months ago

Hello,

the synchronized scrolling when using webpage-diff is very good! It's really great that you done it ! (https://github.com/WinMerge/winmerge/pull/2111).

I use it extensively by launching it from a self-written C# application using the following arguments: file1 file2 /s /u /t Webpage.

Because of the /s option every diff opens in a new tab. However I found that the settings in the event-sync comboBox are not persistent: One has to activate at least the topmost check box to use the sync feature. Is it possible to make these settings persistent - at least in the same session of the WinMerge application? image IMHO it would be sufficient when every new tab that is started in /t Webpage mode uses the same settings as they were used in the last tab opened in that mode.

sdottaka commented 4 months ago

Thank you for your report. It is simply a bug that the selection in the Location Pane's Event Sync dropdown menu is not persistent. As a workaround, if you set it in the Webpage → Event Sync menu as shown below, it will become a permanent setting, so please set it there.

image

sdottaka commented 4 months ago

With commit 8374769, Event Sync settings are now saved when the window is closed.

oelgoetz commented 4 months ago

wow! that was quick! Thank you for the workaround and AFAICS youe even fixed the issue already!