Bug #3625
closedXHTML tooltips can get stuck in their displayed state
0%
Description
On occasion, XHTML tooltips seem to get stuck in their displayed state using Wt github version 3.3.3-19-gad17d0b. This appears to be timing-related and is quite difficult to reproduce under normal circumstances.
The attached test program displays a WTableView with XHTML tooltips and can illustrate the issue with some perseverence and an unmodified version of Wt. But, it is much easier to reproduce the problem if the Delay variable in ToolTip.js is first reduced from 500 to 10 ms. Moving the mouse pointer slowly downward through the rows usually leaves a few stuck tooltips. A refresh is needed before retrying, as the problem only occurs when the tooltips are first displayed.
An attached patch seems to help with this issue. It also addresses a minor issue where tooltip parent elements accumulate in the DOM. The patch has been lightly tested with Wt 3.3.3-19-gad17d0b.
Files
Updated by Koen Deforche about 10 years ago
- Status changed from New to InProgress
- Assignee set to Koen Deforche
- Target version set to 3.3.4
Updated by Koen Deforche about 10 years ago
- Assignee changed from Koen Deforche to Korneel Dumon
Updated by Korneel Dumon about 10 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche about 10 years ago
- Status changed from Resolved to Closed