-
-
Notifications
You must be signed in to change notification settings - Fork 449
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
Fix tooltips ignoring zoom/font changes #3687
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks for attacking some of these niggly little issues in Chatterino!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as intended 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes work as intended, I wanted to at least mention though that this has the unfortunate side effect of making all tooltips horrible on macOS, due to the existing scaling issues. (#1076 #1075 #2544) Really annoying, but not an issue with this PR, just makes fixing that general problem a bit more pressing.
so if i understand correctly, with this change mac tooltips are getting extra tiny (right screen) on default zoom? |
Nah, the entire macOS UI is already extra tiny, the tooltips just weren’t affected previously because they were missing the scaling. |
I wouldn't be comfortable merging this until we fix the DPI scaling or have some decent workaround for it. As great as this feature is, it will negatively impact macOS users + high DPI resolutions. |
agree, made some progress on this, will PR tomorrow for tests |
closing it, moved to #3690 |
Pull request checklist:
CHANGELOG.md
was updated, if applicableDescription
Currently due to a bug, tooltips (emotes, badges, link preview, split header) are completely ignoring changes of zoom level or font size/style from settings. This PR fixes that.
Example with 1.3x zoom. Left side shows fixed tooltip, with zoom matching rest of the app. Right side is current behavior.
tested on windows only