Changes between Initial Version and Version 2 of Ticket #7624


Ignore:
Timestamp:
Jan 11, 2020, 3:08:13 PM (5 years ago)
Author:
diver
Comment:

Still an issue?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7624

    • Property Owner changed from axeld to nobody
    • Property Status newassigned
    • Property Summary Order of Drawing Menu.Menu drawing order
  • Ticket #7624 – Description

    initial v2  
    1 If a Menubar 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).
    2 To see better what i mean, thake that programm from haikuware
    3 http://haikuware.com/directory/view-details/games/3d/puri-master-of-chess
    4 and now open a menu let's say "Engine" then move to the right to "Tools".
     1If 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).
     2To 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".
    53
    6 I think that problem could be solved, if "menubar" would be drawn first (because it doesnt overlap anything else) and then the menuitem.
    7 Because in the current siutation 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.
    8 (i just guess, since i didnt look at the sourcecode)
     4I think that problem could be solved, if "BMenuBar" would be drawn first (because it doesn't overlap anything else) and then the BMenuItem.
     5Because 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.
     6I just guess, since i didn't look at the source code.