Ticket #582 (closed bug: fixed)

Opened 2 years ago

Last modified 8 months ago

Deskbar displays empty Haiku menu

Reported by: koki@… Owned by: jackburton
Priority: normal Milestone: R1/alpha1
Component: Kits/Interface Kit Version:
Cc: diver, olivier.coursiere@… Blocked By:
Platform: All Blocking:

Description (last modified by jackburton) (diff)

The Deskbar displays an empty Haiku menu under the following circumstances.

1) Click any of the window entries in the Deskbar (for example, Tracker) to display the option menu.

2) With the above option menu open, click on the Haiku menu (where the Haiku logo is). An empty menu with a white background is displayed.

This bug appeared in HAIKU revision 17432. Screenshot follows.

Attachments

bug_17432_deskbar.png (8.0 kB) - added by koki@… 2 years ago.
Deskbar screenshot
emptyBeMenu.png (5.0 kB) - added by aldeck 9 months ago.
emptyBeMenuR5.png (6.0 kB) - added by aldeck 9 months ago.

Change History

Changed 2 years ago by koki@…

Deskbar screenshot

  Changed 2 years ago by jackburton

  • owner changed from sikosis to jackburton

  Changed 2 years ago by jackburton

  • component changed from Applications to Kits

  Changed 2 years ago by jackburton

Indeed. By the way this bug was already discussed in #233 's comments.

  Changed 2 years ago by jackburton

*** Bug 712 has been marked as a duplicate of this bug. ***

  Changed 2 years ago by jackburton

  • cc olivier.coursiere@… added

  Changed 2 years ago by diver

  • cc diver added

  Changed 2 years ago by jackburton

  • status changed from new to assigned

  Changed 2 years ago by jackburton

*** Bug 292 has been marked as a duplicate of this bug. ***

  Changed 2 years ago by diver

Another way to get there is to press leaf button and then alt+w...

  Changed 2 years ago by jackburton

  • platform set to All
  • component changed from General to User Interface/InterfaceKit
  • description modified (diff)

  Changed 18 months ago by jackburton

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r20799

  Changed 18 months ago by diver

Cool!

follow-up: ↓ 14   Changed 18 months ago by diver

Oh well those changes you've made didn't fix this bug, it just made it less likely to happen. I still see <empty> menu item sometimes when clicking on leaf. It even locked up once trying to reproduce this bug. Also current behavour is different from BeOS as you could click bemenu while teammenu is clicked down.

in reply to: ↑ 13   Changed 18 months ago by jackburton

Replying to diver:

Oh well those changes you've made didn't fix this bug, it just made it less likely to happen. I still see <empty> menu item sometimes when clicking on leaf. It even locked up once trying to reproduce this bug.

Is there a reproducible way to do that ?

Also current behavour is different from BeOS as you could click bemenu while teammenu is clicked down.

Are you absolutely sure about that ? Because I changed the menu behaviour recently exactly to match beos's behaviour.

  Changed 14 months ago by leavengood

I found another way to reproduce this:

1. Open the Haiku menu on the Deskbar. Leave it open. 2. Use Alt-F2 to switch to the second workspace. The menu will disappear, but the Haiku button is still grayed like it is selected. 3. Click on Tracker to get its team menu. 4. Click back on the Haiku menu and the <empty> menu appears.

In BeOS if you switch workspace while the Be menu is open it is closed. In fact all menus close when workspaces are switched.

To fix this bug the Haiku app_server or interface kit needs to close open menus when workspaces are switched.

  Changed 14 months ago by leavengood

Actually I just tested some more and I can reproduce this using with the same steps as in the original bug report. If it matters I'm testing on VMWare and compiling with GCC 4.1.2.

  Changed 14 months ago by leavengood

Sorry to spam, but I just recompiled with GCC 2.95.3 (just in case) and I still see this problem.

  Changed 14 months ago by jackburton

Looks like it was since r21961. I am not saying that change it's wrong, but at least it made the bug show up again.

  Changed 14 months ago by jackburton

  • status changed from closed to reopened
  • resolution fixed deleted

  Changed 12 months ago by jackburton

  • milestone changed from R1 to R1/alpha

  Changed 9 months ago by aldeck

I could reproduce with the original bug description. Some graphics bugs are gone (see attached screenshot), but the <empty> menu item is still there. You can see the correct be menu for ~0.1 second though.

Also, while updating bug #478, i collected new info about this one.

If you drag'n'drop anything (text, file, folder) over the Be menu, the greyed <empty> menuitem replaces the correct be menu when you release the mouse (ie: when dropping).

The interesting thing is that it only happens if, while dragging to the Be menu, you roll over any team/app menuitem (wich puts the item in a "pushed-down" state, or selected state depending on what you drag).

Hope this helps

Changed 9 months ago by aldeck

  Changed 9 months ago by aldeck

Happens _partially_ (my test case only) on R5. See screenshot. I hope i didn't hijack this ticket, as this reveals this might be caused by different bugs. Well, enough bug hunting for today! zzz...

Changed 9 months ago by aldeck

  Changed 9 months ago by jackburton

Interesting... since it also happen on R5, either it's a bug in Deskbar, or a bug in the menu system we replicated (talk about compatibility, eh? :))... or even both :)

follow-up: ↓ 25   Changed 8 months ago by jackburton

  • status changed from reopened to closed
  • resolution set to fixed

Fixed again in r24005.

in reply to: ↑ 24 ; follow-up: ↓ 26   Changed 8 months ago by aldeck

Replying to jackburton:

Fixed again in r24005.

Hmm, the original bug seems fixed indeed. Although it might only be partially fixed, i just re-tested an older revision, the behavior has changed, i have to click one more time to open the leaf menu if a team/app menu is open as in the original bug description (r24004 ?).

Also, my test case is still bugged here, should we move it to a new ticket or you've got a fix in mind?

And to finish, #478 still crashes but it might be unrelated.

Regards, Alex

in reply to: ↑ 25   Changed 8 months ago by jackburton

Replying to aldeck:

Replying to jackburton:

Fixed again in r24005.

Hmm, the original bug seems fixed indeed. Although it might only be partially fixed, i just re-tested an older revision, the behavior has changed, i have to click one more time to open the leaf menu if a team/app menu is open as in the original bug description (r24004 ?).

Yeah, but isn't this what happens on beos too ?

Also, my test case is still bugged here, should we move it to a new ticket or you've got a fix in mind?

Let's move it to a new ticket :)

And to finish, #478 still crashes but it might be unrelated.

Definitely.

  Changed 8 months ago by nielx

(spam)

  Changed 8 months ago by nielx

(spam2) Sorry, need to test if aldeck's CC works again.

Note: See TracTickets for help on using tickets.