Skip to main content

"Cursor shifting" problem -- Consolidating here

Completed

Comments

6 comments

  • Kevin Arthur

    I've tested again and here are answers to your questions

    • I can't get it to happen at 100% zoom, so you may be right. I know that I had adjusted zoom previously so maybe the problem carried over from that time.
    • I had also toggled the file list recently and had been typing things with smart pairs like ()[]
    • I'll try the theme change to see if that fixes it. For some reason I can't replicate the problem right now...
    0
  • Fletcher Penney

    Kevin Arthur -- thanks for the feedback, and thanks for replying to this thread!!

    0
  • Fletcher Penney

    Still digging into this...  More notes for my own use as I continue to brainstorm, and maybe someone else will see something helpful.

     

    To explore further, I looked into it while taking the new engine used in nvUltra and building the next version of MultiMarkdown Composer with it.  I started with a simple window including only the text editor, and could not replicate this.  I then used the editor/preview split view and could not replicate it.

     

    Once I added another splitview layer around it (in order to allow for the assistants (TOC, References, CriticMarkup)), I could then replicate it, just like in nvUltra (which includes another wrapper layer).

     

    * I can still most reliably reproduce it by typing something like `foo *bar*`.  The cursor shifts left while inside the asterisks.

    * The cursor shifts left regardless of whether the default zoom is <100% or > 100%

    * It doesn't happen with default zoom of 100%

    * It seems to only happen if the `foo *bar*` line is the last line of the document

    * Turning off syntax highlighting doesn't fix the issue, so it doesn't seem to be related to the font change inside emphasis

    * Removing `*` from smart pairs resolves the issue

    * Using shortcut expansions that are longer and shorter than the trigger word do not seem to trigger this

    * Zooming in and then back out (returning to default zoom factor) before typing prevents the issue from happening and fixes it while it's occurring.  Thus far, trying to programmatically zoom in/out while loading a window does not fix it.

    * Zooming in and out, but then turning auto zoom back on and adjusting the size of the window causes the bug to reappear

    0
  • Valery Kondakoff

    I have seen this issue right after fresh (initial) nvUltra Version 1.0.0 (62) install (Catalina 10.15.5). 

    Cursor shifts to the left when there is autocompletion after typing [[. This was reproducible on several notes. It's interesting, that the issue is not reproducible anymore after I changed the zoom of one of the notes (by pressing Cmd+= and then Cmd+-).

    So there is a wild guess: nvUltra does not recognise the current zoom level, until it is set implicitly.

    0
  • Fletcher Penney

    Valery Kondakoff -- thanks for the additional data point.

    It's not that nvUltra doesn't recognize the zoom -- the text is properly scaled already. 

     

    That said, I did go back and revisit this (yet again), with a fresh perspective and *think* I have fixed this.  I need to test some more, but hopefully this will move to the "solved" column!!!!

    0
  • Fletcher Penney

    With ongoing testing, this appears to be fixed and should be fixed in the next release.

     

    Thanks to all who helped track down circumstances that seemed to trigger it.

    0

Please sign in to leave a comment.

Powered by Zendesk