[PoC] [do not merge]: Support runtime appearance adjustment on macOS #274
pull hebasto wants to merge 2 commits into bitcoin-core:master from hebasto:210407-dark-poc changing 3 files +27 −17-
hebasto commented at 7:13 am on April 7, 2021: memberOnly toolbar icons support Dark/Light runtime switching for now.
-
qt: Make PlatformStyle aware of runtime palette change
This change is a prerequisite to support changeable appearance on macOS.
-
qt: Make BitcoinGUI aware of runtime palette change
This change fixes the GUI when changing appearance on macOS.
-
hebasto added the label macOS on Apr 7, 2021
-
jarolrod commented at 2:59 pm on April 8, 2021: member
Concept ACK,
This seems to be a step in the right direction to supporting theme switching on macOS. The icons this PR touches do get recolorized.
Below are some screenshots with all possible build options on macOS 11.2.3 and macOS 10.15.7, comparing
master
andpr
.It is weird that dark mode does not work at all on a native depends build, but works on a cross-compile depends build.
Master
Compiled Natively
macOS 11.2.3
Start: Light Mode Switch to Dark Mode macOS 10.15.7
Start: Light Mode Switch to Dark Mode Depends Build Natively
macOS 11.2.3
Start: Light Mode Switch to Dark Mode macOS 10.15.7
Start: Light Mode Switch to Dark Mode Depends Cross Compile (from Linux)
macOS 11.2.3
Start: Light Mode Switch to Dark Mode macOS 10.15.7
Start: Light Mode Switch to Dark Mode PR 0993439ce0840a68e189add369ea8e9f92b5c2c4
Compiled Natively
macOS 11.2.3
Start: Light Mode Switch to Dark Mode macOS 10.15.7
Start: Light Mode Switch to Dark Mode Depends Build Natively
macOS 11.2.3
Start: Light Mode Switch to Dark Mode macOS 10.15.7
Start: Light Mode Switch to Dark Mode Depends Cross Compile (from Linux)
macOS 11.2.3
Start: Light Mode Switch to Dark Mode macOS 10.15.7
Start: Light Mode Switch to Dark Mode -
hebasto closed this on Apr 9, 2021
-
hebasto deleted the branch on Apr 9, 2021
-
bitcoin-core locked this on Aug 16, 2022
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-03 17:20 UTC
This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-03 17:20 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me