[haiku-bugs] Re: [Haiku] #9876: [Interface Kit] diagonal mouse support doesn't always work as expected

  • From: "leavengood" <trac@xxxxxxxxxxxx>
  • Date: Sat, 03 Aug 2013 17:02:58 -0000

#9876: [Interface Kit] diagonal mouse support doesn't always work as expected
----------------------------------+----------------------------
   Reporter:  diver               |      Owner:  jackburton
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by leavengood):

 I'm pretty sure we do the diagonal "triangle" movement tracking shown in
 that blog post, but I suspect the missing element is time. At some point
 after the user stops moving the mouse the diagonal sub-menu tracking
 should give up and the current hovered-over item should be selected.

 The only issue in trying to fix this is our menu-tracking code is quite
 complicated and hard-to-change. I've seriously considered trying to sit
 down and completely redo it, using a more object-oriented approach, but
 that is hard due to lack of time and of course the fact that our current
 menu code is already so complicated one would need a very good test suite
 to make sure nothing is broken in a redesign.

 Some have suggested just waiting until after R1 is released to do a menu
 redesign as part of a new menu API (as supposedly part of the current
 difficulty is due to the BeOS menu classes design), but I don't think that
 is a very good excuse.

 As for this ticket: it would be cool if Haiku could be one of the only
 modern operating systems to have menus actually work properly like they
 did in the original Mac OS.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9876#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: