Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-01-2024, 07:35 PM   #76
icallaci
Guru
icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.
 
Posts: 794
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Quote:
Originally Posted by mrprobert View Post
Kevin,

Thank you. I can't reproduce the exact scenario of another instance, but it involved doing search and replace and losing the highlighting in the code window. My intuition says that it is the same bug.

Much appreciation for your time and effort maintaining and improving Sigil.
I've also noticed a loss of focus in the code window when doing search and replace, but I can't find a reliable way to duplicate it. It's usually something like searching for <i></i> and pressing the backspace key to delete it (instead of clicking the "replace" button). It works the first time, but then the window loses focus and I can't use the backspace key. I am retraining myself to use the "replace" button.
icallaci is offline   Reply With Quote
Old 07-01-2024, 08:38 PM   #77
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,985
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by icallaci View Post
I've also noticed a loss of focus in the code window when doing search and replace, but I can't find a reliable way to duplicate it. It's usually something like searching for <i></i> and pressing the backspace key to delete it (instead of clicking the "replace" button). It works the first time, but then the window loses focus and I can't use the backspace key. I am retraining myself to use the "replace" button.
The View menu has Focus on xxxxxxx actions, which can have kb shortcuts, viz:

Click image for larger version

Name:	Screenshot 2024-07-02 102536.jpg
Views:	326
Size:	870.1 KB
ID:	209317

BR
BetterRed is offline   Reply With Quote
Advert
Old 07-01-2024, 10:07 PM   #78
icallaci
Guru
icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.
 
Posts: 794
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Quote:
Originally Posted by BetterRed View Post
The View menu has Focus on xxxxxxx actions, which can have kb shortcuts, viz:

Attachment 209317

BR
I had no idea that was available. Thanks!
icallaci is offline   Reply With Quote
Old 07-01-2024, 10:47 PM   #79
mrprobert
Enthusiast
mrprobert began at the beginning.
 
Posts: 41
Karma: 46
Join Date: Mar 2017
Device: None
Kevin,

