[Bug] Dashes Release Gremlin

rg
rgletter
Posts: 92
Joined: Mon Aug 14, 2017 9:45 pm
Platform: Win + iOS

Mon Oct 08, 2018 5:40 pm Post

This is odd and consistent too. I type 4 dashes in a row (not underline) and a smiley face appears. Maybe its a Happy Halloween pic. Is this a setting, feature, or bug?
Scrivener Dash.jpg
Scrivener Dash.jpg (2.88 KiB) Viewed 506 times

User avatar
Jestar
Posts: 28
Joined: Sun Feb 19, 2017 6:51 pm
Platform: Windows

Mon Oct 08, 2018 7:35 pm Post

rgletter wrote:This is odd and consistent too. I type 4 dashes in a row (not underline) and a smiley face appears. Maybe its a Happy Halloween pic. Is this a setting, feature, or bug?
Scrivener Dash.jpg


I wonder if it is a font-specific thing. Doing as you suggested I get ———— Font is Century.
Win 7 64-Bit
Intel Core i7-2600 @ 3,4 GHz (Quadcore) 32 GB RAM
NVIDIA Quadro K600
Scrivener 1.9.9.0 & Version: 2.9.0.10 Beta (331056) 64-bit - 28 Sep 2018

rg
rgletter
Posts: 92
Joined: Mon Aug 14, 2017 9:45 pm
Platform: Win + iOS

Mon Oct 08, 2018 7:56 pm Post

The font change idea seemed logical. I tried a dozen different fonts including "Century", only to have the same results. It only occurs inside Scrivener. Weird!!!!

I'm glad its not everyone. However, what there must be some conflict/setting.

jj
jje
Posts: 69
Joined: Sun Jul 06, 2014 5:57 pm
Platform: Windows
Location: Sussex, UK

Tue Oct 09, 2018 8:28 am Post

Not happening for me either, but maybe that's because I have set Scrivener up to replace two dashes with an en-dash and three with an em-dash.

ga
gapsen
Posts: 5
Joined: Sat Aug 17, 2013 11:24 am
Platform: Windows

Tue Oct 09, 2018 12:17 pm Post

I get a question mark in a box instead of the fourth dash. Font is Calibri.

Co
Collider
Posts: 21
Joined: Mon Jul 28, 2014 2:52 pm
Platform: Mac + Windows

Wed Oct 10, 2018 11:54 am Post

I tried this using Calibri Light and got the smiley-face issue, exactly as described. Changed to regular Calibri and to Century and got the same result as well.

rw
rwfranz
Posts: 136
Joined: Thu May 28, 2015 9:41 pm
Platform: Windows

Thu Oct 11, 2018 10:34 am Post

Tried this.

In blank main editor window, type 4 dashes. The 4th one is replaced by a short space, and the TITLE shows a long dash and a smiley face.

Type 4 dashes in the synopsis (not the title part of the synopsis), and the Title shows 4 dashes.

Type 3 dashes in Doc Notes, and you get a longer dash and a short dash. Type 4 dashes in Document Notes, and you get a long dash and a space. Copy that, paste it into the synopsis, the Title shows a long dash and a smiley face.

"Show invisibles" does not seem to change this behavior. It appears there's an invisible character in the editor, being treated as a space, but the Title line shows the character.

I don't have a 3-dashes substitution, and I don't have a 4-dashes substitution. I checked the substitutions list, and nothing like that is in there. I do have "replace double hyphens with em-dashes" checked, but that's not what's happening here. Three dashes are being replaced by an extra long dash, and the fourth is making a strange character.

User avatar
Jestar
Posts: 28
Joined: Sun Feb 19, 2017 6:51 pm
Platform: Windows

Thu Oct 18, 2018 12:24 am Post

rwfranz wrote:I don't have a 3-dashes substitution, and I don't have a 4-dashes substitution. I checked the substitutions list, and nothing like that is in there. I do have "replace double hyphens with em-dashes" checked, but that's not what's happening here. Three dashes are being replaced by an extra long dash, and the fourth is making a strange character.


I'm still not able to get the smiley faces no matter what I do. However, all the stuff above is what I have and get with trying to type in the dashes. Additionally, I tried typing the 3 and 4 dash string in the title of the document and ended up with three or four dashes - it never did the substitution as it does in the main editor window. I do get the substitution in the document notes area, but not in the synopsis area. The substitution will also take place in the comments section. I've tried many different fonts, but still get what I posted before (no smiley faces though). Very strange.
Win 7 64-Bit
Intel Core i7-2600 @ 3,4 GHz (Quadcore) 32 GB RAM
NVIDIA Quadro K600
Scrivener 1.9.9.0 & Version: 2.9.0.10 Beta (331056) 64-bit - 28 Sep 2018

rw
rwfranz
Posts: 136
Joined: Thu May 28, 2015 9:41 pm
Platform: Windows

Thu Oct 18, 2018 5:38 pm Post

rgletter wrote:The font change idea seemed logical. I tried a dozen different fonts including "Century", only to have the same results. It only occurs inside Scrivener. Weird!!!!

I'm glad its not everyone. However, what there must be some conflict/setting.


I realized the document in which this happened was created using a template from 1.9.x, and was then converted by 2.9.0.x.

I created a new doc using a 2.9 template, and all was fine. I tested with a new doc using a manually-rebuilt template for 2.9, and all was fine.

Perhaps something similar is causing this for you?