Skip to content

Paint circular dirty indicator in editor list popups#3963

Open
vogella wants to merge 1 commit intoeclipse-platform:masterfrom
vogella:editor-list-dirty-indicator
Open

Paint circular dirty indicator in editor list popups#3963
vogella wants to merge 1 commit intoeclipse-platform:masterfrom
vogella:editor-list-dirty-indicator

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented May 4, 2026

The Ctrl+E editor switcher and the tab chevron drop-down kept showing the legacy * prefix even when the new tab dirty-indicator style was enabled, which #3960 reported. They now paint the same filled 8 px circle next to the title that CTabFolderRenderer.drawDirtyIndicator draws on tabs, so the visual style stays consistent with the tabs the user is switching between.

The drawing lives in a shared DirtyIndicatorPainter so the two popups, and any future list views that want the same style, call into one place. When the preference is off, the legacy * prefix is unchanged.

Closes #3960

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

Test Results

   852 files  ±0     852 suites  ±0   54m 59s ⏱️ + 3m 8s
 7 940 tests ±0   7 697 ✅ ±0  243 💤 ±0  0 ❌ ±0 
20 322 runs  ±0  19 667 ✅ ±0  655 💤 ±0  0 ❌ ±0 

Results for commit 15b8bf0. ± Comparison against base commit 7f682c2.

♻️ This comment has been updated with latest results.

@BeckerWdf
Copy link
Copy Markdown
Member

I tested this and one little thing should be improved:

image

The circle does not have enough space...

@sratz
Copy link
Copy Markdown
Member

sratz commented May 5, 2026

Could we right-align the dots in a column? Otherwise it will be very hard to visually scan the list for dirty editors.

@vogella vogella force-pushed the editor-list-dirty-indicator branch from 1bb5f52 to 7139f89 Compare May 6, 2026 07:28
@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented May 6, 2026

image image

The Ctrl+E editor switcher and the tab chevron drop-down kept showing
the legacy '*' prefix even when the new tab dirty-indicator style was
enabled. They now paint the same filled 8 px circle next to the title
that CTabFolderRenderer.drawDirtyIndicator draws on tabs, so the visual
style stays consistent with the tabs the user is switching between.
The drawing lives in a shared DirtyIndicatorPainter so the two popups,
and any future list views that want the same style, call into one
place. When the preference is off, the legacy '*' prefix is unchanged.

Closes eclipse-platform#3960
@vogella vogella force-pushed the editor-list-dirty-indicator branch from 7139f89 to 15b8bf0 Compare May 6, 2026 07:34
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.

"*" still used as "dirty indicator" even though is should be drawn as circle

3 participants