touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #62574
[Bug 627195] Re: Window management - Apps raised from indicators sometimes dont have the focus
I couldn't see an obvious way to edit my above post, so apologies for
sending out a second comment, but I do have to ask... why would the
default parameter for focus-prevention-level not be 0 anyways? It
doesn't seem, do I dare say, all that logical to have it set to 1 since
it only ends up providing inconsistent behavior with the way things from
system tray open. It being set to 0 provides that consistency. It would
surely remove the "look on your launcher, see? it's there after all"
comments I have to make quite often so users know that the application
they tried to open from system tray isn't broken, it indeed launched,
it's just... minimized and in your left launcher.
Thanks for all of your work!
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/627195
Title:
Window management - Apps raised from indicators sometimes dont have
the focus
Status in Ayatana Design:
Fix Committed
Status in Compiz:
Invalid
Status in The Messaging Menu:
Fix Released
Status in Messaging Menu 13.04 series:
Fix Released
Status in Sound Menu:
Fix Released
Status in The Sound Menu 13.04 series:
Fix Released
Status in DBus Menu:
Triaged
Status in MPRIS D-Bus Interface Specification:
Confirmed
Status in Ubuntu One Client:
Fix Committed
Status in Unity:
Invalid
Status in compiz package in Ubuntu:
Invalid
Status in empathy package in Ubuntu:
Fix Released
Status in indicator-messages package in Ubuntu:
Fix Released
Status in indicator-sound package in Ubuntu:
Fix Released
Status in libdbusmenu package in Ubuntu:
Confirmed
Status in tomboy package in Ubuntu:
Confirmed
Status in ubuntuone-client package in Ubuntu:
Fix Released
Status in unity package in Ubuntu:
Invalid
Bug description:
Ubuntu 11.10 beta
compiz 1:0.9.5.94+bzr2803-0ubuntu5
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://bugs.launchpad.net/ayatana-design/+bug/627195/comments/26 for more informations.
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_current_event_time), there are two "hackish" ways:
1. Use the server time to present a window:
https://bugzilla.gnome.org/show_bug.cgi?id=688830
2. Get the event timestamp from the dbus-menu linked to the gtk-menus:
http://paste.ubuntu.com/5701235/
3. Qt applications workaround: http://is.gd/WnW9eN
Window managers will obey to it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ayatana-design/+bug/627195/+subscriptions