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

Hover menu over methods/fields depends on wrong monitor zoom sometimes #93

Closed
akoch-yatta opened this issue Jul 8, 2024 · 2 comments
Closed
Labels
Bug A Derivation of Expected Behavior HiDPI A HiDPI-Related Issue or Feature SWT Issue for SWT

Comments

@akoch-yatta
Copy link

akoch-yatta commented Jul 8, 2024

The "menu" (proably a shell?) that is created when hovering over e.g. methods (with CTRL pressed) is not working correctly. This seems to be related to relying on the primary monitor zoom or DPIUtil-zoom.

Image

E.g. if I have a two monitor setup (100% and 200%) and I have everything on 200%, opening the menu works fine, but I would not expect it to have the scrollbars (see screenshot). -> perhaps is the primary monitor zoom involved here
I a detach one view and movie it to 100% (only the one view, not the rest of the IDE), then the menu is not opened anymore. It seems that the detection is not working correctly, perhaps the mouse position is converted using the DPIUtil zoom (that is on 100% in this scenario) and it does find the elements it is hovering over on the 200% percent monitor

@akoch-yatta akoch-yatta converted this from a draft issue Jul 8, 2024
@akoch-yatta akoch-yatta added SWT Issue for SWT Bug A Derivation of Expected Behavior HiDPI A HiDPI-Related Issue or Feature labels Jul 8, 2024
@akoch-yatta akoch-yatta changed the title Hover menu over methods/fields depends on primary monitor Hover menu over methods/fields depends on wrong monitor zoom sometimes Jul 8, 2024
@ShahzaibIbrahim
Copy link

Issue not reproducible for me @akoch-yatta

@akoch-yatta akoch-yatta moved this from 🔖 Ready: Atomic to 🕒 Waiting in Eclipse Jul 22, 2024
@akoch-yatta
Copy link
Author

Will be solved with #78

@github-project-automation github-project-automation bot moved this from 🕒 Waiting to ✅ Done in Eclipse Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A Derivation of Expected Behavior HiDPI A HiDPI-Related Issue or Feature SWT Issue for SWT
Projects
Status: Done
Development

No branches or pull requests

2 participants