This is an automated email from the ASF dual-hosted git repository.
mattcasters 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 a36232d860 Issue 6975 (#7056)
a36232d860 is described below
commit a36232d86008181e4c57ed41b4578354bb15ad69
Author: Matt Casters <[email protected]>
AuthorDate: Wed Apr 29 09:18:03 2026 +0200
Issue 6975 (#7056)
* Issue #7003 (Combination Lookup importer fix)
* Issue #6975 (explorer perspective button keeps focus)
---
.../ui/hopgui/perspective/explorer/ExplorerPerspective.java | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/ExplorerPerspective.java
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/ExplorerPerspective.java
index 9e0f761c1e..85dbd270d4 100644
---
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/ExplorerPerspective.java
+++
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/ExplorerPerspective.java
@@ -3478,6 +3478,18 @@ public class ExplorerPerspective implements
IHopPerspective, TabClosable, IFileD
} else {
sash.setMaximizedControl(tabFolderWrapper);
}
+
+ // Shift the focus away from the perspective icon onto the active graph.
+ //
+ IHopFileTypeHandler activeHandler = getActiveFileTypeHandler();
+ if (activeHandler != null) {
+ if (activeHandler instanceof HopGuiPipelineGraph graph) {
+ graph.setFocus();
+ }
+ if (activeHandler instanceof HopGuiWorkflowGraph graph) {
+ graph.setFocus();
+ }
+ }
}
/** Split the editor to show two files side by side. If already split, this
is a no-op. */