![]() |
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(Since these two issue haves bugged me for a long time, I thought I'd share my findings... :)). |
Thanks for these workarounds. The error on save-as was very annoying, but unchecking "automatically select..." seems to have stopped it.
As for the other, drag-to-reorder, do I understand correctly that your solution only applies to Sigil when built from source under KDE4, as opposed to the "canned" linux build? |
Quote:
Note that I usually use Sigil built from source (and only test the upstream .bin on occasion when there's a bug or something). I forgot to say I run KDE 4.6.3 and Qt 4.7.3. |
For what it's worth, after upgrading to KDE 4.6.3, I tried the suggestion of unsetting QT_PLUGIN_PATH again with the pre-compiled 0.3.4 Sigil version, i.e.
Code:
$ QT_PLUGIN_PATH= /opt/sigil/sigilPreviously I was using KDE 4.4.something, but I may also simply have made a typo when typing in the command. |
If you're using the pre-compiled sigil installed from the .run executable, then you should simply load sigil using /opt/sigil/sigil.sh , it sets the correct evn vars to use the bundled Qt libs.. etc and shouldn't have that KDE4 bug(s) at all. :)
|
Quote:
I'm using Sigil 0.3.4 installed from Sigil-0.3.4-Linux-Setup.bin on a Debian Sid distro, KDE version 4.6.3 and looks like QT version 4.7.3-1 . If I start it from the sigil.sh shell script it still has the bug that prevents dragging files to reorder them. Even though the shell script redirects LD_LIBRARY_PATH to Sigil's own QT libs. If I start it just with /opt/sigil/sigil it throws all kinds of warnings and errors because QT_PLUGIN_PATH still points to the default kde plugin paths. (no surprise here.) But if I start it with QT_PLUGIN_PATH unset (as above) it seems to run, and dragging files around works as expected. |
Ah, I see; thanks for the clarification (I mainly tested with 0.4.0 and KDE 4.6.x).
|
| All times are GMT -4. The time now is 07:17 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.