Skip to content

Release the list tab of the e4 model editor when it is hidden - #2549

Open
vogella wants to merge 1 commit into
eclipse-pde:masterfrom
vogella:vogella/e4-leaks-list-tab
Open

vogella wants to merge 1 commit into
eclipse-pde:masterfrom
vogella:vogella/e4-leaks-list-tab

Conversation

@vogella

@vogella vogella commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Hiding the list tab of the e4 model editor disposed only the tab item, so its composite, images and toolbar drop-down menu stayed alive until the editor or workbench window closed. The tab also registered itself as the active object viewer as soon as it was created, which kept closed editors reachable. The tab now cleans all of this up when it is hidden, and it is registered only while it is actually selected. Cell editing in the list also stops creating a new cell editor widget on every activation.

@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Test Results

  141 files  +3    141 suites  +3   43m 25s ⏱️ + 7m 28s
3 603 tests +2  3 549 ✅ +2   54 💤 ±0  0 ❌ ±0 
9 558 runs  +6  9 428 ✅ +6  130 💤 ±0  0 ❌ ±0 

Results for commit 756c338. ± Comparison against base commit 7558f74.

♻️ This comment has been updated with latest results.

Hiding the list tab disposed only the tab item, so its composite, its
images and the drop-down menu of its toolbar stayed alive until the
editor or the workbench window closed. The tab also registered itself as
the active object viewer in the application context when it was
created, which kept a closed editor reachable. The tab now disposes all
of that in its @PreDestroy, its context is disposed, and the viewer is
registered only while the list tab is selected, including when the
editor selects it programmatically.

Cell editing in the list tab also created a new cell editor widget on
every activation; each column now reuses its editors.

Assisted-by: multiple AI agents and layers of automated tooling 🤖
@vogella
vogella force-pushed the vogella/e4-leaks-list-tab branch from 26ff5c4 to 756c338 Compare October 10, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant