BUG: D4PL1 Radio Buttons on a Dialog cause lockup...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

BUG: D4PL1 Radio Buttons on a Dialog cause lockup...

Christopher J. Demers
To duplicate place one or more RadioButtons from the tool box
(BooleanPresenter.Radio button) on a Dialog view.  Then test it.  As soon as
you activate one of the RadioButtons the Dolphin UI will lock up.  I have
been able to break out via Ctrl-Break.  I find that I have to do that and
terminate twice before I can close the view.  This also happens if you do a
show from the class browser after you save the view.

I can duplicate this on Windows NT as well as a Windows 2000, I have not
tried on other systems.

My quick workaround was to use CheckBox's with code that emulates RadioBox
functionality instead.

I am attaching the stack I get when I do the first break after it locks up:

4:00:34 PM, Monday, March 05, 2001: 'User Interrupt'
Signal>>signal
DevelopmentSessionManager(SessionManager)>>onUserBreak
ProcessorScheduler>>userBreak:
[] in ProcessorScheduler>>vmi:list:no:with:
BlockClosure>>ifCurtailed:
ProcessorScheduler>>vmi:list:no:with:
SmallInteger(Integer)>>asDword
[] in InputState>>wndProc:message:wParam:lParam:cookie:
BlockClosure>>ifCurtailed:
ProcessorScheduler>>callback:evaluate:
InputState>>wndProc:message:wParam:lParam:cookie:
RadioButton(ControlView)>>defaultWindowProcessing:wParam:lParam:
RadioButton(View)>>defaultWindowProcessing:
RadioButton(View)>>onLeftButtonReleased:
RadioButton(View)>>wmLButtonUp:wParam:lParam:
RadioButton(View)>>dispatchMessage:wParam:lParam:
[] in InputState>>wndProc:message:wParam:lParam:cookie:
BlockClosure>>ifCurtailed:
ProcessorScheduler>>callback:evaluate:
InputState>>wndProc:message:wParam:lParam:cookie:
DialogView(View)>>isDialogMessage:
DialogView(ShellView)>>preTranslateMouseInput:
DialogView(View)>>preTranslateMessage:
InputState>>preTranslateMessage:
InputState>>pumpMessage:
InputState>>loopWhile:
InputState>>mainLoop
[] in InputState>>forkMain
ExceptionHandler(ExceptionHandlerAbstract)>>markAndTry
[] in ExceptionHandler(ExceptionHandlerAbstract)>>try:
BlockClosure>>ensure:
ExceptionHandler(ExceptionHandlerAbstract)>>try:
BlockClosure>>on:do:
[] in BlockClosure>>newProcess

Thanks
Chris


Reply | Threaded
Open this post in threaded view
|

Re: D4PL1 Radio Buttons on a Dialog cause lockup...

Andy Bower
Chris,

> To duplicate place one or more RadioButtons from the tool box
> (BooleanPresenter.Radio button) on a Dialog view.  Then test it.  As soon
as
> you activate one of the RadioButtons the Dolphin UI will lock up.  I have
> been able to break out via Ctrl-Break.  I find that I have to do that and
> terminate twice before I can close the view.  This also happens if you do
a
> show from the class browser after you save the view.
>
> I can duplicate this on Windows NT as well as a Windows 2000, I have not
> tried on other systems.
>
> My quick workaround was to use CheckBox's with code that emulates RadioBox
> functionality instead.

This does indeed appear to be a bug and it has been logged. Thanks for the
report.

A better workaround might be to place the radio buttons inside a
ContainerView rather than directly inside the DialogView. This appears to
work ok.

Best Regards,

Andy Bower
Dolphin Support
http://www.object-arts.com

---
Visit the Dolphin Smalltalk WikiWeb
http://www.object-arts.com/wiki/html/Dolphin/FrontPage.htm
---