View Single Post
Old 05-15-2011, 12:52 AM   #1
Ahmad Samir
Zealot
Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!
 
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
Two issues running Sigil under KDE4 (using system Qt4)

Hi. There're two issues that I've seen when using Sigil, built from source, when running it under KDE4:

- Using "Save As" an error message is displayed (like the one in this issue). It looks like unchecking "Automatically select filename extension (.epub)" in the "Save As" dialogue fixes this issue and I don't get the error message dialogue (which appears 2-3 times).

- The second issue appears when dragging chapters to reorder them in the Book Browser panel, the chapter would move, but then it would appear as a blank entry that can't be left clicked and when right-clicking it, Sigil segfaults (this is similar to this issue ). It indeed looks like a KDE4 issue, the workaround I found is loading Sigil with unsetting the QT_PLUGIN_PATH environment variable:
Code:
QT_PLUGIN_PATH=  /usr/bin/sigil
the issue seems to stem from libkde.so (in /usr/lib*/kde4/plugins/gui_platform), I've no idea what the issue is exactly, though. Note that this method will make Sigil use the Qt native file chooser (not the KDE4 one), also Sigil won't use the Oxygen widget style (the default KDE4 upstream style).

(Since these two issue haves bugged me for a long time, I thought I'd share my findings... ).

Last edited by Ahmad Samir; 05-15-2011 at 09:07 PM.
Ahmad Samir is offline   Reply With Quote