Lisp HUG Maillist Archive

Flaky text-input-pane/radio-button-panel on MacOS?

Hi,

I've been playing with LW Personal on my new powerbook over the  
holidays :-)

But while fooling around with CAPI, the window refreshs seem pretty  
erratic.
Just in my own programs though, the IDE is fine.  So I guess I must  
be doing something wrong.

An example:

(defun test-capi ()
   (contain
    (make-instance
     'capi:column-layout
     :description
     (list
      (make-instance 'capi:radio-button-panel :items  
'(:one :two :three))
      (make-instance 'capi:text-input-pane)))))

Two problems every time I execute this:

If I click into the text-input-pane, radiobuttons two and three  
disappear
If I click on two, then three, then one, buttons two & three disappear.

If I drag the window around, all controls are drawn again.

Could someone please educate me?

Lispworks is 4.4.6, MacOS is 10.4.3 (just updated, but never tried  
capi on the old release).

Thx,
Juergen




Re: Flaky text-input-pane/radio-button-panel on MacOS?

Juergen Gmeiner <gj@gjdv.at> writes:

> Just in my own programs though, the IDE is fine.  So I guess I must  
> be doing something wrong.
>
> An example:
>
> (defun test-capi ()
>   (contain
>    (make-instance
>     'capi:column-layout
>     :description
>     (list
>      (make-instance 'capi:radio-button-panel :items  
> '(:one :two :three))
>      (make-instance 'capi:text-input-pane)))))
>
> Two problems every time I execute this:
>
> If I click into the text-input-pane, radiobuttons two and three  
> disappear
> If I click on two, then three, then one, buttons two & three disappear.
>
> If I drag the window around, all controls are drawn again.
>
> Could someone please educate me?

Hmm, interesting. I have the same problem, and thought my own code was
buggy. AFAIR, contain will create a simple-pinboard-layout around the
other panes, and my problem also occurs in an interface which has
a text input pane inside a column-layout inside a simple-pinboard-layout.

-- 
  (espen)


Re: Flaky text-input-pane/radio-button-panel on MacOS?

Juergen Gmeiner <gj@gjdv.at> writes:

> Ah!  You are right!  contain is to blame!  Calling display on an  
> interface
> instance with the radio-buttons/text-pane works just fine.
>
> I can live with that.

Well I can't ;)

And now I know that this really must be a lispworks bug and not
only my fault...

-- 
  (espen)


Re: Flaky text-input-pane/radio-button-panel on MacOS?


On Jan 4, 2006, at 5:10 AM, Juergen Gmeiner wrote:

Two problems every time I execute this:


If I click into the text-input-pane, radiobuttons two and three disappear

If I click on two, then three, then one, buttons two & three disappear.


If I drag the window around, all controls are drawn again.


I can also confirm this on LWM 4.4.6 under Mac OS X 10.4.3.

regards,

Ralph

Raffael Cavallaro, Ph.D.
raffaelcavallaro@mac.com

Updated at: 2020-12-10 08:49 UTC