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 5327faad7d Edge case where transfom does not release on mouse up,
fixes #6596 (#6597)
5327faad7d is described below
commit 5327faad7d400df44d5f6c133a4a11bb1d5a50f3
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Tue Feb 17 14:52:38 2026 +0100
Edge case where transfom does not release on mouse up, fixes #6596 (#6597)
---
.../hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
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 098715e909..76714bd3e0 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
@@ -1052,13 +1052,17 @@ public class HopGuiPipelineGraph extends
HopGuiAbstractGraph
if (startHopTransform == null
&& selectionRegion == null
&& selectedTransforms == null
- && selectedNotes == null) {
- // This is available only in single click mode...
+ && selectedNotes == null
+ && !mouseMovedSinceClick) {
+ // Single click on transform name: edit (do not treat as drag end
when release is here)
//
TransformMeta transformMeta = (TransformMeta)
areaOwner.getParent();
editTransform(transformMeta);
+ return;
}
- return;
+ // Release after a drag may land on another transform's name; fall
through to complete
+ // drag
+ break;
default:
break;
}
@@ -1148,6 +1152,7 @@ public class HopGuiPipelineGraph extends
HopGuiAbstractGraph
selectedNote = null;
startHopTransform = null;
endHopLocation = null;
+ dragSelection = false;
updateGui();
} else {