Menu drawing order
|Reported by:||cipri||Owned by:||nobody|
|Has a Patch:||no||Platform:||All|
Description (last modified by )
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.