Opened 11 years ago

Closed 9 years ago

Last modified 8 years ago

#2181 closed bug (fixed)

BPopUpMenu doesn't accept keyboard navigation

Reported by: shinta Owned by: axeld
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: x86

Description

For example, I right clicked on the Desktop and opened pop-up menu. I pushed arrow key (up/down), but, the selection of pop-up menu wasn't changed.

Haiku: hrev25124+ SHINTA

Attachments (1)

Menu.diff.bad (2.8 KB ) - added by shinta 11 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by shinta, 11 years ago

It seems that after selection by the keyboard, _SelectItem(NULL) is called in BMenu::_Track()'s "Mouse pointer outside menu" block and reset the selection.

I tried to modify, but failed. My bad code is here.

by shinta, 11 years ago

Attachment: Menu.diff.bad added

comment:2 by Ziusudra, 9 years ago

This was fixed at some point.

comment:3 by stippi, 9 years ago

Has a Patch: set

comment:4 by stippi, 9 years ago

Similar patch in ticket #4930. See comments there.

comment:5 by jackburton, 9 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev37261 thanks to Ziusudra.

comment:6 by shinta, 8 years ago

I confirmed arrow keys navigation in hrev41022. Thanks!

Note: See TracTickets for help on using tickets.