Skip to content

Replace Forms API with plain SWT in workspace dialogs#3881

Draft
vogella wants to merge 1 commit intoeclipse-platform:masterfrom
vogella:replace-forms-api-workspace-dialogs
Draft

Replace Forms API with plain SWT in workspace dialogs#3881
vogella wants to merge 1 commit intoeclipse-platform:masterfrom
vogella:replace-forms-api-workspace-dialogs

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented Apr 10, 2026

Remove dependency on FormToolkit, ExpandableComposite, and ScrolledForm in ChooseWorkspaceDialog and ChooseWorkspaceWithSettingsDialog. Replace with plain SWT composites and Labels with Unicode triangle characters (▸/▾) for the expand/collapse toggle.

Benefits:

  • Improves dialog startup performance by eliminating Forms overhead (extra decorated composites, global paint/focus listeners, color management, recursive ScrolledForm reflow)
  • Unicode triangles (Geometric Shapes block, Unicode 1.0) render reliably on Windows, macOS, and Linux
  • Also fixes layout data mismatch where the path Combo used GridData inside a BorderLayout container (now uses BorderData)

@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented Apr 10, 2026

Note to myself: Need to build aggregator with this change to see recent workspace in action, configuration scope is not shared in runtime Eclipse.

@merks
Copy link
Copy Markdown
Contributor

merks commented Apr 10, 2026

Note that notes to yourself along with drafts generate emails for everyone. Please consider completing work before publicizing it as a draft.

@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented Apr 10, 2026

Note that notes to yourself along with drafts generate emails for everyone. Please consider completing work before publicizing it as a draft.

Sure, I will try to handle more developments via branches on my forks.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 10, 2026

Test Results

   852 files  ±0     852 suites  ±0   53m 10s ⏱️ - 4m 27s
 7 894 tests ±0   7 648 ✅  - 1  243 💤 ±0  3 ❌ +1 
20 184 runs  ±0  19 526 ✅  - 1  655 💤 ±0  3 ❌ +1 

For more details on these failures, see this check.

Results for commit 4394174. ± Comparison against base commit 357b87c.

♻️ This comment has been updated with latest results.

Remove dependency on FormToolkit, ExpandableComposite, and ScrolledForm
in ChooseWorkspaceDialog and ChooseWorkspaceWithSettingsDialog. Replace
with plain SWT composites and Labels with Unicode triangle characters
(U+25B8 ▸ / U+25BE ▾) for the expand/collapse toggle.

This improves dialog startup performance by eliminating the Forms
overhead: extra decorated composites, global paint/focus listeners,
color management, and recursive ScrolledForm reflow on each toggle.

The Unicode triangles are from the Geometric Shapes block (Unicode 1.0)
and render reliably on Windows, macOS, and Linux system fonts.

Also fix layout data mismatch where the path Combo used GridData inside
a BorderLayout container (now uses BorderData).
@vogella vogella force-pushed the replace-forms-api-workspace-dialogs branch from b72c257 to 4394174 Compare April 10, 2026 23:38
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.

2 participants