Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-24-2021, 04:16 AM   #1
Dr.Strangelove
Member
Dr.Strangelove began at the beginning.
 
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?
Dr.Strangelove is offline   Reply With Quote
Old 06-24-2021, 06:54 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Dr.Strangelove View Post
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?
Is that a KDE/Plasma desktop environment? If so, it sounds like there might be an issue with the system Qt theming plugin. You could try changing your KDE desktop theme to verify if it changes anything.

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.
DiapDealer is offline   Reply With Quote
Advert
Old 06-24-2021, 07:35 AM   #3
Dr.Strangelove
Member
Dr.Strangelove began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Mar 2019
Location: Hamburg/Germany
Device: Kindle Paperwhite 7. Generation
no, it is xfce
Dr.Strangelove is offline   Reply With Quote
Old 06-24-2021, 07:52 AM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is offline   Reply With Quote
Old 06-24-2021, 08:23 AM   #5
Dr.Strangelove
Member
Dr.Strangelove began at the beginning.
 
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.
Dr.Strangelove is offline   Reply With Quote
Advert
Old 06-24-2021, 08:55 AM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is offline   Reply With Quote
Old 06-24-2021, 08:58 AM   #7
Dr.Strangelove
Member
Dr.Strangelove began at the beginning.
 
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 :-)
Dr.Strangelove is offline   Reply With Quote
Old 06-25-2021, 09:10 AM   #8
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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?
DiapDealer is offline   Reply With Quote
Old 06-26-2021, 05:29 AM   #9
Dr.Strangelove
Member
Dr.Strangelove began at the beginning.
 
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.
Dr.Strangelove is offline   Reply With Quote
Old 06-26-2021, 07:40 AM   #10
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 07:42 AM.


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