Ticket #1865 (closed bug: fixed)
UI: HUDs are skinned only if they a HUD is opened when you change the skin - Sophie2 skin (look of the HUD, some things are changed)
Reported by: | deyan | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | M11_BETA3 |
Component: | uncategorized | Version: | 2.0 |
Keywords: | Cc: | ||
Category: | unknown | Effort: | |
Importance: | Ticket_group: | ||
Estimated Number of Hours: | 0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Analysis_owners: | deyan | Design_owners: | deni |
Imp._owners: | deni | Test_owners: | |
Analysis_reviewers: | deni | Changelog: | |
Design_reviewers: | meddle, todor | Imp._reviewers: | meddle, todor |
Test_reviewers: | Analysis_score: | 4 | |
Design_score: | 4 | Imp._score: | 4 |
Test_score: | 0 |
Description
UI: HUDs are skinned only if they a HUD is opened when you change the skin - Sophie2 skin (look of the HUD, only some things are changed)
Change History
comment:2 Changed 16 years ago by deni
- Status changed from s1b_analysis_finished to s2a_design_started
comment:3 Changed 16 years ago by deni
- Currently when the skin is changed, all swing components connected with the main window global container (MDMainWindow class) are repainted. However the invisible huds are already created but not included in the PageWorkArea's swing component. Therefore their UI does not update.
- The first option is to include all huds in the PageWorkArea's swing component, but this may be slow it down. Besides, the configuration panel of the links hud will not be updated and there will be further changes.
- An alternative solution is to make all elements responsible to update their UI when the look and feel changes.
- A new AutoProperty will be added in SkinManager. It will extract the current look and feel from the skin and update the application's look and feel. This does not cause the existing elements to update to the new look and feel.
- A new resource property will be added in BaseSwingVisualElement. It will synchronize the look and feel of the swing component wil the current look and feel.
- I've implemented the second one...
comment:4 Changed 16 years ago by deni
- Design_owners set to deni
- Status changed from s2a_design_started to s3b_implementation_finished
- Imp._owners set to deni
comment:5 Changed 16 years ago by meddle
- Status changed from s3b_implementation_finished to s3c_implementation_ok
- Analysis_reviewers set to deni
- Analysis_score changed from 0 to 4
- Imp._reviewers set to meddle, todor
- Design_score changed from 0 to 4
- Design_reviewers set to meddle, todor
- Imp._score changed from 0 to 4
Merged in [5194]. Your new ticket is 1914.
Note: See
TracTickets for help on using
tickets.