Window management - Display full size window decorations on currently selected window in spread
Bug #1033935 reported by
Ugo Riboni
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ayatana Design |
Fix Released
|
High
|
John Lea | ||
Unity |
Fix Released
|
High
|
Renato Araujo Oliveira Filho | ||
unity (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
According to the updated design document for Unity: "The currently focused window is highlighted, with an orange glow outline and a full-size title bar, clearly showing the window caption and providing access to a close button. If there is not enough space to display the window caption, it is displayed just below the title bar"
See http://
Related branches
lp://staging/~renatofilho/unity/unity-lp876017-fixes
- Marco Trevisan (Treviño): Approve
- jenkins: Pending (continuous-integration) requested
-
Diff: 981 lines (+425/-321)7 files modifiedplugins/unityshell/src/unityshell.cpp (+311/-295)
plugins/unityshell/src/unityshell.h (+30/-26)
unity-shared/PluginAdapter.h (+4/-0)
unity-shared/PluginAdapterCompiz.cpp (+67/-0)
unity-shared/PluginAdapterStandalone.cpp (+6/-0)
unity-shared/WindowManager.cpp (+5/-0)
unity-shared/WindowManager.h (+2/-0)
lp://staging/~3v1n0/unity/spread-title-improved
- jenkins (community): Needs Fixing (continuous-integration)
- Renato Araujo Oliveira Filho (community): Approve
-
Diff: 1202 lines (+387/-393)2 files modifiedplugins/unityshell/src/unityshell.cpp (+366/-367)
plugins/unityshell/src/unityshell.h (+21/-26)
summary: |
- Display full size window decorations on currently selected window in - spread + Window management - Display full size window decorations on currently + selected window in spread |
Changed in ayatana-design: | |
assignee: | nobody → John Lea (johnlea) |
importance: | Undecided → High |
Changed in unity: | |
importance: | Undecided → High |
Changed in unity (Ubuntu): | |
importance: | Undecided → High |
Changed in ayatana-design: | |
status: | New → Triaged |
Changed in unity: | |
status: | New → Triaged |
Changed in unity (Ubuntu): | |
status: | New → Triaged |
Changed in unity: | |
milestone: | none → backlog |
tags: | added: udp |
description: | updated |
Changed in unity: | |
assignee: | nobody → Ugo Riboni (uriboni) |
Changed in unity: | |
assignee: | Ugo Riboni (uriboni) → nobody |
Changed in ayatana-design: | |
status: | Triaged → Fix Committed |
Changed in unity: | |
milestone: | backlog → none |
tags: | added: exbacklog |
Changed in ayatana-design: | |
status: | Fix Committed → Fix Released |
Changed in unity: | |
status: | Fix Committed → Fix Released |
tags: |
added: reviewedbydesignq removed: udp |
To post a comment you must log in.
Difficulty: Very Difficult, would not recommend this cycle :glDecorate a wrappable function :glDecorate, draw the decoration texture using GLWindow: :glDrawTexture but the "region" should be the size of the scale slot instead of the actual window size (this will probably make it draw at full size, not sure).
Method:
1) Make the decor plugin an interface plugin (like scale, cube, etc)
2) Make DecorWindow:
3) Overload it unity side
4) On UnityWindow:
Test: Not sure at this point. This may require a bit of 2D matrix manipulation and that will definitely need testing.