This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git


The following commit(s) were added to refs/heads/main by this push:
     new afd95c7f0d Middle mouse button release does not work in pipelines, 
fixes #6625 (#6628)
afd95c7f0d is described below

commit afd95c7f0d6458a0271a3cb3dad1c3b8ab659e1c
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Fri Feb 20 10:58:45 2026 +0100

    Middle mouse button release does not work in pipelines, fixes #6625 (#6628)
---
 .../org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java
 
b/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java
index a72b4ef0c5..d1a8953666 100644
--- 
a/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java
+++ 
b/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java
@@ -1846,6 +1846,10 @@ public class HopGuiPipelineGraph extends 
HopGuiAbstractGraph
       return; // Don't add
     }
 
+    // For middle-button drag, mouseUp doesn't update currentTransform (no 
second mouseDown).
+    // Ensure it points to the transform the user released on so the stream 
checks below match.
+    currentTransform = forward ? toTransform : fromTransform;
+
     // See what the options are.
     // - Does the source transform has multiple stream options?
     // - Does the target transform have multiple input stream options?

Reply via email to