Merge lp:~osomon/unity-2d/panel-update-on-view-opened into lp:unity-2d/3.0
Proposed by
Olivier Tilloy
Status: | Merged |
---|---|
Approved by: | Ugo Riboni |
Approved revision: | 533 |
Merged at revision: | 532 |
Proposed branch: | lp:~osomon/unity-2d/panel-update-on-view-opened |
Merge into: | lp:unity-2d/3.0 |
Diff against target: |
63 lines (+24/-0) 3 files modified
panel/applets/appname/menubarwidget.cpp (+18/-0) panel/applets/appname/menubarwidget.h (+1/-0) panel/applets/appname/windowhelper.cpp (+5/-0) |
To merge this branch: | bzr merge lp:~osomon/unity-2d/panel-update-on-view-opened |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ugo Riboni (community) | Approve | ||
Review via email: mp+57598@code.launchpad.net |
Commit message
[panel] Update the appname applet’s information (application name, window buttons, menu bar) also when a new view is opened.
This works around a bug in BAMF whereby the ActiveWindowChanged signal is not emitted for some windows that open maximized. This is for example the case of the LibreOffice startcenter..
To post a comment you must log in.
I tested it functionally and it works fine with both libreoffice and other applications that are made to start maximized.
I also checked for regressions with other apps and window sizes and it all seems ok.
Looking at the code I don't see how it would cause regressions anyway. At worse what it might do is cause unnecessary updates.
I don't have comments about the code either, it seems good to go.
Well done.