dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #00649
[Bug 745049] Re: HasKeyboardFocus still returns true after OnEndFocus signal
** Changed in: unity
Milestone: backlog => None
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to nux in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/745049
Title:
HasKeyboardFocus still returns true after OnEndFocus signal
Status in Nux:
Invalid
Status in Unity:
Invalid
Status in “nux” package in Ubuntu:
Invalid
Bug description:
The signal OnEndFocus on InputArea is defined in this way:
//! Signal emitted when the area looses the keyboard focus.
sigc::signal<void> OnEndFocus;
So, after receiving the signal OnEndFocus it is supposed that the
method HasKeyboardFocus should return false.
But this is not the case. I'm also attaching a patch that add OnStartFocus and OnEndFocus callbacks to the launcher object.
* If you open the launcher, OnStartFocus is called (so focus_in=TRUE). In this case focus_in and HasKeyboardFocus have the same value
* If you close the launcher, OnEndFocus is called (so focus_in=FALSE). In this case focus_in and HasKeyboardFocus DON'T HAVE the same value.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nux/+bug/745049/+subscriptions