Make panel edit mode tooltip not unexpectedly disappear under certain circumstances
ClosedPublic

Authored by ngraham on Mar 6 2020, 3:45 AM.

Details

Summary

The panel edit mode tooltip can currently disappear in an irritating manner under two circumstances:

  • You need to mouse the mouse diagonally out of the configuration areat to reach the tooltop, because the timer's duration is very short
  • You move the mouse between the tooltip and the configuration area in preparation for moving it to another applet, because the timer did not stop when moving from the tooltip to the configuration area

This patch fixes both issues by increasing the timer duration and stopping the timer when entering the configuration area

BUG: 413736
FIXED-IN: 5.18.4

Test Plan

Edit the panel
Hover over an applet and move the mouse diagonally to its tooltip, crossing empty space
Hover over an applet and move the mouse back to the configuration area, then back to the applet, and back to the configuration area, then to another applet, then to that applet's tooltip

In both cases, the tooltip remains visible, as expected.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ngraham created this revision.Mar 6 2020, 3:45 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 6 2020, 3:45 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
ngraham requested review of this revision.Mar 6 2020, 3:45 AM
ngraham updated this revision to Diff 77059.Mar 6 2020, 3:46 AM

Whitespace

ngraham edited the summary of this revision. (Show Details)Mar 13 2020, 4:31 AM
broulik accepted this revision.Mar 13 2020, 4:03 PM
This revision is now accepted and ready to land.Mar 13 2020, 4:03 PM
This revision was automatically updated to reflect the committed changes.