View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019097 | MMW 5 | General | public | 2022-05-21 07:30 | 2022-06-26 20:32 |
Reporter | zvezdan | Assigned To | |||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | reopened | ||
Fixed in Version | 5.0.4 | ||||
Summary | 0019097: Second click on a menu button should close its opened menu list always | ||||
Description | The opened menu list will be closed only if I fast click on the menu button. I looked at its source code and it seems that it has only 100 ms to prevent its appearing again. Which is wrong, it should not appear on the second click at all, not matter of the time between clicks. The menu buttons should behave like the arrow buttons of dropdown controls, which closes their opened lists when you second click that arrow button. | ||||
Tags | No tags attached. | ||||
Fixed in build | 2654 | ||||
|
I am either unable to replicate this or don't understand what exactly you are referring? Can you elaborate? If I click e.g. the Tools menu and click the Tools again then the menu is immediatelly closed -- no matter whether I click it immediatelly or after seconds. |
|
It is closed for me only if fast click on it. Here is the animated screenshot. |
|
I am not sure if this is related, but I found it in menuButton.js: var handleMenubtnClick = function (evt) { if ((Date.now() - closetm) < 100) // click event just after closing menu - ignore return; |
|
Aha, seeing it now, thanks. => Fixed in 5.0.4.2650 |
|
Verified on 2650 |
|
It seems this fix caused another bug. When you click on an item in any panel (Media Tree, main tracklist, Playling list) after that sometimes the first click on the menu button doesn't show the menu (View, Tree, Playing and menu buttons from my add-on). |
|
Goog catch, regression fixed in 2654 |
|
Verified on 2655 |