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 333110 - Focus is broken for new chat windows
Focus is broken for new chat windows
Status: RESOLVED FIXED
Product: gossip
Classification: Deprecated
Component: General
0.10
Other Linux
: Normal normal
: ---
Assigned To: Gossip Maintainers
Gossip Maintainers
: 336246 348244 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-03-02 10:53 UTC by Wouter Bolsterlee (uws)
Modified: 2006-09-24 18:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Wouter Bolsterlee (uws) 2006-03-02 10:53:08 UTC
1. Enable sloppy focus
2. Start Gossip
3. Hit Ctrl-N
4. Select a contact
5. Press the chat button

Expected:
6. Chat window opens WITH focus

Actual:
6. Chat window opens WITHOUT focus (except when your mouse happened to be where the window opens).
Comment 1 Richard Hult 2006-03-02 12:43:38 UTC
This is actually a window manager issue afaik (we are presenting the window, it's up to the window manager to give it focus). It works for me with metacity 2.13.x (upcoming gnome release).
Comment 2 Wouter Bolsterlee (uws) 2006-03-02 13:23:12 UTC
It works for me too when I turn off sloppy focus. With sloppy focus enabled, it doesn't work, though.
Comment 3 Martyn Russell 2006-03-02 14:06:13 UTC
If we are presenting the window, regardless to what the window manager does, we have no further influence right Richard.

I will close this if you agree.
Comment 4 Richard Hult 2006-03-02 15:28:28 UTC
There is a way to (with an ugly hack) force the window to be focused, but it's really up to the window manager to do it. It works for me and I use sloppy focus. I'd like to get some more info before closing, like which version of metacity was used for example.
Comment 5 Wouter Bolsterlee (uws) 2006-03-03 08:35:24 UTC
I'm using a fully up-to-date metacity CVS HEAD.
Comment 6 Richard Hult 2006-03-03 09:02:56 UTC
OK, I'm using the gnome-2-14 branch and I've tried I think 20 times with different positions of the window and pointer but the chat window always gets focused. I don't know why it's not working for you. Which GTK+ version do you have?
Comment 7 Richard Hult 2006-03-14 20:00:49 UTC
I managed to figure out what's happening. If there is already a window that the new tab is opened in, the the window is not raised. That is definitely something that we should. I was only testing with no window present.
Comment 8 Richard Hult 2006-03-18 08:55:03 UTC
Just to make sure we are talking about the same thing. Do you really mean "new chat windows need focus", or "old windows with new tabs need focus"? Because the first one works for me, the second not.
Comment 9 Martyn Russell 2006-03-31 15:25:01 UTC
*** Bug 336246 has been marked as a duplicate of this bug. ***
Comment 10 Richard Hult 2006-04-23 07:48:56 UTC
There is no need for info here, the bug is clear from the above, reopening.
Comment 11 Richard Hult 2006-06-17 21:24:54 UTC
I've tried with all sorts of hacks to get this working reliable without success. If someone wants to give it a shot, feel free.
Comment 12 Richard Hult 2006-08-07 23:06:27 UTC
*** Bug 348244 has been marked as a duplicate of this bug. ***
Comment 13 Richard Hult 2006-09-23 16:54:28 UTC
OK, I've added my little hack (not really a hack, it's the way it's supposed to be done) now that metacity finally gets the timestamp logic right :) Need GNOME 2.16.x with a recent enough metacity for the fix to work.