System specfic QT styling can make FastFlix hard to use
See original GitHub issueAs reported by Nick Bailey:
~/Packages/FastFlix$ QT_STYLE_OVERRIDE=Adapta python -m
fastflix
it says
QApplication: invalid style override 'Adapta' passed, ignoring it.
Available styles: Windows, Fusion
Using either of those doesn't change the appearance, which is unchanged from
leaving out the environment variable all together. I wouldn't mind, but it
makes the application hard to use (white text on white for pull-down menu
boxes...) I thought I should report this at least. Maybe you already know
about it.
The version I'm running was cloned from the git repo a day or two ago, and
reports itself as v4.1.2. Running on Debian Bullseye, in a virtual environment
as per your instructions.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
The Style Sheet Syntax | Qt Widgets 6.4.1 - Qt Documentation
The style sheet on the QPushButton forces the QPushButton (and any child widget) to have blue text, in spite of the more specific...
Read more >Info in Bio and Pinned Tweet (@jpyper) / Twitter
sure does make things a lot easier. I am seriously considering switching from HandBrake to FastFlix for all video transcoding. aur/fastflix Linux, ...
Read more >GUI programming using PyQt/PySide for beginners : r/Python
I'll be the first to admit that this kind of breakup of code/logic is really tough to do within Qt applications in a...
Read more >Say No to Qt Style Sheets - KDAB
This makes it even harder to gradually move away from the stylesheet solution. One specific example for proof: a stylesheet that simply sets...
Read more >Video Encoders / Converters Free Downloads - VideoHelp
FastFlix is a simple and friendly GUI for encoding videos. ... It's made to be as easy as possible to use so anyone...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I found what may be pertinent information here: https://stackoverflow.com/questions/52426437/how-to-instruct-pyside2-application-to-use-qt5ct-settings Contrary to what’s written there, PySide2 is in fact packaged for Debian Bullseye, but without a metapackage. I copied the current FastFlix installation in to a different directory, and removed venv/lib/PySide2. Then I installed the Debian version of PySide2 like this:
apt install $(apt-cache pkgnames python3-pyside2.) pyside2-tools
Now outside the venv, I see all available themes:but on within the venv, I see:
I then edited the activate script to change the venv directory and made a link from the old PySide2 to the system one
Changing the application style to Adwita in the control panel makes the menus readable (just) although something sitll isn’t quite right.
![Screenshot_20210130_154039](https://user-images.githubusercontent.com/1101370/106360669-a6dc9580-6311-11eb-9f32-c1511b8212c1.png)
/usr/lib/python3/dist-packages/PySide2
This causes the theme to be used, but the pull-down menus are stiill white-on white.Marking this as done as this is hopefully fixed and hasn’t been a follow up. If there is still any issues please report back and can reopen. Thanks again for bringing it to my attention!