Window focus issue

Bug #502328 reported by Johan Forsberg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kupfer
New
Wishlist
Unassigned

Bug Description

(Moving my question to the bug tracker as requested)

Quite frequently when navigating in kupfer something happens to move the keyboard focus away from kupfer so that I have to manually move it back. I am not sure what causes this, sometimes I guess it's caused by me inadvertently moving the mouse (touchpad etc) but not always.

Would it be possible to make kupfer steal the keyboard focus entirely while it's open? I guess still having the possibility to move things around with the mouse would be good (e.g. selecting text) but I can't really see any point in allowing keyboard focus for other windows while kupfer's window is open. It's not that big a deal to close and then reopen kupfer afterwards.

I realise that this would make kupfer's window sort of "modal" and this may be viewed as a Bad Thing...

Tags: wishlist
Revision history for this message
Karol Będkowski (karol-bedkowski) wrote :

Hi,
Please check is attached patch solve this problem with your environment.
Window can lost focus, but Kupfer should still have "keyboard focus".

Regards,
Karol

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote : Re: [Bug 502328] Re: Window focus issue

2010/1/24, Karol Będkowski <email address hidden>:
> Hi,
> Please check is attached patch solve this problem with your environment.
> Window can lost focus, but Kupfer should still have "keyboard focus".
>
> Regards,
> Karol
>
> ** Attachment added:
> "0001-ui.browser-keep-keyboard-focus-even-main-window-lost.patch"

Hi,

This is interesting, is it not the pointer we want to grab? The
keyboard grab prevents even Kupfer's own global keybindings (triggers,
Alt+Tab, Ctrl+Space to hide kupfer again etc).

A demonstrative patch attached; we must find out how to let through
some mouse events and not others (let through all events on the window
frame, and anything but single clicks: drag and double-clicks).

ulrik

Changed in kupfer:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.