D25406: [ToolTip] Base timeout on text length
Kai Uwe Broulik
noreply at phabricator.kde.org
Tue Nov 19 16:20:22 GMT 2019
broulik created this revision.
broulik added reviewers: Plasma, ngraham.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.
REVISION SUMMARY
This mimics `QToolTip` behavior and ensures the tooltip is actually readable. The property naming is quite confusing;
- `delay` is the delay until the tooltip shows when `visible` becomes `true`
- `timeout` is the timeout until the tooltip hides //regardless of// whether `visible` is still `true`! It is //not// a delay after `visible` becomes false
TEST PLAN
- KScreen rotation button tooltips are readable now
REPOSITORY
R858 Qt Quick Controls 2: Desktop Style
REVISION DETAIL
https://phabricator.kde.org/D25406
AFFECTED FILES
org.kde.desktop/ToolTip.qml
To: broulik, #plasma, ngraham
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191119/4c68b2b7/attachment-0001.html>
More information about the Plasma-devel
mailing list