![]() |
#31 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,789
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Wow that is news to me! All macs have had that self test start-up chime since forever ... I wonder why they changed that?
I am letting travis build a new macOS version for you and Odamizu to test with that disables the native QFileDialog widgets and uses Qt's version, to see if that has any impact at all. I will pm both of you with an updated download link when that automated build finally completes. Please give the new version a try as it has all of the latest bug fixes in place in case they are contributing to the problem. KevinH |
![]() |
![]() |
![]() |
#32 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,830
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
Success! I ran a few quick tests with 0.9.991-build211 and so far so good. No leftover dialog boxes. I will play with it more in a bit, but wanted you to know this right away
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,789
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Wow so the bug is in Qt somewhere in how it uses native widgets for QFileDialogs.
We use a bunch of them in MainWindow, ClipSettings, Preferences, etc. i only changed the ones in BookBrowser. So it looks like I will have to track down all uses of QFileDialog and set their options to not use native widgets but only for macOS since no one else is reporting any difficulties here. I will start that process tomorrow unless a better solution is found. Thanks for testing it. KevinH |
![]() |
![]() |
![]() |
#34 | |||
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,830
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
I repeated the tests, and indeed the new build 211 solves this problem. Yay!
I wanted to ask about some of your earlier comments. Quote:
But what do you mean "You are probably launching a different version of Sigil someplace when you do that!" ?? I usually leave Sigil "open and running" (dot next to Sigil icon in Dock) without a Window open. In other words, when I finish working on an epub, I usually just save and close the Window, but leave Sigil running (with dot in Dock). I may then open a different epub or go do something else and then come back and re-open the epub I was working on. I only Quit Sigil when I'm done for the day. Is this a problem? Should I avoid Closing a Window and use Quit instead? Quote:
Quote:
Thank you |
|||
![]() |
![]() |
![]() |
#35 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,789
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Vroni implied with his post that double clicking an epub somehow closed the Sigil window. I was pointing out it did not. If he was actually seeing that, he might be running multiple instances of Sigil at the same time.
That is all I was trying to say. When you have multiple versions of Sigil on you system, double-clicking an epub to launch Sigil may actually launch a different version depending on where each is located. It is better to drag and drop the epub on the Sigil icon with the dot in the panel to launch the new epub or use the file open menu to makesure youknow which version of Sigil is running. |
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,789
Karma: 6000000
Join Date: Nov 2009
Device: many
|
BTW: I have now pushed a fix to master that converts all QFileDialogs to use QFileDialog::DontUseNativeDialog just for macOS (and for Linux where it was set that way before).
This should workaround a number of ignored and closed as too old Qt bugs related to QFileDialog on macOS that report that the native versions of QFileDialogs do not always properly exit from exec(). The reports were all basically ignored by Qt but made it clear that this seems to hit only some machines and some users and even then not consistently. My guess is that this is a structure alignment or signal issue issue but no one at Qt has bothered to look more closely. For reference see here are many of the related Qt bug reports for QFileDialog and macOS: https://bugreports.qt.io/browse/QTBUG-57009 https://bugreports.qt.io/browse/QTBUG-66138 https://bugreports.qt.io/browse/QTBUG-69437 https://bugreports.qt.io/browse/QTBUG-71234 https://bugreports.qt.io/browse/QTBUG-76563 |
![]() |
![]() |
![]() |
#37 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 10010
Join Date: Oct 2018
Device: Tolino/PRS 650/Tablet
|
Quote:
I downloaded the test app but didnt had time to test it. As you already changed all Filedialog instances, are you still interested in my test result? |
|
![]() |
![]() |
![]() |
#38 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,789
Karma: 6000000
Join Date: Nov 2009
Device: many
|
No, if you have don't have interest in helping to further test Sigil-0.9.991 do not bother to confirm as we already have confirmation.
Thanks, Kevin |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
File dialog in KDE Plasma 5 on Linux | firus | Devices | 9 | 08-05-2017 12:26 AM |
Linux - calibre 2.0 file dialog hang and workaround | Adoby | Calibre | 0 | 08-22-2014 03:25 PM |
File Open dialog causes Calibre 64bit to crash | glypto | Calibre | 4 | 01-10-2014 04:51 AM |
File/Folder Dialog errors | Remnant | Devices | 4 | 09-26-2013 11:11 PM |
File selection widget | BartZorn | Sigil | 8 | 01-25-2013 02:41 AM |