I guess that is a project in itself. I will look at the changelogs for PyQt and see if I can suss out what changed and why it breaks the stylesheet.
I suppose I could include the caveat that the stylesheets only support certain versions and combinations of Python and PyQt, assuming I can find an easy way to test for that. I was more envisioning having Leo itself support 5.10, not as a requirement, but as generalized support for all versions of PyQt. Users who are not programmers will not be equipped to set-up python environments (like virtualenv or anaconda) in order to change their OS to support Leo. For example, I use Chakra Linux, a partially rolling KDE distribution that installs python2 and PyQt 5.10 as the default. Some users may know enough to preface launchLeo.py with python3 if python3 is desired, but that will still give them PyQt 5.10. So anyone running Leo on a distribution that defaults to PyQt 5.10 will suffer broken themes. I use Qt Designer to validate my stylesheets when I have problems. The current stylesheet for Breeze Dark passes. It loads correctly under PyQt 5.6.2. It does not load correctly under PyQt 5.10 and I do not know why (yet). Chris On Sun, Mar 11, 2018 at 4:02 PM, Edward K. Ream <edream...@gmail.com> wrote: > On Sun, Mar 11, 2018 at 3:44 PM, Chris George <technat...@gmail.com> wrote: > >> GammaRay requires PyQt 5.10 to work. I can build it and use it to load Leo >> and it works great. Very useful. > > > Thanks for this info. > >> >> But PyQt 5.10 breaks my stylesheet. Qt Designer validates the stylesheet >> just fine. Drop back to PyQt 5.6.2 and the stylesheet renders correctly in >> Leo. All things considered, I blame PyQt. :-) > > > Reasonable, imo. > > >> >> Is there anything we can do to have Leo support 5.10? This is the second >> time that I have had an app *require* PyQt 5.10. > > > We can't require anyone to use PyQ6 5.10, or Python 3. But you are free to > use those, and to create themes that require them. Just please document the > requirements. > > Edward > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to leo-editor+unsubscr...@googlegroups.com. > To post to this group, send email to leo-editor@googlegroups.com. > Visit this group at https://groups.google.com/group/leo-editor. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.