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 d496a1d6ae minor issue on transfrom deselect (#7001)
d496a1d6ae is described below
commit d496a1d6ae851111b18204c35b91c18a0b0a9b52
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Tue Apr 14 21:30:02 2026 +0200
minor issue on transfrom deselect (#7001)
---
.../org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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 968c585935..f06b5a966c 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
@@ -1094,9 +1094,12 @@ public class HopGuiPipelineGraph extends
HopGuiAbstractGraph
}
// If we mousedown on icon but never committed to drag, treat as click
(promote for click
- // handling below)
+ // handling below). Do not promote when this mouseUp is already a
background click: otherwise
+ // stale currentTransform makes an empty-canvas release look like a
transform click and
+ // selection is never cleared.
if (selectedTransform == null
&& currentTransform != null
+ && singleClickType != SingleClickType.Pipeline
&& startHopTransform == null
&& selectionRegion == null
&& selectedTransforms == null