Bug 45846 - widget grabs keyboard focus on mouse over, seems unintuitive
Summary: widget grabs keyboard focus on mouse over, seems unintuitive
Status: RESOLVED NOTABUG
Alias: None
Product: Spice
Classification: Unclassified
Component: spice-gtk (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-09 08:51 UTC by Cole Robinson
Modified: 2012-02-10 04:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Cole Robinson 2012-02-09 08:51:59 UTC
spice gtk widget grabs keyboard focus on mouse over, which to me seems unintuitive. if I have a spice widget open half behind my terminal, and my mouse strays over it, alt-tab meant for the host gets eaten by the widget.

IMO just grabbing mouse on focus in should be sufficient (code already does that, but also does the mouse over bit).

gtk-vnc actually has the same behavior but provides an API for disabling (set_keyboard_grab in the python bindings). However vinagre at least just sets that to True, so maybe there is some reason for this behavior that I'm missing.
Comment 1 Marc-Andre Lureau 2012-02-09 15:59:25 UTC
I have spicy in the background, a terminal on top. I move mouse over the spicy window and press alt-tab. It switches toplevel window to the spicy client. Isn't that what is expected? (spice-gtk 0.9 & git)
Comment 2 Cole Robinson 2012-02-10 04:45:23 UTC
Hrm, sorry. I can't reproduce either. I think I was accidentally using a VNC guest with the keyboard_grab enabled (I've been tweaking some of this code in virt-manager).

Apologies for the noise, closing as NOTABUG


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.