[haiku-bugs] Re: [Haiku] #3897: [DriveSetup] Rescan menu increase vertical scrollbar

#3897: [DriveSetup] Rescan menu increase vertical scrollbar
--------------------------------------+-------------------------------------
  Reporter:  diver                    |         Owner:  stippi        
      Type:  bug                      |        Status:  reopened      
  Priority:  normal                   |     Milestone:  R1            
 Component:  Applications/DriveSetup  |       Version:  R1/Development
Resolution:                           |      Keywords:                
Blocked By:                           |   Has a Patch:  1             
  Platform:  All                      |      Blocking:                
--------------------------------------+-------------------------------------

Comment (by stippi):

 This looks still wrong to me. If you invoke
 BOutlineListView::RemoveRow(someRow), the operation should be reversible
 by invoking BOutlineListView::AddRow(someRow, itsPeviousIndex). With your
 change however, all child rows of the row have been removed -- and leaked,
 too. When you add the row back, it will have none of it's children
 anymore. When the OutlineView::RemoveRow() code tries to figure out the
 height of the entire subtree being removed, it uses an
 RecursiveOutlineIterator. Why is that not working? I would search the
 problem in that direction.

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

Other related posts: