-
-
Notifications
You must be signed in to change notification settings - Fork 978
Avoid showing a separate-window tooltip #4704
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
base: master
Are you sure you want to change the base?
Conversation
On many Intel GPUs under Windows, when in full-screen mode, opening of a popup window for the tooltip by QToolTip switches the screen from exclusive full screen mode to a managed one, which results in flicker. This patch instead shows the tooltip as a QGraphicsScene item, which avoids creating of a separate window.
|
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
|
The placement of tooltips are weird now |
What exactly is weird? Can you show some screenshots before/after this change? |
The first screenshot shows the known problem with oversized tooltip (second in my list in the OP). What does the second one show? How did you get to the state of the third screenshot? |
No, I said about positioning problem. The mouse pointer is over "UGC" label
Same place for mouse pointer, but in fillscreen mode.
The mouse pointer is localed over middle checkbox for "Horizon line" |



On many Intel GPUs under Windows, when in full-screen mode, opening of a popup window for the tooltip by QToolTip switches the screen from exclusive full screen mode to a managed one, which results in flicker.
This patch instead shows the tooltip as a QGraphicsScene item, which avoids creating of a separate window.
This PR replaces #4678.
The implementation is currently incomplete. What's left to do is:
QToolTipwould be positioned to the left of the cursor, and also clamped in x position by the screen edge.)