Ok, what I noticed is a change of behavior in doing a repetitive search and replace on a NAV file (sometimes it's faster for me than using the TOC editor.)

Here's my process:

1. Open the NAV in CodeView.
2. Replace all instances of .xhtml with .xhtml#chapterNNN
3. Search for NNN
4. Change the instances of NNN by searching for NNN, typing a number, click find next, and roll through the file: type click type click ...

Works great for me in v2.1.0 but in v2.2.1 it seems that focus on CodeView is lost with every click of the mouse and so this scheme won't work any more.
Attached Thumbnails
Click image for larger version

Name:	Search-Replace.jpg
Views:	159
Size:	205.1 KB
ID:	209318  
Attached Files
File Type: epub Jiminy Cricket.epub (3.3 KB, 101 views)
mrprobert is offline   Reply With Quote
Old 07-01-2024, 11:22 PM   #80
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,383
Karma: 156982136
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Out of curiosity, unless you are planning on having more than the one header at the start of the xhtml file, why would you want to insert an ID?
DNSB is offline   Reply With Quote
Advert
Old 07-01-2024, 11:46 PM   #81
mrprobert
Enthusiast
mrprobert began at the beginning.
 
Posts: 41
Karma: 46
Join Date: Mar 2017
Device: None
I wouldn't, this is just a simplified demonstration of the problem.

-- Mark
mrprobert is offline   Reply With Quote
Old 07-01-2024, 11:50 PM   #82
mrprobert
Enthusiast
mrprobert began at the beginning.
 
Posts: 41
Karma: 46
Join Date: Mar 2017
Device: None
A better example might be:

1. Batch rename regex of files to standard form: Chapter01.xhtml and so forth.
2. Edit the NAV to standardize filenames to chapterNNN.xhtml
3. Apply my scheme.
mrprobert is offline   Reply With Quote
Old 07-02-2024, 12:11 AM   #83
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,383
Karma: 156982136
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by mrprobert View Post
A better example might be:

1. Batch rename regex of files to standard form: Chapter01.xhtml and so forth.
2. Edit the NAV to standardize filenames to chapterNNN.xhtml
3. Apply my scheme.
Would renaming the text files not automagically change the filenames in the nav document? Select the files you want to give the Chapter001+ name to, set the rename files starting at field to Chapter001 and apply. Take a look at nav.xhml (ePub3) or toc.ncx (ePub2) and the filenames will reflect the rename.

And please note that your renaming will leave a mass of IDs in the .opf document untouched since ePub3 has added multiple locations where those can be used.

Again, though my preference to only use IDs where they are needed. I.e. where I use more than one header in a chapter file, perhaps for subchapters.
DNSB is offline   Reply With Quote
Old 07-02-2024, 03:30 AM   #84
mrprobert
Enthusiast
mrprobert began at the beginning.
 
Posts: 41
Karma: 46
Join Date: Mar 2017
Device: None
I'm not sure what you are getting at. If the Nav entries and filenames don't match already then renaming the files won't track inside the NAV anyway. As I said before, I wouldn't use IDs in the manner as shown in my test epub.

I am simply asking what changed between v2.1.0 and v2.2.1 that affects outcome, it's not about form, content or style.
mrprobert is offline   Reply With Quote
Old 07-02-2024, 05:24 AM   #85
BeckyEbook
Guru
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: 781
Karma: 2298438
Join Date: Jan 2017
Location: Poland
Device: Various
Two cents: I understand the problem, but I just didn't notice it, because if I use the keyboard shortcut for the "Find Next" command - the problem does not occur.

I built a new version of Sigil with the latest changes and everything is fine now. I'm sure it will be OK in the next release.
BeckyEbook is offline   Reply With Quote
Old 07-02-2024, 08:25 AM   #86
KevinH
Sigil Developer
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: 8,156
Karma: 5450818
Join Date: Nov 2009
Device: many
I thought that maybe no button should ever get click focus (Tab only not Strong (includes Click)) so tried reverting all of those last night. I am so glad to hear that helped and did not interfere with using the keyboard to change focus.

Thanks for testing that.

Last edited by KevinH; 07-02-2024 at 08:34 AM.
KevinH is offline   Reply With Quote
Old 07-02-2024, 06:23 PM   #87
mrprobert
Enthusiast
mrprobert began at the beginning.
 
Posts: 41
Karma: 46
Join Date: Mar 2017
Device: None
Kevin and BeckyEbook,

Thank you very much for finding a fix.

-- Mark
mrprobert is offline   Reply With Quote
Old 07-03-2024, 03:11 AM   #88
mrprobert
Enthusiast
mrprobert began at the beginning.
 
Posts: 41
Karma: 46
Join Date: Mar 2017
Device: None
Quote:
Originally Posted by KevinH View Post
Yes, that is a bug. Those buttons should only ever have TabFocus so that the tab key to manually move focus can tab to them for Accessibility. Mouse clicks should activate them but not give them focus.

. . .

If you can point me to any other similar instances, I will fix them.
Hi Kevin,

When I do Add Cover with v2.2.1, the file selection is not highlighted with a contrasting color (at first). Here's a screen shot:
Attached Thumbnails
Click image for larger version

Name:	Add-Cover.jpg
Views:	175
Size:	103.1 KB
ID:	209333  
mrprobert is offline   Reply With Quote
Old 07-03-2024, 04:41 AM   #89
mrprobert
Enthusiast
mrprobert began at the beginning.
 
Posts: 41
Karma: 46
Join Date: Mar 2017
Device: None
Kevin,

I think there is a similar issue with the Metadata Editor. When I open the editor, I don't see highlighting of the current field with a contrasting color. Clicking on one of the fields shows highlighting but it disappears after clicking on the remove button.

Thank you for looking into this.

-- Mark
mrprobert is offline   Reply With Quote
Old 07-03-2024, 08:46 AM   #90
KevinH
Sigil Developer
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: 8,156
Karma: 5450818
Join Date: Nov 2009
Device: many
These are all Buttons taking focus for themselves. They should all be fixed now but I will test a build from master to verify that just in case.

Thanks
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil-1.3.0 Released DiapDealer Sigil 8 09-15-2020 08:03 AM
Sigil-0.9.10 Released DiapDealer Sigil 149 11-19-2018 10:20 PM
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 KevinH Sigil 106 10-04-2015 10:41 AM
Sigil 0.8.2 Released user_none Sigil 12 12-22-2014 06:02 PM
Sigil 0.7.0 Released user_none Sigil 75 03-03-2013 12:41 PM


All times are GMT -4. The time now is 07:25 PM.


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