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 Changed 11 years ago by shinta

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.

Changed 11 years ago by shinta

Attachment: Menu.diff.bad added

comment:2 Changed 9 years ago by Ziusudra

This was fixed at some point.

comment:3 Changed 9 years ago by stippi

Has a Patch: set

comment:4 Changed 9 years ago by stippi

Similar patch in ticket #4930. See comments there.

comment:5 Changed 9 years ago by jackburton

Resolution: fixed
Status: newclosed

Fixed in hrev37261 thanks to Ziusudra.

comment:6 Changed 8 years ago by shinta

I confirmed arrow keys navigation in hrev41022. Thanks!

Note: See TracTickets for help on using tickets.