-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
"Synchronize ... Scrolling" is disabled on launch with both views shown #5250
Comments
Any news on that issue ? It's really annoying to always have to activate ... It was automatically activated in earlier versions of Notepad++ |
i just hit this bug too... Scrolling doesn't work automatically anymore and i have to enable it manually each time i use the Compare plugin. :( |
Same here, I've huge yaml and manifests to compare. Only started since latest version was installed. |
Same bug here. Win 10, Notepadd++ v7.7 64 bits |
Just moved to Win10 from Win7, and this started happening to me too. Doesn't remember it being ticked on once i leave side-by-side view in Compare. |
Slightly different (I think) - when I am comparing the two Synchronise menu items are greyed out but Horizontal is ticked - even though it is vertical I need |
Perhaps problems with ComparePlugin are due to PluginAdmin not installing the correct version? |
I installed the old version manually on 7.7.0 and is better - although enable horizontal by default not vertical! Anyway, got the job done! |
Win10, npp v7.7.1, using Compare plugin v2.0.0.0 nearly daily for XML/code files, noticed it stopped (automatically) sync'ing vertical scrolling sometime in the last few months. Could be tied to recent npp v7.7+ as hypothesized above. Was able to manually set Vertical Sync Scrolling via View > Sync Vertical Scrolling... Reproduce: setup compare of two files in own window (multi-instance mode), observe no sync'd vertical scroll. Enable View > Sync Vertical Scrolling. observe sync'd Vscroll. Clear Active Compare (ctrl+alt+x), then Compare (ctrl+alt+c). observe no sync Vscroll; in View menu the check for Sync vScroll has been cleared. Update - at least as a (slightly) better workaround: |
I am using notepad++ for comparing test code on a few different dev machines, and on two of them the work-around trick noted by @bradis1 worked great (a little extra to do, but gets the job done!). The OS in each case is Server 2016 or Win10 Ent/Pro (builds vary). On the latest machine it failed on was working earlier today, I uninstalled the "Task List" plugin, npp restarted and then v-scroll sync now fails - below is the info I grabbed from help/"Debug Info..." (note: info states Win 10, but this one is Server 2016) Notepad++ v7.7.1 (64-bit) edit: |
I've just uninstalled and installed again by Plugin Manager and it worked for me. Thx |
Didn't work for me. Still not vertical sync |
Thanks, same helped here. Still unchecked, but it do synchronized vertical scrolling now. |
Hello all, Just as an info - Compare plugin does not rely on Notepad++ vertical scroll sync setting. The problems are due to the fact that since Notepad++ v7.7 (included) the plugins API is changed which makes the old plugins (the ones that are not rebuild with the new N++ API) prone to all kinds of errors. So you'll need to reinstall the correct version of Compare plugin for Notepad++ versions above 7.7. You can do that manually or through the PluginsAdmin feature. Read more here: pnedev/comparePlus#201 |
I opened a new point #8635. Maybe it's the same issue described here, although in my case having ComparePlugin or not doesn't make a difference. But it seems that the issue of not being able to activate synchronized scrolling is there and easy to overcome by simply moving a file from the left pane to the right or vice versa. |
I had the same issue! |
STR on 7.9.2: Start with one file, then clone it into the other view: Drop the View menu, observe: Restart N++, file is reopened into both views (as before). Drop the View menu, observe: At this point the synchronization items should be enabled, but they are not. Notepad++ v7.9.2 (64-bit) |
Don, That's why I opened #8635 some time ago, because I realized that having or not Compare plugin (mentioned in this thread) actually didn't make any difference; I think mentioning the Plugin in this thread made the whole thing to seem a plugin-related issue, while it's not. I can't recall exactly when this issue started, but it may have been more than one year ago. |
+1 same issue |
Tested in N++ 8.4.4 (current version as of this writing) and problem still exists. |
Same problem for me. I don't use the Compare plugin and it's not installed. |
it is still not resolved |
it is still not resolved |
I notice on 8.4.9 at least, the two toolbar buttons for synchronization ARE enabled when Notepad++ starts up with 2 views, even though the two View menu items are disabled in this situation. So I suppose a workaround is to use the toolbar buttons to enable synch. |
@donho , Two years ago, you thought this was plugin related, based on other posters who had also mentioned a plugin (as a point of comparison, not as a description of the culprit). But as was explained after your last post, it's not caused by any plugin. This problem was replicated in 2021 using v7.9.2 with no additional plugins; and it can still be replicated in 2023 using a fresh v8.4.9. The buggy behavior that was first described in v7.5.9 in 2019 still exists in v8.4.9 in 2023.
People "in the wild" are still complaining about this problem today, as can be seen in the many "me too" posts in this Issue, and in the forum like here |
@pryrt @alankilborn |
Description of the Issue
In view menu - "Synchronize Vertical Scrolling" / "Synchronize Horizontal Scrolling" items - disabled when opening Notepad++ with both views shown.
Steps to Reproduce the Issue
Synchronize...
items are enabled.Synchronize...
items are disabled.Expected Behavior
View->Synchronize...
items are enabled.Actual Behavior
View->Synchronize...
items are disabled.I can see that code for enabling/disabling these items initially is called but it seems to does not work correctly for some reason.
Notepad++ v7.5.9 (64-bit)
Build time : Oct 14 2018 - 15:19:55
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 8.1 (64-bit)
Plugins : mimeTools.dll DSpellCheck.dll NppConverter.dll PluginManager.dll
The text was updated successfully, but these errors were encountered: