Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-03-2018, 04:06 PM   #1
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 1,081
Karma: 6030009
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|
4. Begin to type, and the cursor will jump to the beginning of the word.

For example, I want to type "re" after to change "the" -> "there":

4.1. Click after "the":

Code:
"the|"
4.2. Type 'r' (cursor jumps):

Code:
"|ther"
4.3. Type 'e':

Code:
"e|ther"
I tested multiple "the"s in a row, and the bug seems to only occur when a new file/tab is loaded on the first occurrence. The cursor seems to NOT jump on any further "the"s in the same chapter.
Tex2002ans is offline   Reply With Quote
Old 08-03-2018, 06:05 PM   #2
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,101
Karma: 1931746
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?
KevinH is offline   Reply With Quote
Old 08-03-2018, 06:26 PM   #3
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 4,311
Karma: 14277313
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Tex2002ans View Post
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.
@Tex2002ans: I was able to reproduce this issue on my Linux machine.

@KevinH: The bug also occurs, if the cursor is moved after the word with the right arrow key.
Doitsu is offline   Reply With Quote
Old 08-03-2018, 06:31 PM   #4
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 1,081
Karma: 6030009
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by KevinH View Post
Why left click to position cursor after “the”. Does the same bug happen when a normal right click is used to position the cursor?
If you Right-Click, you'll get the context menu instead. It wouldn't place the actual cursor:

Click image for larger version

Name:	Step2RightClick.png
Views:	35
Size:	45.9 KB
ID:	165420

... 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:

Click image for larger version

Name:	Step2.png
Views:	32
Size:	62.1 KB
ID:	165419

Step 3, when you Left-Click after the highlighted word:

Click image for larger version

Name:	Step3.png
Views:	33
Size:	43.2 KB
ID:	165421

and Step 4, after you begin typing:

Click image for larger version

Name:	Step4.png
Views:	34
Size:	43.3 KB
ID:	165422

first letter types in proper location, cursor will jump to beginning of word, and then second+ letter will appear in beginning.

Quote:
Originally Posted by Doitsu View Post
@Tex2002ans: I was able to reproduce this issue on my Linux machine.

@KevinH: The bug also occurs, if the cursor is moved after the word with the right arrow key.
Thanks for confirming and testing the arrow keys.
Tex2002ans is offline   Reply With Quote
Old 08-03-2018, 06:51 PM   #5
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,101
Karma: 1931746
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.
KevinH is offline   Reply With Quote
Old 08-06-2018, 05:37 AM   #6
RobertKoval
Junior Member
RobertKoval began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2014
Device: PW2
Unhappy

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
RobertKoval is offline   Reply With Quote
Old 08-06-2018, 10:59 AM   #7
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,101
Karma: 1931746
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).
KevinH is offline   Reply With Quote
Old 08-06-2018, 11:40 AM   #8
BeckyEbook
Zealot
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 136
Karma: 481790
Join Date: Jan 2017
Location: Poland
Device: Kindle (Key3, PW2, PW3), Nook (ST, GLP), Kobo Touch, Tolino Vision 2
Build on Windows 10 (64-bit).

After short tests – everything seems fine.
BeckyEbook is offline   Reply With Quote
Old 08-06-2018, 11:53 AM   #9
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,101
Karma: 1931746
Join Date: Nov 2009
Device: many
Thank you!

Quote:
Originally Posted by BeckyEbook View Post
Build on Windows 10 (64-bit).

After short tests – everything seems fine.
KevinH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spellcheck in book view + selected text spellcheck unfairrobot Sigil 2 12-19-2016 05:50 PM
Bug in the News Download List... ibid Recipes 0 10-15-2013 10:55 AM
New prefix; Firmware bug, issue or request list Anak Kobo Developer's Corner 18 04-29-2013 04:25 AM
SPELLCHECK NATION: Does SpellCheck have a dark side? cbaehr Self-Promotions by Authors and Publishers 10 11-07-2010 01:45 PM
Bug in default save location HarryT Calibre 6 08-24-2009 01:48 PM


All times are GMT -4. The time now is 06:19 AM.


MobileRead.com is a privately owned, operated and funded community.