Hi:
I've been creating a lot of new projects (using them as foils in a talk) and have noticed an irritating feature. Every time I open a new one, and dive into it, I can't get menus to work. I discovered that if I press Command-Period (Mac) or the equivalent on Windows, get a walkback, and close the walkback window, then things work.
I'm on the latest updates on 3.1 and usually run Squeak-D3D.exe.
Did I somehow miss an update or something?
Dave
From "Ned Konz <ned"@bike-nomad.com Fri Oct 12 21:13:00 2001
Return-Path: <"Ned Konz <ned"@bike-nomad.com> Delivered-To: squeak-dev@lists.squeakfoundation.org Received: from mail.whidbey.net (mailout.whidbey.net [209.166.64.124]) by lnx-1.theinternetone.net (Postfix) with SMTP id 89E0BC3465 for squeak-dev@lists.squeakfoundation.org; Fri, 12 Oct 2001 21:12:58 +0200 (MEST) Received: (qmail 19979 invoked from network); 12 Oct 2001 19:12:46 -0000 Received: from unknown (HELO aSqueakSystem) (208.31.145.234) by mail3.whidbey.net with SMTP; 12 Oct 2001 19:12:46 -0000 Subject: [FIX] StringChangedFix-nk To: squeak-dev@lists.squeakfoundation.org Content-type: multipart/mixed;boundary="==CelesteAttachment74039==" Mime-version: 1.0 From: "Ned Konz" ned@bike-nomad.com Message-Id: 20011012191258.89E0BC3465@lnx-1.theinternetone.net Date: Fri, 12 Oct 2001 21:12:58 +0200 (MEST) Sender: squeak-dev-admin@lists.squeakfoundation.org Errors-To: squeak-dev-admin@lists.squeakfoundation.org X-BeenThere: squeak-dev@lists.squeakfoundation.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: squeak-dev@lists.squeakfoundation.org List-Help: mailto:squeak-dev-request@lists.squeakfoundation.org?subject=help List-Post: mailto:squeak-dev@lists.squeakfoundation.org List-Subscribe: http://lists.squeakfoundation.org/listinfo/squeak-dev, mailto:squeak-dev-request@lists.squeakfoundation.org?subject=subscribe List-Id: The general-purpose Squeak developers list <squeak-dev.lists.squeakfoundation.org> List-Unsubscribe: http://lists.squeakfoundation.org/listinfo/squeak-dev, mailto:squeak-dev-request@lists.squeakfoundation.org?subject=unsubscribe List-Archive: http://lists.squeakfoundation.org/pipermail/squeak-dev/
--==CelesteAttachment74039==
from preamble:
"Change Set: StringChangedFix-nk Date: 12 October 2001 Author: Ned Konz
In Change Set 4393StringMorphOptimize-nk I missed a changed message in the case where the StringMorph doesn't change size. This fixes that problem and still avoids sending multiple changed messages for a single change."! --==CelesteAttachment74039== Content-type: application/octet-stream Content-transfer-encoding: base64 Content-disposition: attachment;filename="StringChangedFix-nk.cs.gz"
H4sIAAAAAAAAAF2TTW/aQBCGzz7sfxjoATiEYODQWKrUJlHUqGqpBFUPUYQWe4xHeGcd77px o6i/vYOxA+Hk3fl4Zt6Z9eCutAaWTxXq3Ww81XmRabApzGARe7vBEqaTSQgPufboPFRFIocI Pszn4cdHsAzh9H2k9mKKwnk0nUNhBj3Vv8k0bxGW6KMgWPqSeHswJXdUX/BO3e6RQRCcodSX yme23Ht+YALfLL8odc9w5MF8djU7EL/bssgWhSdDL7iH3oMh5yRPQ3yoBgad05JJDD5DiLVD eM6wRLW/nnAgseh44NtMcMIcwyojBynV6CReZBal3eRoQHMCzlOeg/5jKXHgkBNBgalyT0WO 5w0IxZbSl5OgN++431NK9U67MCj6E3cnM4CBjmPJFt9AimlTiIl3EE4uw+llM3iZ+uRK5p2S v7Hskb1TKngFF2tmGSnj87WtWPrbNJ92B/Cqgi5kDbfkilz/XbaGp4ri3U/pyC846pySX59e qkbtta1FFvtI5Odpc1zZXw7HKjhWXsNwOOyquUbqb0p8FkHctjwCo+uWYYjJVKaJGAF8fpOS E+NXpG3mR4J/L2fdygOs90D49+moXIIb8MEVnTiCoJ9gqmVh4OTN+YuYyrgi74DSDsi2exBJ /7wqpauykv/i4dB5t/DHcQ9krf8BCE7Fs2UDAAA=
--==CelesteAttachment74039==--
Dave - i'm not seeing this on Squeak 3.1-4411 on my Win2000 system. note that i am not using Squeak-D3D.exe; i haven't upgraded from the 3.0 vm yet.
david
At 02:38 PM 10/12/01 -0400, you wrote:
Hi:
I've been creating a lot of new projects (using them as foils in a talk)
and have noticed an irritating feature. Every time I open a new one, and dive into it, I can't get menus to work. I discovered that if I press Command-Period (Mac) or the equivalent on Windows, get a walkback, and close the walkback window, then things work.
I'm on the latest updates on 3.1 and usually run Squeak-D3D.exe.
Did I somehow miss an update or something?
Dave
-- David Farber dfarber@numenor.com
Here's an old one, from May.
Before I go patching the code from Didier Besset's book to get it to run in Squeak, has this been sorted out already?
Thanks for any info
...Tom M
"David N. Smith (IBM)" <dnsmith@w...> wrote:
Helge:
I used the Filing IBM Applications into Squeak to get the code
'ported'. There were a few things, like differences in exception handling on Float computations, and differences in detecting IEEE Float problems, and I passed the code back to Didier to look at. I haven't heard since, but have a query in to him.
I'll post any useful reply.
Dave
At 2:51 +0200 5/15/01, Helge Horch wrote:
At 20:38 14.05.2001 +0200, Heiko Schaefer wrote:
Did anyone make the code from Besset's book
'Object Oriented Implementation of Numerical Methods'
Squeak-compatible? Its for Visual Age.
I seem to recall Stephane writing that someone (David N. Smith?)
ported most if not all of it. I recommend asking Didier (didier@i...) about it.
In the meantime, you might try the "Filing IBM Smalltalk Applications
into Squeak" item at http://www.dnsmith.com/squeak/index.html and see if it helps. Haven't tried it myself yet, though.
<snip>
Cheers, Helge
-- _______________________________ David N. Smith IBM T J Watson Research Center Hawthorne, NY dnsmith@w...
Hi
There was a group of people including Roger withney that worked on porting the code of didier at CampSmalltalk. Else you can contact didier directly didier@ieee.org.
Stef
Hi
There was a group of people including Roger withney that worked on porting the code of didier at CampSmalltalk. Else you can contact didier directly didier@ieee.org.
Stef
Hi, I'm sorry you could not make it because of some silly cancelation. Missed having you there. I did talk to some of the leaders in the community about the modular squeak issue, and Joseph did get to present to Dan (mind not in a one on one setting, but at least Dan did attend) Dan told me after he respects Joseph work and it's not as big or as complicated as he thought. However my understanding, which is limited of the Visualworks bof is that those people and the GemStone folks really get it. Therefore I'd suggest you make the Visualworks & GemStone modular solution a camp smalltalk cross platform project and use STORE to provide the inter communication. In some respect as Dan told me "the community needs to decide what is best" We should just continue working on it
Hi, I'm sorry you could not make it because of some silly cancelation. Missed having you there. I did talk to some of the leaders in the community about the modular squeak issue, and Joseph did get to present to Dan (mind not in a one on one setting, but at least Dan did attend) Dan told me after he respects Joseph work and it's not as big or as complicated as he thought.
;)
But this is just a model about code representation and packaging (not a scoping mechanism). So I can understand that Dan and other want to build a namespace, ...... thing.
However my understanding, which is limited of the Visualworks bof is that those people and the GemStone folks really get it.
I wish have would have been there.....
Therefore I'd suggest you make the Visualworks & GemStone modular solution a camp smalltalk cross platform project and use STORE to provide the inter communication. In some respect as Dan told me "the community needs to decide what is best" We should just continue working on it.
I'm planning to continue to work on Ginsu so this is good to know that people liked it.
Stef
At 14:38 -0400 10/12/01, David N. Smith (IBM) wrote:
Hi:
I've been creating a lot of new projects (using them as foils in a talk) and have noticed an irritating feature. Every time I open a new one, and dive into it, I can't get menus to work. I discovered that if I press Command-Period (Mac) or the equivalent on Windows, get a walkback, and close the walkback window, then things work.
I'm on the latest updates on 3.1 and usually run Squeak-D3D.exe.
Did I somehow miss an update or something?
Dave
Hi:
I just downloaded 3.2 and it did not have this problem UNTIL I set options my way. I'm appending the options I changed (from scanning the options list) and I hope that something there rings a bell with someone. If not, I guess I'll have to try them one by one.
' a Preference#higherPerformance true a Preference#menuButtonInToolPane true a Preference#soundQuickStart true a Preference#scrollBarsNarrow true a Preference#showSharedFlaps false a Preference#scrollBarsWithoutMenuButton true a Preference#showProjectNavigator false a Preference#roundedWindowCorners false a Preference#inboardScrollbars true a Preference#decorateBrowserButtons true a Preference#postscriptStoredAsEPS true a Preference#projectZoom false a Preference#optionalButtons true a Preference#balloonHelpInMessageLists true'
Anyone hear any bells ringing???
Dave
Hi Dave--
I've been creating a lot of new projects... and have noticed an irritating feature. Every time I open a new one, and dive into it, I can't get menus to work. I discovered that if I press Command-Period (Mac) or the equivalent on Windows, get a walkback, and close the walkback window, then things work.
...
I just downloaded 3.2 and it did not have this problem UNTIL I set options my way. I'm appending the options I changed (from scanning the options list) and I hope that something there rings a bell with someone.
I was just able to duplicate the problem and make it go away by turning either the flaps preference or the navigator preference to true. It looks like there's some bug relating to entering new projects which have no submorphs at all.
I noticed another bug though... As released, Squeak has the flaps and navigator turned on. If you turn either of them off in the preferences, then go into a new Morphic project, the new project still has both flaps and a navigator. It seems you have to change those preferences from within the new project to actually change whether they appear in subsequent new projects. Weird...
Unfortunately, I don't see any way offhand of ensuring that menus come up in a new project when the flaps and navigator are turned off. Looks like a SMOP... (hopefully of the NLOC variety :).
-C
-- Craig Latta composer and computer scientist craig.latta@netjam.org www.netjam.org crl@watson.ibm.com Smalltalkers do: [:it | All with: Class, (And love: it)]
Hello again--
[No world menus come up when entering a newly-created Morphic project with flaps and the project navigator disabled.]
Well, it seems that the problem is (the new world)<<fullBounds not getting set correctly, so all mouse-down events are rejected in MorphicEventDispatcher>>dispatchMouseDown:with: ("(aMorph fullBounds containsPoint: globalPt) ifFalse:[^#rejected]"). After that point, submorphs are given a chance to handle events, but there aren't any submorphs in this situation.
One fix is to set <<fullBounds when setting <<bounds in PasteUpMorph>>viewBox: (which is run by PasteUpMorph>>install when entering a new Morphic project). The attached does this.
thanks,
-C
-- Craig Latta composer and computer scientist craig.latta@netjam.org www.netjam.org crl@watson.ibm.com Smalltalkers do: [:it | All with: Class, (And love: it)]
'From Squeak3.2alpha of 26 October 2001 [latest update: #4469] on 5 November 2001 at 10:58:29 pm'!
!PasteUpMorph methodsFor: 'project state' stamp: 'crl 11/5/2001 22:57'! viewBox: newViewBox "I am now displayed within newViewBox; react."
(self viewBox == nil or: [self viewBox extent ~= newViewBox extent]) ifTrue: [worldState canvas: nil].
worldState viewBox: newViewBox. super position: newViewBox topLeft. fullBounds _ bounds _ newViewBox.
"Paragraph problem workaround; clear selections to avoid screen droppings." self flag: #arNote. "Probably unnecessary" worldState handsDo: [:hand | hand releaseKeyboardFocus]. self fullRepaintNeeded! !
squeak-dev@lists.squeakfoundation.org