Skip to content
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

macOS theme switching not supported #268

Closed
wants to merge 1 commit into from

Conversation

jarolrod
Copy link
Member

@jarolrod jarolrod commented Apr 3, 2021

It was originally believed that theme switching on macOS was broken only on macOS 10.14: #154 (comment), #154 (review)

It is actually broken on Catalina and Big Sur as well (building and compiling off master). When switching from one theme to another the Icons do not get re-colorized.

This PR documents that theme switching is not currently supported in the release notes. Based on #154 (comment), but drops the macOS 10.14 part.

Below are screenshots that were taken on Big Sur which show this behavior. The same occurs on Catalina.

Light Mode to Dark Mode

Light Mode Dark Mode
Screen Shot 2021-04-02 at 3 39 05 PM Screen Shot 2021-04-02 at 3 39 32 PM

Dark Mode to Light Mode

Dark Mode Light Mode
Screen Shot 2021-04-02 at 3 40 22 PM Screen Shot 2021-04-02 at 3 40 31 PM

Document that theme switching on macOS, switching between light and dark mode, is currently broken.
@hebasto
Copy link
Member

hebasto commented Apr 9, 2021

Hoping #275 will make this change unnecessary :)

@hebasto hebasto added the macOS label Apr 9, 2021
@hebasto
Copy link
Member

hebasto commented May 10, 2021

@jarolrod

Is this really needed now?

@jarolrod
Copy link
Member Author

@hebasto It won't be needed so long as we can get #275 in before the freeze. Otherwise, it is needed.

hebasto added a commit that referenced this pull request May 28, 2021
c231254 qt: Make TransactionView aware of runtime palette change (Hennadii Stepanov)
2b622d4 qt: Make CoinControlDialog aware of runtime palette change (Hennadii Stepanov)
97a6b5e qt: Make OverviewPage aware of runtime palette change (Hennadii Stepanov)
d05f1b2 qt: Make UnitDisplayStatusBarControl aware of runtime palette change (Hennadii Stepanov)
6b2ce65 qt: Replace base class of ClickableLabel with ThemedLabel (Hennadii Stepanov)
ff530a2 qt: Use GUIUtil::ThemedLabel class (Hennadii Stepanov)
d99ef32 qt: Add GUIUtil::ThemedLabel class (Hennadii Stepanov)
c054720 qt: Make SignVerifyMessageDialog aware of runtime palette change (Hennadii Stepanov)
0dcc3fa qt: Make SendCoinsEntry aware of runtime palette change (Hennadii Stepanov)
fa18d28 qt: Make RPCConsole aware of runtime palette change (Hennadii Stepanov)
f108382 qt: Make BitcoinGUI aware of runtime palette change (Hennadii Stepanov)
ce17861 qt: Make PlatformStyle aware of runtime palette change (Hennadii Stepanov)

Pull request description:

  On macOS switching appearance (Light -> Dark or Dark -> Light) when Bitcoin Core is running makes the GUI pretty unusable.
  This bug is especially important when a user chose the "Auto" mode to adjust appearance automatically.

  This PR fixes Bitcoin Core behavior.

  This is an alternative to #268.

ACKs for top commit:
  Sjors:
    tACK c231254 on macOS 11.4
  goums:
    ACK c231254
  promag:
    Tested ACK c231254 on macOS Big Sur arm64.
  jarolrod:
    tACK c231254

Tree-SHA512: 122dda3e4c9703f68cec60613c536ca59d04c93f2c03398559f2361b8d279ae534800e8e677d94a33e10e769d00be54295a704e98afa2e986a06146b9f164854
@jarolrod
Copy link
Member Author

Closing since #275 was merged 🎉

@jarolrod jarolrod closed this May 28, 2021
@bitcoin-core bitcoin-core locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants