Fix mapToGlobal
ClosedPublic

Authored by davidedmundson on Jan 13 2017, 12:18 PM.

Details

Summary

When recreating QQuickItem::mapToGlobal for < Qt 5.7 we are currently
using the window's global position and the item's position relevant to
it's parent. We need to use the item's position relative to the scene.

Test Plan

Had applet on right hand side of panel, menus are now in the correct place.

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson retitled this revision from to Fix mapToGlobal.
davidedmundson updated this object.
davidedmundson edited the test plan for this revision. (Show Details)
davidedmundson added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptJan 13 2017, 12:18 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik accepted this revision.Jan 13 2017, 1:07 PM
broulik added a reviewer: broulik.
This revision is now accepted and ready to land.Jan 13 2017, 1:07 PM
This revision was automatically updated to reflect the committed changes.