[haiku-appserver] Re: Focus

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Fri, 18 Nov 2005 23:33:01 +0100 CET

Stephan Aßmus <superstippi@xxxxxx> wrote:
> > Add it as an option in one of the preference applets maybe?  Start
> > with the
> > new model as the default and then have a 'Use legacy BeOS focus
> > handling'
> > checkbox...
> Obviously, there can only be one window with keyboard focus. For it
> to be
> possible to have two blinking cursors in two different windows, be
> they
> floating windows or not, only means Be screwed something up. The
> simple fix
> is for BWindow::IsActive() to mean "has keyboard focus". That's what
> I want
> to know as a developer from IsActive(). I do *not* want to know "is
> the tab
> highlighted". Since Axel has shown that two text controls with
> keyboard focus
> is possible on R5, and since it is clearly a bug, I would not even
> think
> about offering a "legacy" behaviour in some preflet. Simply not copy
> the bug
> and be done with it.

Definitely. Note that only one of the windows actually received
keyboard events - it was just a visual annoyance and is very confusing.

Bye,
   Axel.


Other related posts: