-
Notifications
You must be signed in to change notification settings - Fork 109
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
Dark reader mode: welcome page's text also get dark when turning on. #1450
Comments
And I also tried the latest version on Github, it takes no effect before relaunching the program or make a word query. |
I don't have time right now due to exams in the following weeks. However, these are my guesses:
|
background and text in welcome page dont change to black before query or restart just like before. |
I guess the reason is that the welcome page does not refresh when the dark mode setting changes |
I tried all configurations other than on Windows. I cannot reproduce in any way. Maybe you have local |
article-style.css .mdict + .mdict {
margin-top: 20px
}
.mwiki {
font-size: 14px
} compiled last code, and comment these code, still reproducable. |
Don't screenshot code my friend, just copy and paste 🫠🫠🫠🫠🫠 I will check it when I can access a Windows machine today. |
I tried 6.6.2 build on github action build on Mar 31, the day I proposed this issue. And qt 6.7.0 action is not completed that time. |
This problem is super weird. Set a breakpoint here: goldendict-ng/src/ui/mainwindow.cc Lines 2277 to 2283 in fb91eba
view.currentWord is "welcome!", so the right widget got picked up. needReload is true, the webview's reload is called. Manually calling However, when switching dark mode on and off, you can rigger reload inside the browser's inspector by calling All other pages other than welcome are OK. |
Fixed. try with latest source code |
The version I used is compiled with qt6.7.0:
https://cloud.freemdict.com/index.php/s/psF3GZstsYZ3JZc
step:
This is the screenshort:
https://github.com/xiaoyifang/goldendict-ng/assets/19769843/26695d63-5a8d-4855-9d90-96970d2b8927
The text was updated successfully, but these errors were encountered: