PyQtDarkTheme icon indicating copy to clipboard operation
PyQtDarkTheme copied to clipboard

No radio button, checkbox or icon is visible

Open tankren opened this issue 2 years ago • 6 comments

Hi there, this theme is really good, but I dunno why it's working not well on my computer. pls see the screenshot below and tell me what's possibly wrong? I uninstalled and reinstalled but still no luck. thx! Snipaste_2022-08-14_16-05-54

tankren avatar Aug 14 '22 08:08 tankren

Sorry for the late reply. I think this issue relate #35. If you are using a qt version lower than 5.12 try updating.

5yutan5 avatar Nov 06 '22 09:11 5yutan5

@5yutan5 Hi. I got the same problem with qt 6.4.1, PySide6, python3.7 on Windows I checked svg urls in the translated stylesheet and they do exist in cache folder. BTW qdarkstyle's icons works correctly. Thanks.

MrkKSen avatar Dec 23 '22 08:12 MrkKSen

@MrkKSen Thank you for the report. Can you show me how to install python and PySide6? I could not replicate this issue on my Windows 11.

qdarkstyle uses png. qdarktheme uses SVG, so I think there is a problem with the use of SVG.

5yutan5 avatar Dec 25 '22 04:12 5yutan5

Also, what is your qdarktheme version?

5yutan5 avatar Dec 25 '22 04:12 5yutan5

Thank you for response. I am using conda envrinment, and install PySide6 with pip. qdarktheme version is 2.0.0. I just created a new conda env, install PySide6 and qtdarktheme and ran demo, and icons just appeared! So there maybe something wrong with the former env. (Although I had reinstalled Pyside6 and qtdartheme...) I'm going to install other packages I need, if the same issue came up at some point, I would report again. Sorry to bother you, and thanks for the wonderfull theme!

MrkKSen avatar Dec 26 '22 06:12 MrkKSen

Thanks for this theme @5yutan5

I also have a problem with radio buttons not rendering, but only in Linux Gnome. In Windows 10, the radio buttons render correctly.

The solution from PySide6.QtSvg import * from #35 does not help.

pyqtdarktheme             2.1.0         Flat dark theme for PySide and PyQt.
pyside6                   6.5.1.1       Python bindings for the Qt cross-pl...
pyside6-addons            6.5.1.1       Python bindings for the Qt cross-pl...
pyside6-essentials        6.5.1.1       Python bindings for the Qt cross-pl...

jamesdbrock avatar Jul 16 '23 03:07 jamesdbrock