Port tooltips to KToolTipWidget
ClosedPublic

Authored by elvisangelaccio on Feb 5 2017, 6:05 PM.

Details

Summary

Use the new KToolTipWidget class (introduced by kwidgetsaddons 5.30) as backend of ToolTipManager.
FileMetaDataToolTip becomes a simple widget used as content of the tooltip.

It is now possible to actually use the metadata widget shown inside the tooltips.
Tooltips are now functional on Wayland, as well.

More information about KToolTipWidget in https://git.reviewboard.kde.org/r/129648/

BUG: 352276
BUG: 371223
FIXED-IN: 17.04.0

Test Plan
  • Tooltips work as expected in Plasma wayland session.
  • Mouse cursor can now enter the tooltip and use the metadata widget
  • Tooltips are still correctly positioned in multi-screen setups
  • Big tooltips are still correctly positioned when the item/mouse is near a screen edge

Diff Detail

Repository
R318 Dolphin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
elvisangelaccio retitled this revision from to Port tooltips to KToolTipWidget.
elvisangelaccio updated this object.
elvisangelaccio edited the test plan for this revision. (Show Details)
elvisangelaccio added a reviewer: emmanuelp.
elvisangelaccio set the repository for this revision to R318 Dolphin.
elvisangelaccio edited the test plan for this revision. (Show Details)Feb 5 2017, 6:11 PM
elvisangelaccio updated this object.
elvisangelaccio added a project: Dolphin.
emmanuelp accepted this revision.Feb 5 2017, 7:47 PM
emmanuelp edited edge metadata.

Nice, thanks!

This revision is now accepted and ready to land.Feb 5 2017, 7:47 PM
This revision was automatically updated to reflect the committed changes.