GNOME Bugzilla – Bug 98876
Mouse click in unfocused window does not pass through.
Last modified: 2004-12-22 21:47:04 UTC
If you click in an unfocused window the click does not pass through to the application. This is distrubing as the buttons in an unfocused window see the mouse movements and thus switches to 'prelight' mode. As the button under the mouse changes state the user thinks clicking will works but it doesn't!
Olivier, just for the record, what version of Metacity?
Sorry for the missing version number. I've updated it. I also checked at home on both mandrake 9.0 and latest cooker and I can't reproduced it. So that might be a problem of libraries or I don't know what else. I'll checks my libraries at work. Stay tuned! By the way, I changed the priority to 'low' as I can't reproduce it at home.
I can reproduce this on my GNOME2 system (Metacity built from anoncvs on Friday), but I can't reproduce it on my GNOME2.1 snapshot system with metacity-2.4.3.0.200211161802-0.snap.ximian.1. Weird.
I just moved all config files of metacity (.metacity and .gconf/apps/metacity) out of the way from the console and then logged in and the problem disappered. At that point, my conclusion is that it's a config-file migration issue. I'll have a look at the difference in the config files.
After diffing the new and the old config and playing a bit with gconftool it turns out to be the 'application_based' key which is the source of the problem. If it's set to true the focusing click is eaten otherwise it gets through.
Ah, yes. Not really a bug, in an application based setup you would indeed want this behavior. But the application_based setup isn't usable right now, requires a lot of work. We should probably make application_based do nothing for the moment.
I'm disabling application_based now.
I think click through should be disabled by default. I used to have application_based on just for this little feature. Being able to click anywhere on an unfocused window to activate it instead of a tiny titlebar or tasklist button is a huge usability improvement, IMO.