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

Tooltip not correctly shown when DPI > 100% #3744

Open
alanareal opened this issue Jul 16, 2024 · 4 comments
Open

Tooltip not correctly shown when DPI > 100% #3744

alanareal opened this issue Jul 16, 2024 · 4 comments
Labels
bug Bug report help wanted Issue resolution will likely require community contributions windows Windows platform

Comments

@alanareal
Copy link

Describe the bug
Tooltips are truncated when text size is configurated over 100%

To Reproduce
Set text size at 125%
image
Go on a page with hints (for example wikipedia :https://fr.wikipedia.org/wiki/Wiki)
hover a text/button with the hint several times

Expected behavior
the hint tooltip should be correctly shown like on other browser or with a 100% text size configuration

Actual behavior
image

Versions :

  • OS: Windows 10 & Windows 11
  • CEF Version: 125.0.210

Additional context
Does the problem reproduce with the cefclient or cefsimple sample application at the same version -> yes

Does the problem reproduce with Google Chrome at the same version-> no

It worked with version 108.4.130

@magreenblatt
Copy link
Collaborator

Please test in version 126 or newer. Please test cefclient/cefsimple with --enable-chrome-runtime.

@magreenblatt magreenblatt added windows Windows platform needs user feedback Additional feedback required alloy Related to the Alloy runtime labels Jul 16, 2024
@alanareal
Copy link
Author

Also reproducing it with version 126 and --enable-chrome-runtime

@magreenblatt magreenblatt removed needs user feedback Additional feedback required alloy Related to the Alloy runtime labels Jul 17, 2024
@magreenblatt magreenblatt added the help wanted Issue resolution will likely require community contributions label Jul 29, 2024
@magreenblatt
Copy link
Collaborator

magreenblatt commented Aug 14, 2024

At 125% scale, if you hover the text multiple times, sometimes it will display correctly and sometimes not. It always displays correctly for me at 200% scale. I suspect this may be a rounding error in computing either the text size or the tooltip size.

image
image

@magreenblatt
Copy link
Collaborator

Possibly related to the changes in screen_1443650.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report help wanted Issue resolution will likely require community contributions windows Windows platform
Projects
None yet
Development

No branches or pull requests

2 participants