![]() |
#16 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
No it doesn't help. I can't get any debug output out of the destructor OR the close() slot. Either the segfault is happening first (though I can't see any other missing data from Sigil.ini at first glance), or something else is going on.
It doesn't make any sense that I can't get any debug output written to stdout from the close() slot. Because the WriteSettingsVisible(false) IS being correctly written to the ini file from the close() slot. So I can't say for certain whether the destructor is being called or not. |
![]() |
![]() |
![]() |
#17 | |
Member
![]() Posts: 21
Karma: 88
Join Date: Mar 2008
Location: Paraguay
Device: Samsung Galaxy Tab S2
|
Quote:
|
|
![]() |
![]() |
![]() |
#18 | |
Member
![]() Posts: 21
Karma: 88
Join Date: Mar 2008
Location: Paraguay
Device: Samsung Galaxy Tab S2
|
Quote:
|
|
![]() |
![]() |
![]() |
#19 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
OK. Very weird. I don't think the segfault is connected.
It's the ToC QDockWidget for whatever reason. If it's visible, the settings won't get written to disk and the destructor never fires. You have to close the ToC dockwidget, close Sigil (still no settings written at this point), and then relaunch Sigil (with the toc dockwidget closed). When next closed, all events fire, all debug output prints to stdout, and the F&R settings all get flushed to disk. All will work normally --- until the Table of Contents dockwidget is made visible again. Then it's lather, rinse, repeat. Curious to see if poxi1023 can confirm the same behavior. Last edited by DiapDealer; 02-07-2020 at 08:21 PM. |
![]() |
![]() |
![]() |
#20 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,770
Karma: 6000000
Join Date: Nov 2009
Device: many
|
|
![]() |
![]() |
![]() |
#21 | |
Member
![]() Posts: 21
Karma: 88
Join Date: Mar 2008
Location: Paraguay
Device: Samsung Galaxy Tab S2
|
Quote:
|
|
![]() |
![]() |
![]() |
#22 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That's platform theme stuff, I think. From the CLI type "unset QT_QPA_PLATFORMTHEME" (without the quotes) before typing "sigil" and see if that output goes away. I always do that when debugging to make sure none of the platform extras are getting in the way. You're only unsetting the variable for that cli session, so there's no worries. Close it, open another terminal, and it will all be back to the way it was.
|
![]() |
![]() |
![]() |
#23 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,770
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Perhaps never having the TOC dockwidget open prevents the segfault allowing things to work?
|
![]() |
![]() |
![]() |
#24 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
![]() |
#25 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
The gdb backtrace on the segfault shows it to be something in QtWebEngineWidgets. But without debug versions of Qt/QtWebEngine 5.9.5, I'm unlikely to get much more detail than that. |
|
![]() |
![]() |
![]() |
#26 |
Member
![]() Posts: 21
Karma: 88
Join Date: Mar 2008
Location: Paraguay
Device: Samsung Galaxy Tab S2
|
I do too. New searches get remembered, as long as the ToC window remains closed. I have to say that I use that window quite regularly, so I'd prefer some other solution, if possible.
|
![]() |
![]() |
![]() |
#27 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
![]() |
#28 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,770
Karma: 6000000
Join Date: Nov 2009
Device: many
|
FWIW, Qt 5.12.7 has now been released and has a number of bug fixes. Would an official Qt binary stand any chance of working with these Linux distributions?
|
![]() |
![]() |
![]() |
#29 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,770
Karma: 6000000
Join Date: Nov 2009
Device: many
|
BTW, is the TOC dockwidget the only one that has impact? Does closing other dockwidgets help?
|
![]() |
![]() |
![]() |
#30 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
@pazos (earlier in the thread) is building Sigil against Qt 5.14.x on the same version of Ubuntu as poxi1023. I'm assuming he's using a binary version from Qt.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Behaviour of history and spaces in find/replace text boxes | arspr | Editor | 0 | 01-01-2014 05:04 PM |
Find Replace | unrulyguides | Sigil | 5 | 02-17-2012 08:38 PM |
Find/Replace Won't Find | Rand Brittain | Sigil | 7 | 09-24-2011 04:35 AM |
Find / replace | bremler | Sigil | 6 | 12-17-2010 03:26 PM |
Using Find/Replace with BD | Otter | Sony Reader | 7 | 02-28-2009 01:49 PM |