05-01-2024, 06:28 PM | #196 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That looks the inherent Qt dark mode. I've been having trouble getting the SIGIL_USES_DARK_MODE variable to behave lately. I'm actually trying to debug it right now!
I'll see what I can do. But it's getting harder and harder to force a light/dark theme that goes against the system/app setting with Qt on Windows. In the meanwhile, you should be able to choose a custom color scheme on Windows: Apps dark/System light (or vice versa) that works well for me (with these latest Sigil betas). I realize that's a system-wide setting and not the Sigil-only override you're looking for, but we'll see what I can do. |
05-01-2024, 06:32 PM | #197 |
Guru
Posts: 783
Karma: 2298438
Join Date: Jan 2017
Location: Poland
Device: Various
|
That's what I've been testing and I confirm that it works amazingly well. By changing the mode on the system, Sigil adapts its theme to the system.
|
05-01-2024, 06:42 PM | #198 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I understand why the logic is failing to force a light theme when SIGIL_USES_DARK_MODE is set to 0, but that logic is turning very pretzel on me. I'll see if there's non-hacky way to fix it while preserving all other theming capabilities (including the inherent Qt dark fusion theme if desired).
|
05-01-2024, 10:25 PM | #199 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm just not certain I'm going to be able to keep the SIGIL_USES_DARK_MODE override any longer. Forcing a particular theme (from within Sigil) while simultaneously supporting on-the-fly switching when system colors change has become untenable, I'm afraid.
I'll keep trying for a bit, but I don't have much hope of getting it all to play nicely together. So I'll probably need to remove it. The good news is that it's easy enough to switch Windows themes/colors (with Sigil still running) if one needs to temporarily force a particular Sigil theme You can even switch it to see Sigil light with Windows dark or Sigil dark with Windows light. I just don't see people missing it for very long. Last edited by DiapDealer; 05-01-2024 at 10:31 PM. |
05-02-2024, 03:48 PM | #200 | |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2023
Device: none
|
Quote:
|
|
05-02-2024, 03:51 PM | #201 |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2023
Device: none
|
Don't worry, thanks, I undestood the problem vs. the solution )
(I forgot to add quote speaking about tables, sorry. I am newbie in this :/ ) Last edited by Jaco; 05-02-2024 at 03:53 PM. |
05-02-2024, 03:58 PM | #202 | |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2023
Device: none
|
Quote:
|
|
05-06-2024, 01:38 PM | #203 |
Connoisseur
Posts: 78
Karma: 2138296
Join Date: Nov 2016
Device: ipad, Kindle Scribe, Kobo Libra 2
|
Editor for alt-text entries
When I have a lot of images that need alt-text, the "Update Alt for Each Image" within the Access-Aide plugin is very helpful. It's the normal way that I now add the alt-text entries.
But while using this, the access-aide plug-in is running. This prevents access to sigil for checking and other edits, while the alt-text creation is going on. Would it be possible, as well keeping it in Access-Aide, to have a separate instance of the "Update Alt for Each Image" window, so it could be shown alongside other tabs, or popup like "Clip Editor" and allow editing in just the same way that we do when moving between html and opf files etc. Thanks Jim |
05-06-2024, 04:36 PM | #204 |
Sigil Developer
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
|
Unfortunately, that is not how plugins are designed to work in a safe manner (ie preventing a plugin from crashing Sigil). Sigil can not proceed until the PluginRunner has exited.
That said, you can of course open a second instance of Sigil to continue work on some other epub. |
05-06-2024, 05:02 PM | #205 |
Connoisseur
Posts: 78
Karma: 2138296
Join Date: Nov 2016
Device: ipad, Kindle Scribe, Kobo Libra 2
|
Thanks for the explanation Kevin.
I was thinking that since the code for the "Update Alt for Each Image" was already written, it might be doable to turn that into a separate tool, independent of the plug-in. I do not know of any alt-text editor for an epub, other than the one you have built into Access-Aide. And I am now using it for just about every project (55 illustrations in the current project!) Jim |
05-06-2024, 05:41 PM | #206 |
Sigil Developer
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
|
Even if I did reuse the code internally in Sigil you could theoretically be live editing more than one xhtml file at the same time. So that type of dialog would have to be blocking / modal and only work on xhtml file at a time. Not any different than what you can accomplish with a simple Find and Replace for img tags and updating each tag's alt data in CodeView while looking at the image in the synced Preview.
So there would be no real benefit in the end. Glad you find AccessAide useful. |
05-06-2024, 06:12 PM | #207 |
Connoisseur
Posts: 78
Karma: 2138296
Join Date: Nov 2016
Device: ipad, Kindle Scribe, Kobo Libra 2
|
Thanks Kevin. Understood. It's all OK.
I'll keep on using the Alt editor in Access-Aide. That plugin is far more than useful. It's indispensible. :-) Jim |
05-18-2024, 03:50 AM | #208 |
Chalut o/
Posts: 421
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Damn, I've just noticed that PageEdit doesn't have a page for setting keyboard shortcuts. That would be really handy, especially for uniform some common actions that you've customized in Sigil.
|
05-18-2024, 11:22 AM | #209 | |
Sigil Developer
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
|
Quote:
You can always tweak the source and build your own. Perhaps some day we could add a light-weight json file that users could hand edit to allow some degree of short cut customization. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Icon Redesign for future 1.0 Release of Sigil | shorshe | Sigil | 38 | 06-07-2016 12:29 AM |
Kindle Software Preview Release and calibre 'Fetch News' items | tomsem | Devices | 25 | 07-20-2011 09:02 AM |
Will amazon release another cheaper version of DX in the near future | CalvinL | Amazon Kindle | 6 | 07-31-2010 06:01 PM |
Suggestion For Future Release Of Calibre | clambert | Calibre | 5 | 07-10-2010 02:45 PM |
dotReader alpha release next month with future iLiad support possible | Alexander Turcic | News | 7 | 09-28-2006 01:24 PM |