08-03-2018, 03:06 PM | #1 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
[Bug] Spellcheck List Cursor Location
Versions
Sigil 0.9.10 Windows 10 (64 bit) This bug didn't happen in 0.9.9, and only started when I upgraded to 0.9.10. I haven't tested on other OSes. Steps to Reproduce Open any EPUB. 1. Tools > Spellcheck > Spellcheck (Alt+Q) 2. Pick a random word in the list and doubleclick it. For example, pick "the". This should jump you to the location in the book in Code View and the specific word will be fully highlighted. 3. In Code View, Left-Click at the end of "the", so the cursor is placed after the word: Code:
the| For example, I want to type "re" after to change "the" -> "there": 4.1. Click after "the": Code:
"the|" Code:
"|ther" Code:
"e|ther" |
08-03-2018, 05:05 PM | #2 |
Sigil Developer
Posts: 7,637
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Why left click to position cursor after “the”. Does the same bug happen when a normal right click is used to position the cursor?
|
Advert | |
|
08-03-2018, 05:26 PM | #3 | |
Grand Sorcerer
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
@KevinH: The bug also occurs, if the cursor is moved after the word with the right arrow key. |
|
08-03-2018, 05:31 PM | #4 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
... and I took a few screenshots to help explain Step 2. This is after you click on a word in Spellcheck and it highlights in Code View: Step 3, when you Left-Click after the highlighted word: and Step 4, after you begin typing: first letter types in proper location, cursor will jump to beginning of word, and then second+ letter will appear in beginning. Thanks for confirming and testing the arrow keys. |
|
08-03-2018, 05:51 PM | #5 |
Sigil Developer
Posts: 7,637
Karma: 5433388
Join Date: Nov 2009
Device: many
|
This is an artifact or side effect from the fix that keeps the caret position correctly after saving. A bug that was reported earlier and fixed in this release.
I will see if there is some workaround for the next release. |
Advert | |
|
08-06-2018, 04:37 AM | #6 |
Junior Member
Posts: 5
Karma: 10
Join Date: Dec 2014
Device: PW2
|
This bug applies to all validation plugins too.
After "jump" from Validation Results to correct offset I can write one character and cursor jump one character back. Code:
1. Chapter|
2. Chapte|r
|
08-06-2018, 09:59 AM | #7 |
Sigil Developer
Posts: 7,637
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Just pushed a "fix" for this to master. It still needs to be tested so if anyone builds from source, please try this fix and let us know if it works without any side-effects/issues.
This fix will appear in the next release of Sigil (whenever that happens). |
08-06-2018, 10:40 AM | #8 |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
Build on Windows 10 (64-bit).
After short tests – everything seems fine. |
08-06-2018, 10:53 AM | #9 |
Sigil Developer
Posts: 7,637
Karma: 5433388
Join Date: Nov 2009
Device: many
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Spellcheck in book view + selected text spellcheck | unfairrobot | Sigil | 2 | 12-19-2016 04:50 PM |
Bug in the News Download List... | ibid | Recipes | 0 | 10-15-2013 09:55 AM |
New prefix; Firmware bug, issue or request list | Anak | Kobo Developer's Corner | 18 | 04-29-2013 03:25 AM |
SPELLCHECK NATION: Does SpellCheck have a dark side? | cbaehr | Self-Promotions by Authors and Publishers | 10 | 11-07-2010 12:45 PM |
Bug in default save location | HarryT | Calibre | 6 | 08-24-2009 12:48 PM |