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 17917cd3c4 Open logging tab by default and remember selection, fixes
#2583 (#6079)
17917cd3c4 is described below
commit 17917cd3c485ddf8b8b94f59c68e034c36008b49
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Thu Nov 27 10:09:32 2025 +0100
Open logging tab by default and remember selection, fixes #2583 (#6079)
---
.../org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java | 2 +-
.../ui/hopgui/file/pipeline/delegates/HopGuiPipelineGridDelegate.java | 4 ----
.../hop/ui/hopgui/perspective/execution/PipelineExecutionViewer.java | 4 ++--
3 files changed, 3 insertions(+), 7 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 a73d5fc703..82898c30f5 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
@@ -4002,7 +4002,7 @@ public class HopGuiPipelineGraph extends
HopGuiAbstractGraph
int height = extraViewToolBar.computeSize(SWT.DEFAULT, SWT.DEFAULT).y;
extraViewTabFolder.setTabHeight(Math.max(height,
extraViewTabFolder.getTabHeight()));
- sashForm.setWeights(new int[] {60, 40});
+ sashForm.setWeights(60, 40);
}
public synchronized void start(PipelineExecutionConfiguration
executionConfiguration)
diff --git
a/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/delegates/HopGuiPipelineGridDelegate.java
b/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/delegates/HopGuiPipelineGridDelegate.java
index 3ea22c72ec..263fc83095 100644
---
a/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/delegates/HopGuiPipelineGridDelegate.java
+++
b/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/delegates/HopGuiPipelineGridDelegate.java
@@ -123,8 +123,6 @@ public class HopGuiPipelineGridDelegate {
if (pipelineGridTab != null && !pipelineGridTab.isDisposed()) {
// just set this one active and get out...
// and activate the refresh timer
- //
- pipelineGraph.extraViewTabFolder.setSelection(pipelineGridTab);
startRefreshMetricsTimer();
return;
}
@@ -258,8 +256,6 @@ public class HopGuiPipelineGridDelegate {
pipelineGridTab.addDisposeListener(disposeEvent ->
stopRefreshMetricsTimer());
pipelineGridTab.setControl(pipelineGridComposite);
-
- pipelineGraph.extraViewTabFolder.setSelection(pipelineGridTab);
}
public void startRefreshMetricsTimer() {
diff --git
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/execution/PipelineExecutionViewer.java
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/execution/PipelineExecutionViewer.java
index ce94a7c1ab..595aabc99c 100644
---
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/execution/PipelineExecutionViewer.java
+++
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/execution/PipelineExecutionViewer.java
@@ -241,7 +241,7 @@ public class PipelineExecutionViewer extends
BaseExecutionViewer
hopGui.replaceKeyboardShortcutListeners(this);
tabFolder.setSelection(0);
- sash.setWeights(new int[] {60, 40});
+ sash.setWeights(60, 40);
}
private void addInfoTab() {
@@ -411,7 +411,7 @@ public class PipelineExecutionViewer extends
BaseExecutionViewer
dataView.optimizeTableView();
- dataSash.setWeights(new int[] {30, 70});
+ dataSash.setWeights(30, 70);
dataTab.setControl(dataSash);
}