Opened 18 years ago

Last modified 17 years ago

#615 closed bug

ESC key doesn't close menu — at Version 22

Reported by: diver Owned by: jackburton
Priority: normal Milestone: R1
Component: - General Version:
Keywords: Cc: boolaiku@…
Blocked By: Blocking:
Platform: All

Description (last modified by jackburton)

While menu is opened Esc should close it as in BeOS.

Change History (23)

comment:1 by diver, 18 years ago

Cc: stefano.ceccherini@… added

comment:2 by diver, 18 years ago

Adding Stefano, as he is our Menu thing guru :-)

comment:3 by diver, 18 years ago

*5. Just found another bug, also in Find window - there is an arrow with saved querys, if you click there menu will open and rapidly close, while in BeOS this doesn't happen.

comment:4 by diver, 18 years ago

Summary: [BMenu] have some issues[BMenu] has some issues

comment:5 by axeld, 18 years ago

Owner: changed from axeld to jackburton

comment:6 by jackburton, 18 years ago

Status: newassigned

comment:7 by jackburton, 18 years ago

1 and 2 might as well be the same thing as #594. It seems the menu doesnt' catch the click if it's too short (if you don't keep the button down for some time).

  1. Keyboard navigation isn't yet there.
  2. Indeed. It's somewhat related to 3, meaning menus should have focus to be

able to be navigated via keyboard.

comment:8 by jackburton, 18 years ago

1, 3, and 4 should be fixed.

comment:9 by diver, 18 years ago

(In reply to comment #3)

1 and 2 might as well be the same thing as #594. It seems the menu doesnt' catch the click if it's too short (if you don't keep the button down for some

time).

It seems that 1 and 2 urelated to 594, as it already fixed.

comment:10 by jackburton, 18 years ago

In short, only problem 5 is still showing up, right ?

comment:11 by diver, 18 years ago

(In reply to comment #6)

In short, only problem 5 is still showing up, right ?

1, 2 and 5 are not yet fixed.

comment:12 by jackburton, 18 years ago

I can't reproduce 1 anymore. I'm testing revision 17682. But you're right: #2 is still showing up. So, #2 and 5 are still alive.

comment:13 by jackburton, 18 years ago

problem 2 should be gone with hrev18067

comment:14 by diver, 18 years ago

(In reply to comment #9)

problem 2 should be gone with hrev18067

It still here in hrev18071. So only 2 and 5 is still showing up.

comment:15 by boolaiku@…, 18 years ago

Cc: boolaiku@… added

comment:16 by jackburton, 18 years ago

Since in beos hrev5 that menu is sticky (IIRC), there's something wrong in our implementation of BPopUpMenu.

comment:17 by boolaiku@…, 18 years ago

(In reply to comment #12)

Since in beos hrev5 that menu is sticky (IIRC), there's something wrong in our implementation of BPopUpMenu.

[about problem 5] I'm sorry but concerning this use case, the BPopUpMenu is conforming to the doc... I can't see why i should behave otherwise (also in #636). The implementation seems correct to me. Am i missing something? :/

Again, sorry to insist on this (especially if 'im wrong hehe:) )

by boolaiku@…, 18 years ago

Attachment: stickyMiniMenu.diff added

MiniMenuField didn't tell the popumenu to be sticky

comment:18 by jackburton, 18 years ago

problem 2 was finally fixed by Axel in hrev18483, and was caused by #727.

comment:19 by boolaiku@…, 18 years ago

(In reply to comment #14)

problem 2 was finally fixed by Axel in hrev18483, and was caused by #727.

Testing on hrev18501, and problem 2 is still there, but the behaviour changed a bit it seems. I'm testing on real hardware and on qemu.

Here are the sequences causing the problem (which is: menu opens then closes immediately, sometimes it's not visible):

Legend:

o = click out of the window v = click on the view m = click on the menu

With short and long indications possible.

1) v, mshort : ok 2) v, mlong : problem appears once on two if you repeat this sequence 3) o, m, mshort : ok 4) o, m, mlong : same as 2) 5) o, v, mshort : ok 6) o, v, mlong : same as 2)

In addition, sometimes, the menu doesn't close itself when clickin out of the window, but i can't reproduce that reliably.

comment:20 by jackburton, 18 years ago

(In reply to comment #15)

(In reply to comment #14)

problem 2 was finally fixed by Axel in hrev18483, and was caused by #727.

Testing on hrev18501, and problem 2 is still there, but the behaviour changed a bit it seems. I'm testing on real hardware and on qemu.

Axel's change in hrev18597 should've fixed this (or at least, I can't reproduce it following the steps you wrote :) ). Can you confirm ?

in reply to:  20 comment:21 by boola, 18 years ago

Platform: All

Replying to jackburton:

Axel's change in hrev18597 should've fixed this (or at least, I can't reproduce it following the steps you wrote :) ). Can you confirm ?

Testing on hrev18626, and it's still there... All drop-down menus show this behavior, i verified it in the Find applet and Chart.

comment:22 by jackburton, 17 years ago

Description: modified (diff)
Summary: [BMenu] has some issuesESC key doesn't close menu

Renamed bug because all other bugs have been fixed in hrev19827

Note: See TracTickets for help on using tickets.