[vlc-commits] [Git][videolan/vlc][master] qml: offset pointing tool tip arrow also with independent popup

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sat May 30 08:38:55 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
716374f4 by Fatih Uzunoglu at 2026-05-30T10:28:07+02:00
qml: offset pointing tool tip arrow also with independent popup

This fixes the arrow not pointing where the cursor points if the
independent window position is clamped due to screen geometry.

This issue can be reproduced when the interface is fullscreen
or maximized.

- - - - -


1 changed file:

- modules/gui/qt/widgets/qml/PointingTooltip.qml


Changes:

=====================================
modules/gui/qt/widgets/qml/PointingTooltip.qml
=====================================
@@ -72,8 +72,9 @@ ToolTipExt {
                 id: arrow
 
                 anchors.horizontalCenter: parent.horizontalCenter
-                anchors.horizontalCenterOffset: (pointingTooltip.popupType === 1 /* Popup.Window */) ? 0
-                                                                                                     : (pointingTooltip._x - pointingTooltip.x)
+                // NOTE: The offset is also set with independent window popup, because the position
+                //       may still be clamped due to screen geometry:
+                anchors.horizontalCenterOffset: (pointingTooltip._x - pointingTooltip.x)
                 anchors.verticalCenter: parent.top
 
                 implicitWidth: VLCStyle.dp(10, VLCStyle.scale)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/716374f4bb7cdc7bc643ca88c676d507a5ee995b

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/716374f4bb7cdc7bc643ca88c676d507a5ee995b
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list