Opened 15 years ago

Last modified 15 years ago

#4311 closed bug

Chart with BDirectWindow is broken. — at Initial Version

Reported by: bga Owned by: jackburton
Priority: high Milestone: R1/alpha1
Component: Kits/Game Kit Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

A new chapter of the BDirectWindow/BWindowScreen saga. :)

1 - Start Chart.
2 - Resize its window to a bigger size.
3 - Start animation (it can be "Free motion".
4 - Enable display with DirectWindow.

You will see that it is not using the entire drawing area (it seems to be using an area that has the size of the window before it was made bigger (but I am not 100% sure about this). Then, to make things worse, move the window around... the animation starts being draw outside the Window.

Also, this may ot may not be releated: Chart does not quit correctly, getting stuck waiting for a semaphore:

#0  0xffff0114 in ?? ()
#1  0x004e4de5 in acquire_sem_etc () from /boot/system/lib/libroot.so
#2  0x002df51e in BLooper::_LockComplete () from /boot/system/lib/libbe.so
#3  0x002df479 in BLooper::_Lock () from /boot/system/lib/libbe.so
#4  0x002de784 in BLooper::Lock () from /boot/system/lib/libbe.so
#5  0x002d60ab in BApplication::_WindowQuitLoop ()
   from /boot/system/lib/libbe.so
#6  0x002d61a3 in BApplication::_QuitAllWindows ()
   from /boot/system/lib/libbe.so
#7  0x002d3561 in BApplication::QuitRequested () from /boot/system/lib/libbe.so
#8  0x002dfca0 in BLooper::_QuitRequested () from /boot/system/lib/libbe.so
#9  0x002de272 in BLooper::DispatchMessage () from /boot/system/lib/libbe.so
#10 0x002d4ca9 in BApplication::DispatchMessage ()
   from /boot/system/lib/libbe.so
#11 0x002dfbf5 in BLooper::task_looper () from /boot/system/lib/libbe.so
#12 0x002d3415 in BApplication::Run () from /boot/system/lib/libbe.so
#13 0x00207b6a in main ()

Change History (0)

Note: See TracTickets for help on using tickets.