For several months, maybe longer, I’ve had an issue where converting straight quotes to smart quotes and then inserting text between the end quote and the punctuation that precedes the end quote–as in extending dialogue–results in the straight quote predictably changing to a smart end quote when inserting text, but the smart quote moves right and then becomes fixed in place after a character or more is typed. The placement is unpredictable.
Opening/beginning quotes function normally when text is typed.
This behavior is also present when text is pasted from a text editor into a Scrivener document with Scrivener’s smart quotes enabled.
If I turn off smart quotes, new text entered between the period and end quotes behaves normally, with the end quote remaining to the right of text inserted inside of it.
I thought perhaps Garamond might have been causing the issue. I switched to Helvetica with the same result.
For now, I’ll just use straight quotes, which functions fine.
Thanks for any help with this small annoyance. I hope I’ve conveyed this issue.
I was able to reproduce the second case you describe, of pasting text with straight quotes into a project that has Smart Quote enabled. The issue seems to be that typing adjacent to the quote triggers the quote to convert, and that also places the insertion point to the right of the quote. Depending on the speed of your typing, the end placement of the quote will vary, since you may get in more characters before the quote converts and the insertion point moves to the far side.
I haven’t however seen the first case, and I’m not sure I’m quite understanding what steps you’re taking there. The time for the quotes concerting and the fact that the insertion point is moved explains what’s happening, but your description makes it sound like you’ve already triggered the conversion before you add additional text. If you could provide specific steps to trigger the bug, starting with the necessary settings in Scrivener, that would help figure out what’s happening.
Here's how I triggered the case with pasted text
Tested on macOS 15.6, Scrivener 3.5.2 (17487)
Enable Edit > Substitutions > Smart Quotes in the project. (System settings can have it enabled or not; same results.)
Paste text containing straight quotes, e.g. "example"
Place the insertion point before the end quote mark
Type a character (not a space)
Result: Typing the character beside the quote mark triggers it to convert to a smart quote and moves the insertion point to the right of the quote, such that any additional typing will be outside the quote rather than inside as expected.
Does this not occur because in quoted speech by one speaker, over more than one paragraph, the rule is you don’t close off your quotes until the speaker has finished, but use opening quotes at the beginning of each paragraph?
I understand the OP’s problem is within the confines of one paragraph, but the rule might be understated in implementation.
Pasting plain text from a text editor using key command:
Command + Option + Shift + V
into a Scrivener file where smart quotes are enabled results in the same behavior: The end quote moves right and sticks when text is inserted between punctuation (or any character) and the end quote.
To add a little light on this–or completely muddy the waters–if after copying and pasting plain text into a Scrivener document where smart quotes are turned on, I then:
Command + A to select all text in that document
Edit > Transformations > Convert Quotes to Smart Quotes
everything behaves normally with the pasted straight quotes converting to smart quotes. The oddity with the end quotation mark moving right then sticking is fixed.
You don’t need to select Cmd+A. The menu selection automatically affects all quotes in a document.
Coming from Windows, I found there is no shortcut key combination like on Windows (Ctrl+Q) to convert to Smart Quotes and Ctrl+Shift+Q to convert to Straight Quotes.
Since Mac makes so little use of Ctrl, I built a shortcut in System Settings > Keyboard > Keyboard Shortcuts… > App Shortcuts > Scrivener, then all I needed to do was use the exact Scrivener sub-menu description Convert Quotes to Smart Quotes and assign ^Q. I built one for the reverse too.
It worked as expected, so no unnecessary digging in menus.
OK, maybe I was just confused about the initial problem. It sounds like converting quotes from straight to smart via the menu command/shortcut is fine, and the only issue is when typing adjacent to straight quotes in a project that is set to use smart quotes. Is that correct? For that, it’s not going to matter how the straight quotes got there originally; the problem is just at the point of typing, when the text system tries to automatically convert the character. Normally that occurs when you type the character, so it’s not a problem, but in the case of going back to edit around a quote that is not already converted is touchier.
I’m not sure if we’ll be able to do anything about this, since it’s exactly the behaviour you get in TextEdit when smart quotes are enabled there—if you paste in text with straight quotes and then type a character to the left of the end quote, you’ll see it converts ands moves the cursor right. So Scrivener isn’t doing anything special to make this happen, but maybe there’s a way to prevent it without affecting the automatic conversion when typing the character itself.
In the meantime, @RevoTiLlor’s suggestion of assigning a shortcut so you can easily run the conversion after you’ve pasted text should help avoid the issue in the first place—if it’s already smart, typing beside it won’t make it any smarter.