-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
gh-120083: Add IDLE Hovertip foreground color needed for recent macOS #120605
Conversation
Fix an issue w/ Hovertip foreground color causing tooltip text not to render on Mac OS Add params for foreground and background to Hovertip.__init__()
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Misc/NEWS.d/next/IDLE/2024-06-16-21-42-45.gh-issue-120083.nczuyv.rst
Outdated
Show resolved
Hide resolved
3.13 backport review: Rationale is described in commit message and shown in linked image from mac Sonoma. |
Thanks @JRiggles for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
… 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>
GH-122592 is a backport of this pull request to the 3.12 branch. |
Thanks @JRiggles for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
… 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>
GH-122739 is a backport of this pull request to the 3.13 branch. |
… macOS (python#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 (python#120083 (comment)). The foreground and background colors were made parameters so we can pass different colors for future additional hovertips in IDLE. --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
…t macOS (GH-120605) (#122592) 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 (python#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 (python#120083 (comment)). The foreground and background colors were made parameters so we can pass different colors for future additional hovertips in IDLE. --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
…t macOS (GH-120605) (#122739) gh-120083: Add IDLE Hovertip foreground color needed for recent macOS (GH-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 (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>
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 (#120083 (comment)).
The foreground and background colors were made parameters so we can pass different colors for future additional hovertips in IDLE.