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

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Wed, 20 Jan 2010 16:17:32 -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 jackburton):

 Replying to [comment:5 stippi]:
 > Nice work! You definitely identified the problem and correct location
 for the fix, only your fix is incorrect. BMenu should not care whether the
 BMenuItem has a BMessage or not, but I don't suppose it should return
 BSeparatorMenuItem instances. This should actually be checked against the
 BeOS implementation. I still have a ZETA installation which I can test on,
 but in general, I think one should return NULL in case dynamic_casting to
 BSeparatorMenuItem is successful.

 I seem to recall something like this having been fixed in the past: IOW:
 this chould be a regression.

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

Other related posts: