[haiku-bugs] [Haiku] #5522: LayoutManager / BGLView Bug

  • From: "ccipri" <trac@xxxxxxxxxxxx>
  • Date: Wed, 03 Mar 2010 12:58:52 -0000

#5522: LayoutManager / BGLView Bug
----------------------------+-----------------------------------------------
 Reporter:  ccipri          |       Owner:  stippi   
     Type:  bug             |      Status:  new      
 Priority:  normal          |   Milestone:  R1       
Component:  User Interface  |     Version:  R1/alpha1
 Keywords:                  |   Blockedby:           
 Platform:  All             |    Blocking:           
----------------------------+-----------------------------------------------
 I have attached a archive with source code (and the compiled binary) of an
 example which shows a bug related to the layout manager and/or BGLView.

 The application consits of 2 Buttons, a time-counter, and a BGLView.

 Start the application and resize the window, everything works correctly.
 Now press on the button "Start" (which starts a time-counter). Now if you
 make the window bigger it still works correctly, but if you make the
 window smaller it doesn't resize the views of the window correctly,.

 If I replace the BGLView with another Gui-element, let's say a
 TextControl, then this bug doesn't appear.
 It only appears when the window has a BGLView object and if the time-
 counter has been started.
 (if I modify the time-counter, such that it works correctly, but without
 displaying the correct number (just static text), then it also works
 correctly).

 I know it sounds quite strange, that's why I attached the source-code (the
 binary is compiled on one of the recent nightly builds, a gcc4hybrid).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5522>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: