🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1461

InterViews 3.0 beta bug?

#1461
From: Bob Bramwell
Date: Wed, 12 Jun 1991 01:39
30 lines
1949 bytes
I tried posting this earlier, but suspect it never got out.  Sorry if
you've seen it before.

We are having a problem with InterViews 3.0 beta getting a
StringEditor and a Button to interact correctly.  The StringEditor is
supposed to give up control (return from its Handle function) whenever
it Reads an event targetted for someone else.  Our intent is to be
able to type a string into the StringEditor, and then hit the Button
to accept the input.

In practice, the Interactor::Read function called in
StringEditor::Handle never returns, beacuse the event it gets back
from Event::read does not have a target or handler().  This appears to
be caused by the fact that Interactor::target has not been called to
fix up the 'backward compatibility' portions of the event structure.
Of course, that's hardly surprising, because the Button isn't an
interactor; it's a 3.0 Button, not a 2.6 Button.  This theory is borne
out by the fact that two StringEditors can pass control back and forth
quite happily, but neither will yield control to the Button.

Is this behaviour a bug?  If not, to what extent should mixing 2.6
stuff with 3.0 stuff work?

Replies via e-mail may not work due to domain name service problems
upstream of us.  Please post (short) responses to this group.  Thanks.
-- 
Bob Bramwell	Snail:  10th Floor,	|
			940 6 Av SW,	|   "I love my country, 
403/237-9500w		Calgary, AB, 	|    but I fear my government"
403/283-7367h		T2P 3T1, Canada	|
Technical Details
Message-ID: <1991Jun12.013931.20578@Datap.ab.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!lll-winken!aunro!alberta!arcsun.arc.ab.ca!covert!bramwell

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!lll-winken!aunro!alberta!arcsun.arc.ab.ca!covert!bramwell
From: bramwell@Datap.ab.ca (Bob Bramwell)
Newsgroups: comp.windows.interviews
Subject: InterViews 3.0 beta bug?
Message-ID: <1991Jun12.013931.20578@Datap.ab.ca>
Date: 12 Jun 91 01:39:31 GMT
Reply-To: bramwell@covert.UUCP (Bob Bramwell)
Organization: Datap Systems, Calgary, Alberta, Canada
Lines: 30