Comments (7)
from qview.
Ah I wasn't aware of your fork, nice
from qview.
2
enables full dark mode support.
Ah yes that works, nice
from qview.
A little off topic, but any idea why your fork (and #666) doesn't theme the titlebar anymore?
I have
❯ $env:QT_QPA_PLATFORM
windows:darkmode=1
and it works on the nightly version used here which was built on Qt 6.2.2.
It may be specifically related to the Qt version you're using, as I've built programs with Qt >= 6.6.0 and they still theme the titlebar.
I tried this artifact for a different Qt version https://github.com/jdpurcell/qView/actions/runs/8040054619 and it also exhibits it.
from qview.
I don't know, I'll have to see if I can reproduce it sometime. I'm mostly using macOS these days honestly. I know Qt has been working on dark mode on Windows and maybe they're forcing use of Fusion style to get the dark titlebar. Fusion style is the "Non-native theme" option in my fork by the way.
from qview.
they're forcing use of Fusion style to get the dark titlebar
Nah, Windows can have native dark titlebars, within DWM itself (DWMWA_USE_IMMERSIVE_DARK_MODE
), Qt's supported this feature for a few years now.
Fusion style is the "Non-native theme" option in my fork
Yea I noticed fusion mode on your fork, and tried it, but wasn't able to get dark mode to work, it was just light mode, is there some separate toggle or something?
Side note, I'm down to build qView if it helps for debugging this issue, but need to refresh on qmake and .pro
again, has been a few years since I last used that, Qt >= 6.0.0 uses cmake as default nowadays.
from qview.
... any idea why your fork (and #666) doesn't theme the titlebar anymore?
I can reproduce this - I was testing by passing the command line argument -platform windows:darkmode=1
and got the dark title bar with Qt 6.2 but light title bar with Qt 6.5. But as I understand from Qt's blog entry and the commit here, that was an intentional change - Qt will now only use the dark title bar if the window background color is darker than the text color in the "default palette" (whatever that means).
Yea I noticed fusion mode on your fork, and tried it, but wasn't able to get dark mode to work, it was just light mode, is there some separate toggle or something?
It's because of that darkmode=1
setting apparently, 1
means just for the window frame (when allowed by the previously mentioned logic), and 2
enables full dark mode support.
from qview.
Related Issues (20)
- Add an ability to go forwards/backwards using mouse HOT 2
- ignore ._ files created by macOS
- Android? HOT 1
- a crash when open/browse image file
- possible modify shortcut by wheel HOT 1
- (No CMYK Color support) The colors of large image shift towards blue/green HOT 3
- Investigate punctuation sorting nitpick HOT 3
- Sort files by Date Modified doesn't seem to work properly HOT 4
- 64 bit PNGs look wrong when opened in qView HOT 3
- "open with" detects but does not open flatpaks HOT 1
- ICC Profile when enabled, instantly crashes qView HOT 1
- Binary file piping
- dot-underscore file on macOS are in playback HOT 2
- Hide mouse in full screen mode HOT 3
- Sort files by: Same as folder HOT 7
- advices HOT 3
- Setting qview as default image program for 'jpeg' results in a corrupt file HOT 1
- Can't delete files HOT 2
- Colour space not rendering correctly? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qview.