[Bug] Inappropriate scroll-to-top of Preview pane
CompletedI'm reporting reproducible behavior where typing a new character at the bottom of a long note causes the Preview pane to scroll all the way back to the top.
1.0.0 (72)
iMac (Retina 5K, 27-inch, 2019)
macOS Catalina 10.15.7
Preferences:
- Update preview: Whenever file is saved
- [x] Synchronize preview location while typing
- [x] Always synchronize scrolling
Reproduction steps:
Download and unpack the Reports notebook.
Open the downloaded Reports notebook.
Open the "Scroll to top" note.
Scroll to the bottom of the note and place the cursor at the very end, following the ")" character.
At this point, the Preview pane is showing the end of the note.
Type a period character "." at the end of the note.
After typing the period character, the Preview pane refreshes in place, and then immediately jumps to the top, while the note editing pane stays at the bottom.
-
Disable Always Synchronize Scrolling. There's a bug in there that we have not been able to track down.
0 -
I am getting this behavior with shorter notes, even with Always Sync Scrolling disabled.
Typing letters at the end of the note does not cause the Preview to jump to the top. But a space or a period does result in the jump to the top. Typing a letter after the space results in the Preview again synched to the expected position. I can put up a video if that would help. Thinking it happens after a "word" is completed.
Also, it happens regardless of where the cursor is typing... does not have to be at the end of a line or end of file.
* using B077 with mac 11.2.2 on 2019 MBPro16
* Sync While Typing enabled
* Sync While Scrolling disabled (behavior is the same regardless of this setting)
* Update Preview: whenever text changes
* Testing: Paid App0 -
Can you attach a screenshot of your preview preferences?
For years Apple has had a bug in their WebView related to this, but it seemed to be gone in WKWebView (which nvUltra uses, despite its other limitations.) I can't replicate myself.
Thanks,
F-
0 -
https://www.dropbox.com/s/z46ase3lg88c63r/nvUltra-syncPreviewWhileTyping.mp4?dl=0
Short video of the action above, including preferences.
Here is just the Preview prefs pane:
0 -
Same issue/same experience as Steve Daviss. Unchecking Always synchronize scrolling does not fix it.
Actively use this feature so definitely a recent development.
MacOS10.15.7 on a 2018 Mac Mini. Build 77. _Paid App_ Feature Set
0 -
Can you verify the following?
Try using History Mode Undo in Pro Settings, and grouping edits by paragraph. You'll need to then close and reopen your nvUltra folder window. This changes the frequency at which the file on disk is modified.
The problem should then go away, *unless* you trigger a new paragraph, such as by hitting enter.
0 -
Confirmed. Adding whitespace, periods, etc keeps the scrolling synchronized when updating the History Mode/grouping.
New paragraph, as stated, pops to top of document. Adding formatting like bold and italics via keystroke (regardless of cursor position in the line) also acts like a new paragraph and jumps to the top.
0 -
Thanks. That helps me narrow down where to look.
More to follow.
0 -
This should be fixed in the new beta (https://multimarkdown.zendesk.com/hc/en-us/community/posts/4404296458259-Beta-Mark-II). Let us know if it's not.
Thanks!
0
Please sign in to leave a comment.
Comments
9 comments