12-19-2019, 07:45 PM | #31 |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
OK. Thanks. All that excitement, but nothing there for me :-)
(Though I'm sure there are other less dramatic improvements.) |
12-19-2019, 07:50 PM | #32 |
Sigil Developer
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
|
See the full list of New Features in the release notes
|
Advert | |
|
12-19-2019, 08:04 PM | #33 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
And the thing about forcing an organizational standpoint to conform to Sigil's organization preferences, is that as KevinH mentioned, you might need to add resources to your book which require their own organization, and should be treated as a private component. A bit like a git submodule. |
|
12-20-2019, 09:00 AM | #34 | ||
Groupie
Posts: 159
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
Quote:
Quote:
Yesterday there were no broken links and I got about 20 empty files (= extra splits). Could be a sticky mouse button? In any case I will let you know if this happens again. I'm using windows 8.1. |
||
12-20-2019, 09:27 AM | #35 |
Groupie
Posts: 159
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
I have a question about keyboard localisation and keyboard shortcuts... I'm using Sigil with the interface in english but my keyboard is french and my system language is french.
I am trying to set a keyboard shortcut for "Restructure to Sigil norm". I want to use CTRL+* since it seems like an easy to remember and conflict-free choice. But when I type that in the preferences dialogue, Sigil tells me I have typed CTRL+\ and it conflicts with Back. The * on my keyboard is not on the same key as the \ so I thought maybe in this specific case only Sigil does not recognise my keyboard locale, but in regular use it obviously does because if I am writing a regex for instance the S/R dialogue correctly enters the *. I tried switching the interface language to french and relaunching Sigil, this did not work, then I tried looking up an english language keyboard to see where is the asterisk on that one and typing the equivalent keys for * (CTRL+SHIFT+8) but then Sigil said I typed CTRL+SHIFT+\ (in fact to type \ on my keyboard I need to type ALT GR+8). Now I am just confused... Is this a bug? Is * forbidden in keyboard shortcuts? Am I doing something wrong? This is what my keyboard looks like: Thanks to anyone who can help me... |
Advert | |
|
12-20-2019, 09:28 AM | #36 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I can't get it to happen on any of my Windows systems (without holding the return key down too long) with any version of Sigil. I suppose there could be something flaky with Qt's KeyEvent that's been exacerbated in Qt5.12.6, but that seems really weird to me.
Do you have any kind of keyboard macro software installed? |
12-20-2019, 09:33 AM | #37 | |
Groupie
Posts: 159
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
Quote:
Is the question about the empty files on split or the keyboard localisation? |
|
12-20-2019, 09:39 AM | #38 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
In the meantime, close Sigil, edit the Sigil.ini file and add the desired key sequence for the MainWindow.StandardizeEpub event manually. Sigil will honor the shortcut after that. Sorry. Last edited by DiapDealer; 12-20-2019 at 09:47 AM. |
|
12-20-2019, 09:46 AM | #39 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Actually ... I dislike the use of the term "empty files." The files actually have quite a bit in them. There's just no content that renders in the body section. And the only way that happens if Sigil believes the keyboard shortcut has been received when the cursor is before any renderable content. If it happens when the menu-item is used, then something is causing a signal to be fired more than once for some reason. Unless someone can find the conditions under which it consistently happens ("random" is not something I believe in when it comes to bugs), there's not much I can do. |
|
12-20-2019, 09:49 AM | #40 | |
Groupie
Posts: 159
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
Quote:
|
|
12-20-2019, 10:00 AM | #41 | ||
Groupie
Posts: 159
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
Quote:
Quote:
Coincidentally I just got the error message about splitting again so I can tell you exactly what it says: "The href Section0018.xhtml#_idContainer002 found in OEBPS/Text/toc.xhtml does not exist (and there may be more). Splitting or merging under these conditions can result in broken links. Do you still wish to continue?" The error is completely accurate and normal as I have not yet generated the toc in this book and a lot has changed since I exported from InDesign so I am not bothered if there are bad links in it. The first time I got the message I clicked yes and got one extra split. Then I tried to replicate the behaviour so I set my cursor in the original file at the same place, clicked the split button, got the message, clicked yes... and got no extra split. Three times. So I'm really not sure what to say about that. But I will report if it happens again. |
||
12-20-2019, 10:02 AM | #42 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
@Kevin: if you're reading this, what do you think about Qt's own warning that the Qt::KeyboardModifiers function of QtKeyEvent we use in KeyboardShorcutsWidget.cpp is "untrustworthy" ? That section of Sigil is deep, dark, unpenetratable magic to me. Last edited by DiapDealer; 12-20-2019 at 10:05 AM. |
|
12-20-2019, 10:07 AM | #43 | |
Groupie
Posts: 159
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
Quote:
It's all deep, dark, unpenetratable magic to me, so thanks again and all my respect. |
|
12-20-2019, 10:09 AM | #44 |
Sigil Developer
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
|
This is just a wag on my parts... but multiple threads are used to validate that a split is safe. Typically we need to collect/sync/reap all such threads before returning from the routine that spawns them.
Could extra threads being created to validate a book with many existing chapters somehow be related? How many files/sections/chapters were in your book when it exhibited this behaviour? One big one being split? Or many already existing? |
12-20-2019, 10:13 AM | #45 |
Sigil Developer
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Hmm, I have not looked at the keyboard shortcut code in a very long time as it has not been touched in years. I will try and dig into it to see if anything is obvious.
Normally code determines the key sequence to be used, but in the ShortCut Manager we use the key sequence generated by the user which would be keyboard mapping dependent. Hmm worth a look? Kevin |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil-0.9.18 Released | DiapDealer | Sigil | 20 | 09-13-2019 09:08 AM |
Sigil-0.9.4 Released | KevinH | Sigil | 40 | 03-26-2016 10:15 AM |
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.3 Released | user_none | Sigil | 10 | 02-02-2015 04:32 PM |
Sigil 0.4.2 Released | user_none | Sigil | 41 | 10-26-2011 06:03 AM |