[haiku-commits] Re: r40142 - haiku/trunk/src/kits/interface

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 7 Jan 2011 18:09:24 +0100

Il giorno 07/gen/2011 17.39, <leavengood@xxxxxxxxx> ha scritto:
>
> Author: leavengood
> Date: 2011-01-07 17:39:48 +0100 (Fri, 07 Jan 2011)
> New Revision: 40142
> Changeset: http://dev.haiku-os.org/changeset/40142
> Ticket: http://dev.haiku-os.org/ticket/7022
>
> Modified:
>   haiku/trunk/src/kits/interface/Menu.cpp
>   haiku/trunk/src/kits/interface/PopUpMenu.cpp
> Log:
> Revert my hack from r40132 and just go ahead and fix our pop-up menu
behavior
> by forcing openAnyway and creating a clickToOpen rect if there is not one.
> Should fix #7022 and maybe others. Partially based on the patch from #7022
and
> Travis Reed's patch from the mailing list discussion in December.
>
I haven't tried this changeset (nor your former one) but I suggest to try
every possible test case when you touch this code.
The risk of breaking something is very high.

Other related posts: