Skip to content

GUI: Changes to adapt to dark mode palettes - #157

Closed
bigshiny90 wants to merge 0 commit into
bitcoinknots:tmpfrom
bigshiny90:v29.1-knots-rc1-guifixes
Closed

bigshiny90 wants to merge 0 commit into
bitcoinknots:tmpfrom
bigshiny90:v29.1-knots-rc1-guifixes

Conversation

@bigshiny90

@bigshiny90 bigshiny90 commented Aug 6, 2025 •

Copy link
Copy Markdown

Fixes GUI issues in v29.1-rc1:

  • Fix mempool stats checkbox backgrounds to respect dark mode (transparent background)
  • Fix splash screen logo alignment (already handled in latest tmp branch update)
  • refactored luminosity based darkmode detection into guiutils
  • Added palette event change handling in mempool stats and blockview
  • Fix mempool stats to use dark and light mode color palettes (blue, orange, green, grey) for checkbox selected text, time period and graph lines
  • Fix blockview elements to use same blue dark/light palette as mempool stats
  • Fix bitcoingui pairing action icon to switch with palette change events
  • ModalOverlay now responds to system theme events

Fully tested on macOS and Linux.

@bigshiny90
bigshiny90 force-pushed the v29.1-knots-rc1-guifixes branch 3 times, most recently from c3e11ed to f3ba124 Compare August 7, 2025 01:38
Comment thread src/qt/mempoolstats.cpp Outdated
Comment thread src/qt/mempoolstats.cpp Outdated
Comment thread src/qt/splashscreen.cpp Outdated
Comment thread src/qt/splashscreen.cpp Outdated
@bigshiny90
bigshiny90 force-pushed the v29.1-knots-rc1-guifixes branch 2 times, most recently from 7d4719a to 7283c41 Compare August 7, 2025 11:27
@bigshiny90
bigshiny90 requested a review from luke-jr August 7, 2025 11:33
@bigshiny90
bigshiny90 force-pushed the v29.1-knots-rc1-guifixes branch from 7283c41 to 54a9abc Compare August 7, 2025 16:06
@KurtisStirling

Copy link
Copy Markdown

Concept ACK 🤌

@bigshiny90
bigshiny90 force-pushed the v29.1-knots-rc1-guifixes branch from 54a9abc to 4419475 Compare August 7, 2025 16:37
@Ataraxia009

Copy link
Copy Markdown

We should make sure to test these, especially the splash screen stuff on different OSs

@bigshiny90

Copy link
Copy Markdown
Author

We should make sure to test these, especially the splash screen stuff on different OSs

Splash screen tested on Linux and Mac. But generally, yes - should be tested on all OSs

wish I had a windows setup to test with. Guess I’ll add that to my todos 😂

@bigshiny90

bigshiny90 commented Aug 7, 2025 •

Copy link
Copy Markdown
Author

Fully tested on Mac and Linux (arch linux/hyprland). would be nice to have some other flavors of linux though i don't see it being much different, i'm not able to 'live' light/dark mode switch on arch/hyprland. Theming on linux and QT5 is always an adventure.

@Ataraxia009 Ataraxia009 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing major

Comment thread src/qt/blockview.cpp Outdated
Comment thread src/qt/blockview.cpp Outdated
Comment thread src/qt/mempoolstats.cpp Outdated
Comment thread src/qt/mempoolstats.cpp Outdated
Comment thread src/qt/blockview.cpp Outdated
Comment thread src/qt/qvalidatedlineedit.cpp Outdated
Comment thread src/qt/splashscreen.h Outdated

@luke-jr luke-jr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each logical change should be a separate commit please

Comment thread src/qt/blockview.cpp Outdated
Comment thread src/qt/blockview.cpp Outdated
Comment thread src/qt/guiutil.cpp Outdated
Comment thread src/qt/guiutil.h Outdated
Comment thread src/qt/mempoolstats.cpp Outdated
Comment thread src/qt/mempoolstats.cpp Outdated
@bigshiny90

Copy link
Copy Markdown
Author

Each logical change should be a separate commit please

i see. yes, i've been in the habit of squashing commits for PRs. i will change it.

@luke-jr
luke-jr force-pushed the tmp branch 2 times, most recently from c7e8c9c to e48045d Compare August 8, 2025 15:52
@bigshiny90
bigshiny90 force-pushed the v29.1-knots-rc1-guifixes branch 2 times, most recently from 746170b to c4af76d Compare August 8, 2025 17:07
Comment thread src/qt/mempoolstats.cpp Outdated
Comment thread src/qt/mempoolstats.h Outdated
@bigshiny90
bigshiny90 force-pushed the v29.1-knots-rc1-guifixes branch from c4af76d to 1d253c6 Compare August 8, 2025 18:28
@bigshiny90
bigshiny90 requested a review from Ataraxia009 August 8, 2025 18:31
@bigshiny90
bigshiny90 force-pushed the v29.1-knots-rc1-guifixes branch 2 times, most recently from 18dc964 to 3e3c211 Compare August 9, 2025 04:56
@bigshiny90 bigshiny90 changed the title gui: Fix dark mode and high DPI display issues GUI: Changes to adapt to dark mode palettes Aug 9, 2025
@bigshiny90
bigshiny90 force-pushed the v29.1-knots-rc1-guifixes branch from 3e3c211 to 268de94 Compare August 9, 2025 05:20

@luke-jr luke-jr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit "GUI/Gitcoingui: Add missing pairing action icon update on palette change" should be changed to "Bugfix: GUI/Bitcoingui: Add missing pairing action icon update on palette change"

Comment thread src/qt/guiutil.cpp Outdated
Comment thread src/qt/qvalidatedlineedit.cpp Outdated
Comment thread src/qt/mempoolstats.cpp Outdated
Comment thread src/qt/mempoolstats.cpp Outdated
Comment thread src/qt/mempoolstats.h Outdated
Comment thread src/qt/modaloverlay.cpp Outdated
Comment thread src/qt/modaloverlay.cpp Outdated
Comment thread src/qt/modaloverlay.cpp Outdated
Comment thread src/qt/modaloverlay.cpp Outdated
Comment thread src/qt/modaloverlay.h Outdated
@bigshiny90
bigshiny90 force-pushed the v29.1-knots-rc1-guifixes branch from 268de94 to 81a8030 Compare August 9, 2025 06:04
Comment thread src/qt/guiutil.cpp Outdated
@Ataraxia009

Copy link
Copy Markdown

Tested locally btw in mac, everything works fine

@bigshiny90
bigshiny90 force-pushed the v29.1-knots-rc1-guifixes branch 2 times, most recently from 249beff to 8b8c193 Compare August 9, 2025 15:30
@bigshiny90
bigshiny90 force-pushed the v29.1-knots-rc1-guifixes branch from 8b8c193 to 2c15a20 Compare August 9, 2025 16:11
@luke-jr
luke-jr force-pushed the tmp branch 10 times, most recently from a1b683e to 851028e Compare August 23, 2025 19:14
@luke-jr

luke-jr commented Aug 28, 2025

Copy link
Copy Markdown
Collaborator

Merged in upcoming 29

@luke-jr luke-jr closed this Aug 28, 2025
@luke-jr luke-jr added the merged label Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants