Brief description: pasting unicode characters does not work
Version: 7.6nc Severity: Low Hi I loaded the parcel AllEncodings into a "virgin" VWNC 7.6. The release notes for VW 7.6 say "First, open the workspace; you'll see a lot of black rectangles. Then load preview/unicode/AllEncodings.pcl and instantly the workspace will update to display all the unicode characters that you have loaded. You can copy and paste text, for example from MS Word to VW, without problems." The first part (display updating) works; the second part (copy/paste) however didn't completely work for me: Using the debugger, I verified that copying to the clipboard worked, but pasting (to a different workspace sheet or MS Word) didn't work. Debugging revealed that Screen>>getExternalSelectionIfEmpty: aBlock "Get the host selection as a String from the window system, or perform aBlock if none is available" ^(self getExternalSelection: nil) ifNil: aBlock ifNotNil: [:sel | IOAccessor convertStringFromPlatform: sel] is the culprit. Changing the body to ^(self getExternalSelection) ifNil: aBlock ifNotNil: [:sel | IOAccessor convertStringFromPlatform: sel] worked for me. In other words, one has to make sure that Screen>>getExternalSelection gets called (that's where the unicode stuff is) instead of Screen>>getExternalSelection: nil. Maybe someone else can verify this so Cincom can fix it; maybe it's just wrong on my computer... Mike _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Thank you, AR 54894.
-----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Mike Bielser Sent: Wednesday, August 06, 2008 7:07 AM To: [hidden email] Subject: [vwnc] [Bug] AllEncodings Brief description: pasting unicode characters does not work Version: 7.6nc Severity: Low Hi I loaded the parcel AllEncodings into a "virgin" VWNC 7.6. The release notes for VW 7.6 say "First, open the workspace; you'll see a lot of black rectangles. Then load preview/unicode/AllEncodings.pcl and instantly the workspace will update to display all the unicode characters that you have loaded. You can copy and paste text, for example from MS Word to VW, without problems." The first part (display updating) works; the second part (copy/paste) however didn't completely work for me: Using the debugger, I verified that copying to the clipboard worked, but pasting (to a different workspace sheet or MS Word) didn't work. Debugging revealed that Screen>>getExternalSelectionIfEmpty: aBlock "Get the host selection as a String from the window system, or perform aBlock if none is available" ^(self getExternalSelection: nil) ifNil: aBlock ifNotNil: [:sel | IOAccessor convertStringFromPlatform: sel] is the culprit. Changing the body to ^(self getExternalSelection) ifNil: aBlock ifNotNil: [:sel | IOAccessor convertStringFromPlatform: sel] worked for me. In other words, one has to make sure that Screen>>getExternalSelection gets called (that's where the unicode stuff is) instead of Screen>>getExternalSelection: nil. Maybe someone else can verify this so Cincom can fix it; maybe it's just wrong on my computer... Mike _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
>From Cincom Smalltalk Resolutions August 2008
Release - 7.6 Resolution ID - 94806 Problem Description - Clipboard support is broken for unicode text when AllIncodings loaded Terry =========================================================== Terry Raymond Crafted Smalltalk 80 Lazywood Ln. Tiverton, RI 02878 (401) 624-4517 [hidden email] <http://www.craftedsmalltalk.com> =========================================================== > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On Behalf Of Valloud, Andres > Sent: Wednesday, August 06, 2008 7:18 PM > To: [hidden email] > Subject: Re: [vwnc] [Bug] AllEncodings > > Thank you, AR 54894. > > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On > Behalf Of Mike Bielser > Sent: Wednesday, August 06, 2008 7:07 AM > To: [hidden email] > Subject: [vwnc] [Bug] AllEncodings > > Brief description: pasting unicode characters does not work > Version: 7.6nc > Severity: Low > > > Hi > I loaded the parcel AllEncodings into a "virgin" VWNC 7.6. The release > notes for VW 7.6 say > > "First, open the workspace; you'll see a lot of black rectangles. Then > load preview/unicode/AllEncodings.pcl and instantly the workspace will > update to display all the unicode characters that you have loaded. You > can copy and paste text, for example from MS Word to VW, without > problems." > > The first part (display updating) works; the second part (copy/paste) > however didn't completely work for me: Using the debugger, I verified > that copying to the clipboard worked, but pasting (to a different > workspace sheet or MS Word) didn't work. Debugging revealed that > > > Screen>>getExternalSelectionIfEmpty: aBlock > "Get the host selection as a String from the window system, or perform > aBlock if none is available" > > ^(self getExternalSelection: nil) ifNil: aBlock > ifNotNil: [:sel | IOAccessor convertStringFromPlatform: sel] > > > is the culprit. Changing the body to > > > ^(self getExternalSelection) ifNil: aBlock > ifNotNil: [:sel | IOAccessor convertStringFromPlatform: sel] > > worked for me. In other words, one has to make sure that > Screen>>getExternalSelection gets called (that's where the unicode stuff > is) instead of Screen>>getExternalSelection: nil. > > Maybe someone else can verify this so Cincom can fix it; maybe it's just > wrong on my computer... > > Mike > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |