https://bugs.kde.org/show_bug.cgi?id=524598

--- Comment #8 from [email protected] ---
identity.kde.org isn't working for me, so thought I'd post the fix here in case
someone looks at this before I am able to create an account
The position was always returning 0,0 which broke the rest of the logic and
caused the described behaviour

diff --git a/src/widgets/ViewSplitter.cpp b/src/widgets/ViewSplitter.cpp
index 8809db351..4daf9a7b7 100644
--- a/src/widgets/ViewSplitter.cpp
+++ b/src/widgets/ViewSplitter.cpp
@@ -312,7 +312,7 @@ void ViewSplitter::handleFocusDirection(Qt::Orientation
orientation, int directi
     // See https://bugs.kde.org/show_bug.cgi?id=411387 for more info
     const auto handleWidth = parentSplitter->handleWidth() + 3;

-    const auto start = QPoint(terminalDisplay->x(), terminalDisplay->y());
+    const auto start =
ViewSplitter::containerWidgetForDisplay(terminalDisplay)->pos();
     const auto startMapped = parentSplitter->mapTo(topSplitter, start);

     const int newX = orientation != Qt::Horizontal ? startMapped.x() +
handleWidth

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to