Open GoogleCodeExporter opened 9 years ago
Similar here - after a sub-menu opens and cursor moves further along parent
menu
the menu item selection suddenly jumps to the top and scrolls down the parent
menu, see video;
http://www.screencast.com/t/Tz7qeQVmouas
Notice also flickering along the vertical intersection line of menu and submenu
Original comment by everyb...@gmail.com
on 27 Oct 2014 at 9:50
Attached is a preliminary version that avoids loosing originally selected
menuitem.
The idea is to inform the parent after child close that parent redraw will
follow (rather than actual selection by mouse)
Original comment by everyb...@gmail.com
on 29 Oct 2014 at 2:22
Attachments:
Thanks for updating Rodrigo.
However my demo app still displays the same problem of the jumping highlight
(jumps to the last subitem) and also my hidden subitems are being displayed. I
am using R274 AFAICS
Regards
Original comment by tony.chr...@gmail.com
on 29 Oct 2014 at 11:53
Latest fixes solved this problem (for me)
Original comment by everyb...@gmail.com
on 3 Nov 2014 at 1:20
The highlight still jumps for me in R277. The code is too complex for me to
debug (sorry) but it seems that when a submenuitem is highlighted the submenu
paints fine. When you move to the next menuitem the submenu is destroyed and
the menu repainted with the highlight for each item set. Problem is the
highlight is left on the bottommost menuitem instead of repositioning back to
the item that was highlighted when the submenu was destroyed. Hope you can
follow my explanation. Best regards
Original comment by tony.chr...@gmail.com
on 4 Nov 2014 at 1:58
The problem reappeared on the computer of one tester, on my machine with the
same code everything is OK.
I can only think of uninitialized variable(s) as the primary cause.
Original comment by everyb...@gmail.com
on 28 Jan 2015 at 2:06
Attached here is a version of Vcl.Styles.Utils.Menus unit that solves the
problem
Original comment by everyb...@gmail.com
on 3 Feb 2015 at 12:56
Attachments:
Original issue reported on code.google.com by
tony.chr...@gmail.com
on 26 Oct 2014 at 11:56Attachments: