Skip to content

Remove unused BootstrapTheme3x and its dummy.css#3975

Merged
vogella merged 1 commit intoeclipse-platform:masterfrom
vogella:remove-bootstrap-theme-3x
May 7, 2026
Merged

Remove unused BootstrapTheme3x and its dummy.css#3975
vogella merged 1 commit intoeclipse-platform:masterfrom
vogella:remove-bootstrap-theme-3x

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented May 6, 2026

BootstrapTheme3x was a reflective bootstrap helper added in 2010 (bug 310153, commit 99e054c) so org.eclipse.ui.internal.Workbench could activate the e4 styling engine without taking a hard dependency on org.eclipse.e4.ui.css.swt.theme. The Workbench call site was removed in 2011 by commit ad3c59a (the big "Merge in the e4.ui stuff" merge that brought the e4 UI stack into the platform), when styling initialization moved into the e4-based workbench. Nothing in the platform tree has referenced the class since, and the dummy.css it registered as the default theme is empty. This drops the class, the placeholder CSS, the now-empty css/ entry from build.properties, and bumps the bundle micro version.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

Test Results

   852 files  ±0     852 suites  ±0   1h 1m 19s ⏱️ + 9m 28s
 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 ff1364c. ± Comparison against base commit 7f682c2.

♻️ This comment has been updated with latest results.

@merks
Copy link
Copy Markdown
Contributor

merks commented May 6, 2026

I think you will have major problems with PRs not based on the current master.

@vogella vogella force-pushed the remove-bootstrap-theme-3x branch from f1aa3e4 to c5f1b6b Compare May 6, 2026 17:26
BootstrapTheme3x was a reflective bootstrap helper added in 2010 (bug
310153, commit 99e054c) so org.eclipse.ui.internal.Workbench could
activate the e4 styling engine without taking a hard dependency on
org.eclipse.e4.ui.css.swt.theme. The Workbench call site was removed
in 2011 by commit ad3c59a ("Merge remote branch 'e4/master' Merge
in the e4.ui stuff, plus the compat org.eclipse.ui.workbench"), the
big merge that brought the e4 UI stack into the platform; styling
initialization moved into the new e4-based workbench and the bridge
became dead code. Nothing in the platform tree has referenced the
class since, and the dummy.css it registered as the default theme is
empty. Drop the class, the css/dummy.css placeholder, and the
now-empty css/ entry from build.properties.
@vogella vogella force-pushed the remove-bootstrap-theme-3x branch from c5f1b6b to ff1364c Compare May 6, 2026 17:31
Copy link
Copy Markdown
Contributor

@merks merks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Off course it looks fine. 😀

@vogella vogella merged commit 306d809 into eclipse-platform:master May 7, 2026
18 checks passed
@vogella vogella deleted the remove-bootstrap-theme-3x branch May 7, 2026 03:40
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