Cursor jumps when switching to full screen


First of all, thanks for 2.0! It is everything I hoped for and then some, and IMO you guys should be charging at least three times the price you do.

Can’t work out if this is a bug or a feature so I thought I’d ask: I often select my Draft folder in scrivenings mode to do some work on the complete draft. If I then switch into full screen, the cursor jumps to a new position (top of the last document?) and I have to scroll back and find the text I was working on. If I select individual documents, the cursor stays in place when I switch modes. Bug or feature? And if it’s a feature, how might I put it to use?

Thanks in advance!

Thanks for the kind words!

Can you provide instructions on how to reproduce this? For me, when I enter full screen, the cursor is in the same place it was in the editor, even in scrivenings mode.



I highlight “Draft” and enter scrivenings mode. I start working in the editor. Then, using the keyboard shortcut, I enter full screen. My cursor has now moved to the top of the last document in my Draft folder, regardless of where it was before switching modes.

I am working in Script Mode, and my project was brought over from version 1.5. Some of my documents have been edited in Final Draft and synced using the External Folder Sync feature (which I love! so useful!) Don’t know if any of that matters, but I thought I’d mention it just in case.

Strange, I still can’t reproduce this - and the code is set to place the cursor at and scroll to the same position as the main text. Is there anything else that you can think of that might be a factor? Can you reproduce this every time, even in a new project or with different documents selected? How much text is there? Is there a lot of text and is the cursor towards the end? The only thing I can think of is that the text hasn’t finished being laid out when the cursor is placed in it.


Some more hopefully useful info:

I have just created a new project from the Screenplay template. I added three documents to the Scenes folder and typed some screenplay text into each. I then clicked on “Screenplay” in the binder followed by the Scrivenings mode button.

Now, if I place the cursor in the first or the second of my three documents, and then switch to full screen, the cursor jumps to the top of the third document.

However, if I place the cursor anywhere in the third document before switching, the cursor stays put (i.e. it does not jump to the top of the document). If I place it in the “Title Page” document before switching it also stays put.

A-ha, that has given me the information I needed to reproduce it, thank you! It turns out that what is happening is that when you switch into full screen with scrivenings and script mode turned on, the scrivening separators get swapped out in the background so that the selection ends up after the last separator (i.e. at the start of the last document). The bug is therefore that Scrivener isn’t restoring the selection after doing its background layout in this situation.

I’ve just fixed this for 2.0.1. Thanks for providing me with a reproduction case that helped me do so, much appreciated.

All the best,

Thank you for fixing it! Looking forward to 2.0.1 :smiley: