![]() |
#1 |
Member
![]() Posts: 15
Karma: 10
Join Date: Mar 2019
Location: Hamburg/Germany
Device: Kindle Paperwhite 7. Generation
|
Mouseover menu description is black
I have a problem with the mouseover menu description. The area is completly black:
![]() I compiled sigil 1.6.0 from source under Ubuntu 21.04. But the version 1.4.3 which came with Ubuntu has the same problem, so I guess it might be an incompatibilty with any depending package. Any idea? |
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Or from a command prompt you could try launching sigil without the system theme plugin: Code:
unset QT_QPA_PLATFORMTHEME && sigil Last edited by DiapDealer; 06-24-2021 at 07:00 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 15
Karma: 10
Join Date: Mar 2019
Location: Hamburg/Germany
Device: Kindle Paperwhite 7. Generation
|
no, it is xfce
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Oh. Thanks. I'll keep investigating. I'll try to get VM set up to match.
Moving this to its own thread since it doesn't seem to be directly related to Sigil 1.6.0 Last edited by DiapDealer; 06-24-2021 at 08:03 AM. |
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 15
Karma: 10
Join Date: Mar 2019
Location: Hamburg/Germany
Device: Kindle Paperwhite 7. Generation
|
unset QT_QPA_PLATFORMTHEME && sigil works!
Does sigil for Linux use Qt? Xubuntu, which runs under gtk3, uses qt5-style-plugins to use native Gtk+ style for Qt apps. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes, sigil is a Qt app. I suspected it was a style issue. Have you tried different gtk styles to see if it's related to one style in particular? Because I just set up a stock xubuntu 21.04 VM, and the tooltips on the system Sigil 1.4.3 seem to work fine.
You could add that unset command to Sigil's launch script (/usr/bin/sigil or /usr/local/bin/sigil depending on whether you're using the system sigil or the self-compiled). Are you using third-party video drivers? Qt 5.15 could have some issues with non-proprietary drivers. |
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 15
Karma: 10
Join Date: Mar 2019
Location: Hamburg/Germany
Device: Kindle Paperwhite 7. Generation
|
as a workaround, I added the line
unset QT_QPA_PLATFORMTHEME in /usr/local/bin after "export LD_LIBRARY_PATH" Thank you :-) |
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
For the record: I've tried every theme that comes with Xubuntu 21.04 (with both the gkt2 and gkt3 QT_QPA_PLATFORMTHEME set) and can't reproduce the solid black tooltips. Did you use any utilities to customize your gtk theme colors?
|
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 15
Karma: 10
Join Date: Mar 2019
Location: Hamburg/Germany
Device: Kindle Paperwhite 7. Generation
|
I have qt5ct installed. Normally this is not necessary, but I needed it for configuring the look of certain KDE apps. I noticed an error message when opening qt5ct:
QT_QPA_PLATFORMTHEME environment variable is not set (required value:qt5ct) I had to change /etc/X11/Xsession.d/56xubuntu-session and comment out export QT_QPA_PLATFORMTHEME=gtk2 Now the problem is solved and I can revert my workaround. Thank your for your help. |
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You can try Kvantum instead of qt5ct. It's typically a KDE thing, but it can be configured to work with gkt+ themes as well. It's what I use on Arch Linux to theme Qt apps. You can even use it to target individual apps. I can't remember if qt5ct offers the same granularity.
Last edited by DiapDealer; 06-26-2021 at 07:44 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hyperlinks :Section Menu and Main menu not clickable/working in recipe generated | mitra | Recipes | 0 | 01-22-2016 04:37 AM |
Book description gone from menu? | badgoodDeb | Amazon Kindle | 10 | 11-23-2014 12:45 AM |
Aura Grey text in book, Black text in menu | aluisscp | Kobo Reader | 4 | 09-03-2014 07:10 PM |
section menu/ main menu link auto added even if output-profile was set to kindle | flyingfoxlee | Recipes | 1 | 05-20-2013 11:42 PM |
main menu, section menu, css for calibre mobipocket output | naisren | Calibre | 2 | 08-23-2010 11:42 PM |