8000 [3.12] gh-120083: Add IDLE Hovertip foreground color needed for recent macOS (GH-120605) by miss-islington · Pull Request #122592 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.12] gh-120083: Add IDLE Hovertip foreground color needed for recent macOS (GH-120605) #122592

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

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

miss-islington
Copy link
Contributor
@miss-islington miss-islington commented Aug 2, 2024

On recent versions of macOS (sometime between Catalina and Sonoma 14.5), the default Hovertip foreground color changed from black to white, thereby matching the background. This might be a matter of matching the white foreground of the dark-mode text. The unreadable result is shown here (GH-120083 (comment)).

The foreground and background colors were made parameters so we can pass different colors for future additional hovertips in IDLE.


(cherry picked from commit 5a7f7c4)

Co-authored-by: John Riggles jriggles@icloud.com
Co-authored-by: Terry Jan Reedy tjreedy@udel.edu

… macOS (pythonGH-120605)

On recent versions of macOS (sometime between Catalina and Sonoma 14.5), the default Hovertip foreground color changed from black to white, thereby matching the background. This might be a matter of matching the white foreground of the dark-mode text. The unreadable result is shown here (pythonGH-120083 (comment)).

The foreground and background colors were made parameters so we can pass different colors for future additional hovertips in IDLE.
---------

(cherry picked from commit 5a7f7c4)

Co-authored-by: John Riggles <jriggles@icloud.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@terryjreedy terryjreedy merged commit 1f779b0 into python:3.12 Aug 9, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0