Opened 9 years ago

Last modified 2 weeks ago

#7624 assigned enhancement

Menu drawing order

Reported by: cipri Owned by: nobody
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/alpha2
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by diver)

If a BMenuBar is above a BGLView then opening a menu and moving to the next menu has a bad visible effect (because of redrawing the BGLView which takes time). To see better what i mean, take that program from http://depot.haiku-os.org/puri and now open a menu let's say "Engine" then move to the right to "Tools".

I think that problem could be solved, if "BMenuBar" would be drawn first (because it doesn't overlap anything else) and then the BMenuItem. Because in the current situation if you move from one menu to another, the menuitem are drawn, they overlap the BGLView this causes the BGLView to redraw and this takes time and just after that the menubar redraws. I just guess, since i didn't look at the source code.

Change History (2)

comment:1 by axeld, 3 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:2 by diver, 2 weeks ago

Description: modified (diff)
Summary: Order of Drawing Menu.Menu drawing order

Still an issue?

Note: See TracTickets for help on using tickets.