[haiku-bugs] Re: [Haiku] #7624: Menu drawing order (was: Order of Drawing Menu.)

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 11 Jan 2020 15:08:13 -0000

#7624: Menu drawing order
----------------------------------+-----------------------
   Reporter:  cipri               |      Owner:  nobody
       Type:  enhancement         |     Status:  assigned
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/alpha2
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+-----------------------
Changes (by diver):

 * summary:  Order of Drawing Menu. => Menu drawing order


Old description:

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).
To see better what i mean, thake that programm from haikuware
http://haikuware.com/directory/view-details/games/3d/puri-master-of-chess
and now open a menu let's say "Engine" then move to the right to "Tools".

I think that problem could be solved, if "menubar" would be drawn first
(because it doesnt overlap anything else) and then the menuitem.
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.
(i just guess, since i didnt look at the sourcecode)

New description:

 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.

--
Comment:

 Still an issue?
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/7624#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #7624: Menu drawing order (was: Order of Drawing Menu.) - Haiku