Merge lp:~alan-griffiths/miral/workspaces-example into lp:miral
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~alan-griffiths/miral/workspaces-example |
| Merge into: | lp:miral |
| Prerequisite: | lp:~alan-griffiths/miral/workspaces |
| Diff against target: |
498 lines (+256/-29) 7 files modified
miral-shell/titlebar_provider.cpp (+6/-3) miral-shell/titlebar_provider.h (+1/-1) miral-shell/titlebar_window_manager.cpp (+182/-5) miral-shell/titlebar_window_manager.h (+20/-1) miral/basic_window_manager.cpp (+17/-14) miral/mru_window_list.cpp (+24/-3) test/mru_window_list.cpp (+6/-2) |
| To merge this branch: | bzr merge lp:~alan-griffiths/miral/workspaces-example |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Alan Griffiths | Abstain on 2017-02-16 | ||
| Gerry Boland | 2017-02-10 | Approve on 2017-02-10 | |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2017-02-17.
Commit Message
[miral-shell] Example workspaces implementation
Description of the Change
[miral-shell] Example workspaces implementation
Provides four workspaces:
o Switch workspace . . . . . . . . . . : Meta-Alt-
o Switch workspace taking active window: Meta-Ctrl-
- 508. By Alan Griffiths on 2017-02-13
- 509. By Alan Griffiths on 2017-02-14
- 510. By Alan Griffiths on 2017-02-14
-
Tidy up code
- 511. By Alan Griffiths on 2017-02-15
- 512. By Alan Griffiths on 2017-02-15
| Alan Griffiths (alan-griffiths) wrote : | # |
The active window tracking gets confused here.
Start miral-app
Start an app from the command line (e.g. mir_demo_
Move that app to another workspace (e.g. Ctrl-Meta-F4)
Switch back to first workspace (Alt-Meta-F4)
Move the terminal too (e.g. Ctrl-Meta-F4)
Now
1. Both apps show a "focussed" toolbar
2. Alt-Tab doesn't switch between apps
| Alan Griffiths (alan-griffiths) wrote : | # |
If a window in a hidden sets the state from the client then it overrides the hidden state imposed by the workspace.
- 513. By Alan Griffiths on 2017-02-16
-
Factor out common code
- 514. By Alan Griffiths on 2017-02-16
-
Fix handling of window state changes when on hidden workspace
| Alan Griffiths (alan-griffiths) wrote : | # |
> If a window in a hidden sets the state from the client then it overrides the
> hidden state imposed by the workspace.
Fixed
- 515. By Alan Griffiths on 2017-02-16
-
Don't lose unhiding windows from the MRU list
- 516. By Alan Griffiths on 2017-02-16
-
Remember the current intensity of *each* titlebar, not just the last one painted
| Alan Griffiths (alan-griffiths) wrote : | # |
> 1. Both apps show a "focussed" toolbar
> 2. Alt-Tab doesn't switch between apps
Fixed
| Brandon Schaefer (brandontschaefer) wrote : | # |
An issues I can reproduce:
1) Open egl plasma demo
2) Open egl triangle demo
3) egl triangle should be on top
4) switch work spaces to 2, meta + alt + f2
5) switch back to work space 1, meta + alt + f1
6) (note that egl triangle is ontop still but no window appears to be focused, ie. toolbars are greyed out)
7) switch back to work space 2, meta + alt + f2
8) switch back to work space 1, meta + alt + f1
Expected:
egl triangle to still be on top and focused
Result:
egl triangle is below egl plasma and plasma has focus
You can test this by alt+tabbing to get triangle back on top.
- 517. By Alan Griffiths on 2017-02-17
-
Track active window history better when hiding windows
- 518. By Alan Griffiths on 2017-02-17
-
When switching workspaces, remember where focus was, so it doesn't randomly go to the first window we unhide
| Alan Griffiths (alan-griffiths) wrote : | # |
> An issues I can reproduce:
> 1) Open egl plasma demo
> 2) Open egl triangle demo
> 3) egl triangle should be on top
> 4) switch work spaces to 2, meta + alt + f2
> 5) switch back to work space 1, meta + alt + f1
> 6) (note that egl triangle is ontop still but no window appears to be focused,
> ie. toolbars are greyed out)
> 7) switch back to work space 2, meta + alt + f2
> 8) switch back to work space 1, meta + alt + f1
>
> Expected:
> egl triangle to still be on top and focused
>
> Result:
> egl triangle is below egl plasma and plasma has focus
>
> You can test this by alt+tabbing to get triangle back on top.
Fixed
- 519. By Alan Griffiths on 2017-02-17
-
merge :parent
- 520. By Alan Griffiths on 2017-02-17
- 521. By Alan Griffiths on 2017-02-17
-
merge lp:~alan-griffiths/miral/workspace-examples-prerequisites
- 522. By Alan Griffiths on 2017-02-17
-
Add workspace keys
- 523. By Alan Griffiths on 2017-02-17
-
merge lp:~alan-griffiths/miral/workspace-examples-prerequisites
- 524. By Alan Griffiths on 2017-02-17
-
Fix logging
- 525. By Alan Griffiths on 2017-02-17
-
Fix
- 526. By Alan Griffiths on 2017-02-17
-
Fix logging
- 527. By Alan Griffiths on 2017-02-17
-
Better solution
- 528. By Alan Griffiths on 2017-02-20
-
Comments to clarify code I can't simplify
- 529. By Alan Griffiths on 2017-02-20
-
DRY - reduce repetitive workspace visible/hidden code
- 530. By Alan Griffiths on 2017-02-20
-
merge :parent
- 531. By Alan Griffiths on 2017-02-20
-
merge lp:~alan-griffiths/miral/workspace-examples-prerequisites

Looks quite ok. The old state save/restore and window_state_hidden updates are a bit repetitive, but more belong in the policy implementation, so is ok