After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 588955 - Dont steal focus when join favourites clicked
Dont steal focus when join favourites clicked
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: Multi User Chat
2.27.x
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
: 614272 (view as bug list)
Depends on: 615976
Blocks:
 
 
Reported: 2009-07-18 14:09 UTC by Praveen Thirukonda
Modified: 2010-05-04 12:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Praveen Thirukonda 2009-07-18 14:09:58 UTC
i have around 10 irc favourite rooms when i click join favourites, one after the other each opens in a new tab and the window focus goes to the new tab which opens. so for roughly 5-10 secs that it takes for all the tabs to open i cant do anything else as even if i click on say firefox then when next tab opens the window again steals focus.

So new tabs should open in background and not steal focus.
Comment 1 Guillaume Desmottes 2009-08-07 16:12:40 UTC
I agree.
Comment 2 Praveen Thirukonda 2009-08-24 10:44:01 UTC
Am running a updated ver from daily ppa and still this problem exists though it seems that some modifications have been made it needs more work.

like say i have clicked join fav. and it opens a new windo and in that 2 tabs have opened now if i minimize this window and move to other window say firefox then the new tabs which open will open in  a new window and not in the previous window where the tabs were opening.


also even now if i click jon fav and alt+tab to another window then also empathy steals focus and comes on the front.
Comment 3 Milan Bouchet-Valat 2010-03-31 13:49:30 UTC
Confirmed with 2.30, very annoying. I think there are two issues here:
- don't steal focus from the Empathy tab you're chatting in
- don't steal focus from other windows
Comment 4 Johannes Schmid 2010-05-02 20:51:35 UTC
*** Bug 614272 has been marked as a duplicate of this bug. ***
Comment 5 Johannes Schmid 2010-05-03 17:44:36 UTC
Could anybody point me in the right direction for fixing this? I found out that the chat is actually created from dispatch_cb() in empathy.c and that the request was started account_manager_chatroom_ready_cb() but there happens so much telepathy magic in between that I don't know how I can get the "auto_connect" flag back in dispatch_cb() to avoid stealing the focus.

Thanks!
Comment 6 Guillaume Desmottes 2010-05-04 07:59:08 UTC
First thing to do would be to wait that bug #615976 is fixed and see if that helps.
Comment 7 Guillaume Desmottes 2010-05-04 12:22:48 UTC
Fixed in master (with bug #615976). WIll be in 2.31.1.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.