[haiku-bugs] Re: [Haiku] #4147: Magnify app crashes

  • From: "stimut" <trac@xxxxxxxxxxxx>
  • Date: Wed, 20 Jan 2010 14:24:00 -0000

#4147: Magnify app crashes
----------------------------------+-----------------------------------------
 Reporter:  atmartens             |       Owner:  axeld        
     Type:  bug                   |      Status:  new          
 Priority:  normal                |   Milestone:  R1           
Component:  Applications/Magnify  |     Version:  R1/pre-alpha1
 Keywords:                        |   Blockedby:               
 Platform:  All                   |    Blocking:               
----------------------------------+-----------------------------------------

Comment(by stimut):

 I was able to reproduce it: select a separator from the pop-up menu.

 This is caused by the BPopupMenu::Go() function returning non-NULL when an
 item is selected even if the item has no BMessage associated with it (i.e.
 the item does nothing - such as for a separator).

 I have created a simple patch so that it now returns NULL when the item
 selected has no message associated with it.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/4147#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: