Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-14-2019, 01:35 PM   #31
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,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


Quote:
Originally Posted by Vroni View Post
Searching the internet comes to another conclusion. Macs sold from 2016 have this turned off by a hidden system setting only accessible via command line / terminal.
KevinH is offline   Reply With Quote
Old 11-14-2019, 02:35 PM   #32
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,828
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

Quote:
Originally Posted by KevinH View Post
... 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 ...
odamizu is offline   Reply With Quote
Advert
Old 11-14-2019, 03:10 PM   #33
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,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
KevinH is offline   Reply With Quote
Old 11-14-2019, 05:35 PM   #34
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,828
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:
Originally Posted by KevinH View Post
On a macOS double clicking on an existing epub will not close Sigil if it is already running. You are probably launching a different version of Sigil someplace when you do that!

Sigil remains running when you close the Window (even the last window) and you can see this by looking for the dot in the panel under your Sigil app. If you click once on the panel Sigil with the icon, you should see the top menubar show Sigil and have a File menu enabled to open a new epub.

Dragging a new epub to that Sigil icon in the panel with the dot under it will just open a new Window in the existing version of Sigil just as using the File->Open menu would do.
I understand that if I close the Window (red close button or menu-Close) that Sigil itself is still running (dot next to Sigil icon on Dock), even if there are no visible Windows. I also understand that the only way to make Sigil stop running is to Quit with command-Q or menu-Quit.

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:
Originally Posted by KevinH View Post
It sounds like you are running multiple instance of Sigil at the same time. This is not correct for a mac.
I am so confused now. See above.

Quote:
... flush your Application caches
Is this when I go to Library > Caches and delete the sigil-ebook folder?

Thank you
odamizu is offline   Reply With Quote
Old 11-14-2019, 06:31 PM   #35
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,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.
KevinH is offline   Reply With Quote
Advert
Old 11-15-2019, 11:01 AM   #36
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,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
KevinH is offline   Reply With Quote
Old 11-15-2019, 12:39 PM   #37
Vroni
Banned
Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'
 
Posts: 168
Karma: 10010
Join Date: Oct 2018
Device: Tolino/PRS 650/Tablet
Quote:
Originally Posted by KevinH View Post
Vroni implied with his post that double clicking an epub somehow closed the Sigil window.
He may have said that, she didnt. Its clearly visible in the dock that closing an app is NOT quitting the app.

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?
Vroni is offline   Reply With Quote
Old 11-15-2019, 12:44 PM   #38
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,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

Quote:
Originally Posted by Vroni View Post
He may have said that, she didnt. Its clearly visible in the dock that closing an app is NOT quitting the app.

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?
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 10:21 PM.


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