Tip surfaces not being repositioned on client request
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MirAL |
Fix Released
|
Medium
|
Alan Griffiths |
Bug Description
I'm testing tooltips with Qt. I find if I move quickly from one button to another, the tooltip remains positioned at the first tooltip, but the contents are changed to suit the second.
Steps to repro:
1. Grab lp:~gerboland/qtubuntu/latest/, qmake & make.
2. Set env var with location of the new QPA plugin:
export QT_QPA_
3. Install qtbase5-examples
4. Run miral-shell
5. Run QT_LOGGING_
6. Hover mouse over a square to get a tooltip.
7. Move mouse quickly on top of a triangle
Expected Result: new tooltip at location of the triangle with contents "Triangle"
Actual Result: tooltop at old square location, but contents updated to "Triangle"
Note: tooltips have rendering errors, known issue, working on it
Related branches
- Gerry Boland (community): Approve
-
Diff: 20 lines (+10/-0)1 file modifiedmiral/window_specification.cpp (+10/-0)
Changed in miral: | |
status: | In Progress → Fix Committed |
milestone: | none → 0.4 |
Changed in miral: | |
milestone: | 0.4 → 0.3 |
Changed in miral: | |
status: | Fix Committed → Fix Released |
To see QtUbuntu asking for the repositioning of the Tooltip, see the console output from the app:
ubuntumirclient: makeSurfaceSpec (window= 0x1fb1330) : Tip spec (type=0xd, position=(238, 178)px, size=(57x20)px) (window= 0x1fb1330) : Tip spec (type=0xd, position=(150, 179)px, size=(57x20)px)
ubuntumirclient: makeSurfaceSpec