Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 383823

Summary: restart required to fully apply change of theme
Product: [Eclipse Project] Platform Reporter: Jay Howard <jhoward>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: odrotbohm
Version: 4.2   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
correct classic appearance
none
default theme appearance
none
appearance after switching from default to classic none

Description Jay Howard CLA 2012-06-28 12:33:32 EDT
Build Identifier: Version: Juno Release Build id: 20120614-1722

Changing the theme (to classic) in preferences, when the current theme is something other than classic, fails to fully update the UI.  A restart is required in order for the UI to start behaving as if it were in classic mode.

In addition, switching from one workspace to another (using "Switch workspace" functionality), when using the classic theme, causes a different theme to be used when eclipse is re-loaded pointing to the new workspace.

Reproducible: Always

Steps to Reproduce:
1. Start eclipse for the first time and point to a workspace.  It should default to the classic theme and look more or less like Indigo.

2. Go into preferences and change the theme to something other than classic.  I chose "Default".  The UI should reflect this new theme.

3. Go back into preferences and change the theme back to "Classic".  Click "apply" and exit preferences.  The resulting UI changes slightly from the previous theme, but does not fully revert to "Classic".

4. Close eclipse and re-start.  The UI should now correctly reflect the Classic theme.

Will attempt to attach screen shots for #1, #2 and #3.
Comment 1 Jay Howard CLA 2012-06-28 12:46:47 EDT
Created attachment 218035 [details]
correct classic appearance

This is the way the workbench looks when you initially launch eclipse and classic theme is selected.  It is correct and matches the appearance in Indigo.
Comment 2 Jay Howard CLA 2012-06-28 12:47:32 EDT
Created attachment 218037 [details]
default theme appearance

This is the way the work bench looks after launching in classic and switching to the default theme via preferences.
Comment 3 Jay Howard CLA 2012-06-28 12:49:05 EDT
Created attachment 218038 [details]
appearance after switching from default to classic

This is what the workbench looks like after launching in classic, switching to default in preference, then switching back to classic in preferences.  Note the toolbar and various window features are "held over" from the default theme.
Comment 4 Paul Webster CLA 2012-06-28 13:40:40 EDT
At the moment a restart is required because certain SWT widget attributes that it makes sense to control using CSS can really only be modified on widget creation.

We're working on that, and in the mean time we want the change to warn that a restart is needed.

PW

*** This bug has been marked as a duplicate of bug 362522 ***