Comment 14 for bug 1646437

Revision history for this message
Stephen Boddy (stephen-j-boddy) wrote :

OK, So I think I found a fix for this. It is an old deep issue in gtk to do with timestamps and windows, and new windows from an existing process inheriting the existing windows timestamp. As a result focus stealing prevention places it behind the current focused window. Normally this is what you want, but in this case it isn't.

So my fix forces just the new windows to the front, but it has the minus that we're stomping over focus stealing prevention. There is probably a proper way to do this, but my eyes glazed over a bit as I was reading the bugs. So do I apply my size-ten-hobnailed-boot solution, or do I try and figure out how to do this the "blessed" way? Opinions?

Some supporting details:
https://bugs.launchpad.net/gala/+bug/1220179
https://bugzilla.gnome.org/show_bug.cgi?id=149028
https://bugzilla.gnome.org/show_bug.cgi?id=149276
https://bugzilla.gnome.org/show_bug.cgi?id=721145
https://bugzilla.gnome.org/show_bug.cgi?id=752000