View Single Post
Old 04-18-2016, 01:49 PM   #20
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,816
Karma: 6000000
Join Date: Nov 2009
Device: many
Okay, based on eschwartz proof it is not Qt version specific and based on roger64's link and and then searching the calibre github site to see where QApplication is subclassed and the styles and fonts are set, I think this is definitely QStyle style related not font related. The possible Qt QStyles that are built in include things like gtk, gtk2, fusion, macintosh, windows, windowsvista, motif, plus there are some GNOME related styles as well.

See http://doc.qt.io/qt-5/gallery.html

It seems there are Qt bugs with all versions of Qt and some "gtk" "gtk2" specific QStyles.

The arch linux site has a bit about these QStyle related issues here:

https://wiki.archlinux.org/index.php...K_applications

From looking at the calibre code, the "calibre style" seems to be based off of "fusion" and not the default system style.

So would somone who sees the problem on Linux please try with a "fusion" based style/theme as their system default so that we can see if that workaround makes the problem go away.

If so, I may be able to hard-code some things in Sigil just for Linux that return specific QStyle types to force them to be "fusion" based.

Please let us know what you find out?

Thanks,

KevinH

Last edited by KevinH; 04-18-2016 at 01:52 PM.
KevinH is offline   Reply With Quote