-
Notifications
You must be signed in to change notification settings - Fork 771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
White titlebar in dark mode [Windows 11] #5661
Labels
Comments
I tried reproducing this with a standalone GTK window, and I am getting the same error. Perhaps its some bug with GTK, or someone who knows how to use the win32 handle can help out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Operating System
Windows
(Linux only) Distribution
No response
(Linux only) Desktop Environment
No response
(Linux Only) Display Server
None
Installation Method
Release Binaries
Xournal++ Version
1.2.2+dev
libgtk Version
3.24.39
Bug Description
I have enabled dark mode on Xournal++ on Windows 11, however the titlebar is a white color, which can be pretty annoying.
This answer provides an insight on how this is possible. I got as far as getting the win32 handle from GDK (reference) and calling
DwmSetWindowAttribute
on it.However when running this I got a segmentation fault, and couldn't get any further. Tried this with changing the caption color too, but got the same error. Hope that this gets fixed. I'm loving the experience with the app so far.
Expected Behaviour
The titlebar should have a dark color or a themed color like the windows explorer titlebar.
Steps to Reproduce
Launch Xournal++ in Dark Mode
Additional Context
Windows 11 (Dark Mode)
The text was updated successfully, but these errors were encountered: