![]() |
#16 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 2204
Join Date: Jul 2009
Device: none
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#17 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: May 2012
Device: Kindle Oasis, Scribe, Paperwhite // Boox Palma
|
In the previous version of Sigil, the "automatic file fix" pop-up had "Yes" as the default highlighted selection. This current update defaults to highlight "No" instead. Is it possible to have that revert back so that "Yes" is the default?
With my workflow, I open a batch of epubs at a time that need to be automatically fixed and it's much faster for me to hit the return key instead of now having to use the cursor to select and click "Yes". |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,784
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
There is only one commit to the source code file that contains that messagebox since the last version of Sigil, and I see no changes that would alter which button that particular messagebox would default to. Kevin may have more of an idea on that, though.
Perhaps the widget highlight code? |
![]() |
![]() |
![]() |
#19 |
Member
![]() Posts: 10
Karma: 10
Join Date: Nov 2020
Device: Kindle Paperwhite
|
Hello, and thank you for your great work.
I wanted to ask if this is a bug in the new version. That is, when I rename the xhtml files in the "Book Browser" window, now the "id" and "idref" are no longer renamed in the content.ops file, as happened in previous versions. Ah, I have windows 11 64 bit |
![]() |
![]() |
![]() |
#20 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,556
Karma: 152905840
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,959
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Yes we never modified the idref/id in the manifest on rename as all they need to be is unique, so no need to ever change them. The user is free to pick and set his own unique id in the opf after a rename. The id need never match the file name. That was just an expedient to generate unique ids (since the filename must be unique, we used that).
Last edited by KevinH; 06-17-2024 at 04:01 PM. |
![]() |
![]() |
![]() |
#22 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,959
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Quote:
We can try to work around this by specifying which one we want to the default button instead of allowing Qt to choose. I will add that for the next release. PS, Use the Tab key to shift focus to the Yes button, no cursor needed. PPS, I have now pushed a fix for this to master. The fix will appear in the next release. Last edited by KevinH; 06-17-2024 at 04:24 PM. |
|
![]() |
![]() |
![]() |
#23 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,630
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
#24 | |
Member
![]() Posts: 10
Karma: 10
Join Date: Nov 2020
Device: Kindle Paperwhite
|
Quote:
Doing it manually for so many files will now be complicated ![]() I'll just say it: it might be useful to insert an alternative option "rename the id/idref too" ![]() |
|
![]() |
![]() |
![]() |
#25 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,959
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Yes, Sigil has never done that since we moved away from that horrid old xml processor way back before Sigil 1.0.
As for id strings being named after the file itself, there is no need to do this, no one reading it will ever see it and the only thing to use it is the opf internally. All it has to be is unique. Any "new feature" to re-id all files in the OPF would have to be done by a Sigil plugin, as it is not suitable for Sigil itself. Perhaps you can convince a Sigil plugin developer to help you create one. Do not forget to properly update the spine if needed and to watch for smil and other things that use the ids for references such as metadata elements in the form of refines. Last edited by KevinH; 06-17-2024 at 04:23 PM. |
![]() |
![]() |
![]() |
#26 |
Enthusiast
![]() Posts: 42
Karma: 10
Join Date: May 2021
Device: PW 2 3gb
|
Just gets better and better, thanks. I do still wish there was a horizontal scroll at the top for tabs, but I understand it's not gonna be a thing.
Well done, thank you. |
![]() |
![]() |
![]() |
#27 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,959
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Quote:
Sorry but Qt's QTabBar does not directly support using a scrollbar to scroll across tabs. Last edited by KevinH; 06-17-2024 at 07:23 PM. |
|
![]() |
![]() |
![]() |
#28 | |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: May 2012
Device: Kindle Oasis, Scribe, Paperwhite // Boox Palma
|
Quote:
![]() Last edited by wildfire070; 06-17-2024 at 10:15 PM. |
|
![]() |
![]() |
![]() |
#29 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,959
Karma: 5449552
Join Date: Nov 2009
Device: many
|
It used to work for me and I am on macOS. Tab and Shift-Tab is supposed to move the focus forward and back (respectively) in the focus chain on all platforms. So something is strange. Perhaps the QMessageBox is more broken or finicky than I thought.
Using the tab key should always move focus in a Qt app among buttons even on macOS systems. I just tried on my macOS machine and tab did nothing. Seems, I need to do more work here. Last edited by KevinH; 06-18-2024 at 09:11 AM. |
![]() |
![]() |
![]() |
#30 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,959
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Quote:
So exit completely out of Sigil. Then go to your MacOS System Settings -> Keyboard Then look for "Keyboard Navigation" and turn it on using the slide button on the far right. This will allow you to use Tab and Shift-Tab to move focus forward and back on macOS across the buttons using just the tab key. This will save you from having to use the mouse to click on the Yes button until a new version is released. Just tested this on my mac and it works just fine. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |