eclipse-platform / eclipse-platform/eclipse.platform
Restoring Terminal View on start works only for one window
- 主要言語
- Java
- スター
- 165
- フォーク
- 174
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 22
説明
This is a followup of #2155
- [x] I verified I can reproduce this issue against https://download.eclipse.org/eclipse/updates/4.38-I-builds/I20250929-1800/
## Steps to reproduce
From a fresh installation and clean workspace:
* Invoke "Show in local terminal" from two different nodes (folder-1 and folder-2) in Project Explorer
* This opens two tabs inside the Terminal View
* Open a new Workbench window by using the main menu: Window > New Window
* Invoke "Show in local terminal" from two forther nodes (folder-3 and folder-4) in Project Explorer
* This opens two tabs inside the Terminal View
* Restart Eclipse through the main menu: File > Restart
* Expected:
- The two terminals in Window 1 are restored showing folder-1 and folder-2 in a single Terminal view
- The two terminals in Window 2 are restored showing folder-3 and folder-4 in a single Terminal view
* Actual:
- The two terminals are restored only in the Window from which the File > Restart action was invoked
- No terminals are restored in the other window
## Here is some relevant log output
I do not think it is relevant.
## Tested under this environment:
* OS & version: Linux, Fedora 42 with KDE Plasma
* Eclipse IDE/Platform version (as shown in *Help > About*): ...
```
Eclipse IDE for Java Developers (includes Incubating components)
Version: 2025-09 (4.37.0)
Build id: 20250905-1456
org.eclipse.terminal.connector.local (1.0.100.v20250925-1523) "Terminal Local Connector" [Active]
org.eclipse.terminal.connector.process (1.0.100.v20250925-1523) "Terminal Process Connector" [Active]
org.eclipse.terminal.connector.ssh (1.0.0.v20250724-2146) "Terminal SSH Connector" [Starting]
org.eclipse.terminal.connector.telnet (1.0.0.v20250724-2146) "Terminal Telnet Connector" [Starting]
org.eclipse.terminal.control (1.0.100.v20250922-1523) "Terminal Control (Embeddable Widget)" [Active]
org.eclipse.terminal.view.core (1.0.0.v20250724-1302) "Terminal View Core" [Active]
org.eclipse.terminal.view.ui (1.0.100.v20250918-1421) "Terminal View" [Active]
```
## Community
- [x] I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.
コントリビューションガイド
調査の方向性
まず、issue に記載されている Window > New Window、Show in local terminal、File > Restart のフローを再現します。両方の Workbench ウィンドウにおける Terminal View の復元を追跡します。folder-1 と folder-2 のターミナルが一方のウィンドウに戻り、folder-3 と folder-4 がもう一方のウィンドウに戻れば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- cli, desktop
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100