ktooltipwidget: Fix tooltip positioning

Authored by michaelh on Mar 11 2018, 8:14 AM.

Description

ktooltipwidget: Fix tooltip positioning

Summary:
Partially fix Bug 388583
Display tooltip at correct position in dolphin when

  • Tooltip is displayed above file item, or
  • Content width exceeds screen width

CCBUG: 388583

Test Plan:
Visual inspection specially for equal distance to file item (3px)
Patch applied:

Currently partial display:


Patch applied:

Currently invisible tooltip (displayed off-screen).
Patch applied:

Reviewers: elvisangelaccio, ngraham

Reviewed By: elvisangelaccio

Subscribers: Frameworks, dfaure, cfeck

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D9973

Details

Committed
michaelhMar 11 2018, 9:43 AM
Reviewer
elvisangelaccio
Differential Revision
D9973: ktooltipwidget: Fix tooltip positioning
Parents
R236:64c80f0dee1a: GIT_SILENT: Remove not necessary Qtcore/, QtTest/
Branches
Unknown
Tags
Unknown