-
Notifications
You must be signed in to change notification settings - Fork 5
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
UI color issue after switching between light/dark mode on macOS #57
Comments
Thanks, it can't be a coincidence that it's every 2nd row. |
This was reported here, and your fix @Xavery would also fix the issue on the upstream project.
Originally posted by @wayward-turnip in transmission-remote-gui#1366 (comment) |
The colour used to draw even-numbered rows is called
The problem is that There is a solution available which gets a "theme changed" notification straight from the OS so it sounds like it's going to be possible to set those colours to new theme-appropriate values. |
Dark/light theme transitions should be now fixed. Hyperlinks now use a lighter shade of blue in dark mode which is much more readable : The latest build from master incorporates these changes : https://github.com/xavery/transgui/suites/17484835100/artifacts/999179257 |
Thanks @kailiu42 , great catch. The progress bar uses a custom drawing procedure which needs the data from the currently selected torrent. This means that the colour change will be a bit delayed to the app's theme change but will happen eventually (depending on your refresh interval) : output2.mp4I'm sure there's a way to call this procedure from the theme change callback but I kept getting weird crashes that I couldn't figure out. These changes are available in https://github.com/xavery/transgui/suites/17499778981/artifacts/999844573. |
It works now. Thanks a lot @Xavery for your great help! |
Some UI element remains dark background after the OS switched from dark to light mode, make the text unreadable and the UI look strange. Would you please take a look?
The text was updated successfully, but these errors were encountered: