Window management - Apps raised from indicators sometimes dont have the focus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ayatana Design |
Fix Committed
|
Critical
|
John Lea | ||
DBus Menu |
Triaged
|
Medium
|
Unassigned | ||
MPRIS |
Unknown
|
High
|
|||
Messaging Menu |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
13.04 |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
The Sound Menu |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
13.04 |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
Ubuntu One Client |
Fix Committed
|
Undecided
|
Marco Trevisan (Treviño) | ||
empathy (Ubuntu) |
Fix Released
|
Undecided
|
Marco Trevisan (Treviño) | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
indicator-messages (Ubuntu) |
Fix Released
|
Undecided
|
Marco Trevisan (Treviño) | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
indicator-sound (Ubuntu) |
Fix Released
|
Undecided
|
Marco Trevisan (Treviño) | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
libdbusmenu (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
sni-qt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned | ||
tomboy (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
ubuntuone-client (Ubuntu) |
Fix Released
|
Undecided
|
Marco Trevisan (Treviño) | ||
Xenial |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 11.10 beta
compiz 1:0.9.5.
unity 4.16.0-0ubuntu1
1. open banshee, start a song in it and minimize
2. open another application lets say gnome-terminal
3. click on the sound menu and select banshee
What happens
banshee icon in the launcher wiggles and banshee main window is not shown
What should happen
banshee main window should come to focus
This is a long standing bug which Ted Gould thinks should be fixed at window manager's level.
====Some other observations=====
The problem wont happen
1. if every other app is minimized or
2. Banshee is the only opened app or
3. after opening gnome-terminal, banshee window is closed so that it hides to the SoundMenu and opened again
=====Comment from Ted Gould=====
<om26er> tedg, Hi! any thoughts on the long standing bug 627195 ? Its been there before unity so I guess we can conclude unity not to be responsible
<tedg> om26er, My thought is that window managers should $%#$ get fixed... though I haven't convinced smspillaz of it yet.
=====The good rule=====
3v1n0: Indicators should present the application windows by passing to them the timestamp of the menu item activation event.
Unfortunately for indicator-sound, this is not trival as it sounds, since it needs a change to the MPRIS dbus specification.
See comment https:/
For what concerns libappindicator based indicators (such as the one used by tomboy), since it's not currently possible in libdbusmenu to pass the event during activation (so that clients will be able to get the proper timestamp using gtk_get_
1. Use the server time to present a window:
https:/
2. Get the event timestamp from the dbus-menu linked to the gtk-menus:
https:/
3. Qt applications workaround: http://
Window managers will obey to it.
=======
SRU for sni-qt:
[Test case]
git clone https:/
cd indicators-
qmake-qt4
./systray
Close the app, now try to restore it from in the indicator (after having played with some app writing text on it such as gnome-terminal or gedit).
The app should be in foreground now
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Lars Karlitski (community): Approve
-
Diff: 191 lines (+131/-4)5 files modifiedsrc/Makefile.am (+2/-1)
src/gtk-application-player.vala (+123/-0)
src/metadata-menu-item.vala (+2/-1)
src/mpris2-controller.vala (+2/-2)
src/player-controller.vala (+2/-0)
- PS Jenkins bot (community): Approve (continuous-integration)
- Lars Karlitski (community): Approve
-
Diff: 191 lines (+131/-4)5 files modifiedsrc/Makefile.am (+2/-1)
src/gtk-application-player.vala (+123/-0)
src/metadata-menu-item.vala (+2/-1)
src/mpris2-controller.vala (+2/-2)
src/player-controller.vala (+2/-0)
- PS Jenkins bot (community): Approve (continuous-integration)
- Lars Karlitski (community): Approve
-
Diff: 243 lines (+100/-19)6 files modifiedconfigure.ac (+2/-0)
debian/control (+1/-0)
src/Makefile.am (+3/-1)
src/metadata-menu-item.vala (+1/-1)
src/player-activator.vala (+91/-15)
src/player-controller.vala (+2/-2)
- PS Jenkins bot (community): Approve (continuous-integration)
- Lars Karlitski (community): Approve
- Mathieu Trudel-Lapierre: Abstain
-
Diff: 243 lines (+100/-19)6 files modifiedconfigure.ac (+2/-0)
debian/control (+1/-0)
src/Makefile.am (+3/-1)
src/metadata-menu-item.vala (+1/-1)
src/player-activator.vala (+91/-15)
src/player-controller.vala (+2/-2)
- PS Jenkins bot (community): Approve (continuous-integration)
- Lars Karlitski (community): Approve
-
Diff: 78 lines (+16/-4)3 files modifiedsrc/app-section.c (+10/-3)
src/im-app-menu-item.c (+4/-1)
src/messages-service.c (+2/-0)
- PS Jenkins bot (community): Approve (continuous-integration)
- Mathieu Trudel-Lapierre: Approve
-
Diff: 78 lines (+16/-4)3 files modifiedsrc/app-section.c (+10/-3)
src/im-app-menu-item.c (+4/-1)
src/messages-service.c (+2/-0)
- Ubuntu Desktop: Pending requested
-
Diff: 242 lines (+222/-0)3 files modifieddebian/changelog (+8/-0)
debian/patches/47_git_activate_with_platform_data.patch (+213/-0)
debian/patches/series (+1/-0)
- dobey (community): Approve
- Diego Sarmentero (community): Approve
- Roberto Alsina (community): Approve
-
Diff: 352 lines (+205/-48)2 files modifiedtests/platform/sync_menu/test_linux.py (+139/-20)
ubuntuone/platform/sync_menu/linux.py (+66/-28)
- dobey (community): Disapprove
- Diego Sarmentero: Pending requested
-
Diff: 352 lines (+205/-48)2 files modifiedtests/platform/sync_menu/test_linux.py (+139/-20)
ubuntuone/platform/sync_menu/linux.py (+66/-28)
- Lukáš Tinkl (community): Approve
-
Diff: 35 lines (+11/-1)1 file modifiedsrc/statusnotifieritem.cpp (+11/-1)
- Lukáš Tinkl (community): Approve
-
Diff: 48 lines (+8/-1)3 files modifieddebian/control (+1/-0)
src/appmenuplatformsystemtrayicon.cpp (+6/-0)
src/src.pro (+1/-1)
- Andrea Azzarone (community): Approve
-
Diff: 215 lines (+82/-11)7 files modifieddebian/changelog (+10/-0)
src/fsutils.cpp (+19/-4)
src/iconcache.cpp (+11/-2)
src/iconcache.h (+2/-2)
src/statusnotifieritem.cpp (+12/-2)
tests/auto/fsutilstest.cpp (+1/-0)
tests/auto/iconcachetest.cpp (+27/-1)
affects: | indicator-applet → libindicate |
Changed in libindicate: | |
status: | New → Confirmed |
affects: | ayatana-ubuntu → unity |
description: | updated |
affects: | libindicate → ayatana-design |
description: | updated |
summary: |
- many apps are unfocused when they are raised from MessagingMenu or - SoundMenu + Apps raised from indicators sometimes dont have the focus |
Changed in compiz-core: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → 0.9.5.96 |
Changed in ayatana-design: | |
assignee: | nobody → John Lea (johnlea) |
status: | Confirmed → Fix Committed |
tags: | added: onew udo |
Changed in ayatana-design: | |
status: | Fix Committed → Fix Released |
Changed in unity: | |
milestone: | none → backlog |
tags: | added: udp |
Changed in ayatana-design: | |
status: | Fix Released → Fix Committed |
Changed in ayatana-design: | |
status: | Fix Committed → Triaged |
Changed in unity: | |
assignee: | nobody → Ted Gould (ted) |
Changed in ayatana-design: | |
status: | Triaged → Fix Committed |
Changed in unity (Ubuntu): | |
importance: | Undecided → High |
Changed in compiz-core: | |
milestone: | 0.9.5.96 → none |
Changed in compiz-core: | |
status: | Confirmed → Triaged |
Changed in unity: | |
status: | Confirmed → Triaged |
Changed in compiz (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in unity (Ubuntu): | |
status: | Confirmed → Triaged |
summary: |
- Apps raised from indicators sometimes dont have the focus + Window management - Apps raised from indicators sometimes dont have the + focus |
Changed in ayatana-design: | |
importance: | High → Critical |
Changed in compiz: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in unity: | |
assignee: | Ted Gould (ted) → nobody |
Changed in unity: | |
milestone: | backlog → none |
tags: | added: exbacklog |
Changed in unity (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
Changed in indicator-sound: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in compiz: | |
status: | Triaged → Invalid |
Changed in unity: | |
status: | Triaged → Won't Fix |
status: | Won't Fix → Invalid |
Changed in compiz (Ubuntu): | |
status: | Triaged → Invalid |
Changed in unity (Ubuntu): | |
status: | Triaged → Invalid |
Changed in indicator-sound (Ubuntu): | |
status: | New → Confirmed |
Changed in indicator-sound: | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
milestone: | none → 13.04.0 |
status: | Triaged → In Progress |
Changed in mpris: | |
importance: | Unknown → High |
status: | Unknown → Confirmed |
Changed in indicator-sound (Ubuntu): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
status: | Confirmed → In Progress |
Changed in indicator-messages: | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in empathy (Ubuntu): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
status: | New → In Progress |
Changed in indicator-sound: | |
milestone: | 13.04.0 → none |
assignee: | Marco Trevisan (Treviño) (3v1n0) → nobody |
status: | In Progress → Triaged |
Changed in indicator-messages: | |
assignee: | Marco Trevisan (Treviño) (3v1n0) → nobody |
status: | In Progress → Triaged |
Changed in indicator-messages (Ubuntu): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
status: | New → In Progress |
description: | updated |
Changed in indicator-messages: | |
status: | Fix Committed → Triaged |
Changed in indicator-messages (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in indicator-sound: | |
status: | Fix Committed → Triaged |
Changed in indicator-sound: | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
status: | Triaged → In Progress |
Changed in indicator-messages: | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
status: | Triaged → In Progress |
Changed in empathy (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in indicator-sound (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in indicator-messages: | |
milestone: | none → 13.10.1 |
Changed in ubuntuone-client: | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
status: | New → In Progress |
Changed in libdbusmenu: | |
importance: | Undecided → Medium |
status: | New → Triaged |
description: | updated |
Changed in tomboy (Ubuntu): | |
status: | New → Confirmed |
Changed in ubuntuone-client (Ubuntu): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
status: | New → In Progress |
Changed in ubuntuone-client: | |
status: | In Progress → Fix Committed |
tags: | added: u1-notrack |
description: | updated |
Changed in ubuntuone-client (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in indicator-messages: | |
status: | Fix Committed → Fix Released |
Changed in indicator-sound: | |
status: | Fix Committed → Fix Released |
no longer affects: | indicator-messages (Ubuntu Raring) |
no longer affects: | indicator-sound (Ubuntu Raring) |
description: | updated |
description: | updated |
affects: | unity → ubuntu-translations |
no longer affects: | ubuntu-translations |
tags: | added: verification-needed |
tags: |
added: verification-done removed: verification-needed |
Changed in mpris: | |
status: | Confirmed → Unknown |
The related rhythmbox bug 562191