bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #4658] Broken gpbs when doing pb operations between GS and X


From: Kazunobu Kuriyama
Subject: Re: [bug #4658] Broken gpbs when doing pb operations between GS and X
Date: Fri, 08 Aug 2003 18:58:45 +0900
User-agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.4) Gecko/20030624 Netscape/7.1

nobody@savannah.gnu.org wrote:

Summary: Broken gpbs when doing pb operations between GS and X

Original Submission: 1. It is not possible to copy from GNUstep and paste in X app strings which contain non latin-1 characters.

Did you really copy a region you selected with a GNUstep app before trying to paste it on an X app? Only specifying a selected region (i.e., making the background gray) is not sufficient for paste; before trying it, you need to explicitly invoke the GNUstep app's 'copy' once after you specify a selected region. Please make sure the GNUstep's copy and paste operation differs from that of ordinary X apps. You can't do copy and
paste even for latin-1 characters unless you do copy before paste.

2. It is not possible to copy from X and paste in GNUstep strings longer than 1024 characters.

It seems that this is due not to gpbs, but to the implementation of NSSerializer.
In the method + (NSData*) serializePropertyList: (id)propertyList, we have

  d = [NSMutableData dataWithCapacity: 1024];

I hope the limitation will be lifted once someone changes the magic number 1024, though I'm not sure if it is possible.
3. GNUstep apps used to freeze for a while (waiting for X selection) when pasting from X apps.

Copy and paste is a costly operation.

4. Sometimes it works, after i do lots of various cut&pastes.

I feel the comment on 1 also applies here.

| I'm using CVS from 6 Aug 2003 and I am experiencing this only for short time.

Probably, you got accustomed to the GNUstep's copy and paste operation...






reply via email to

[Prev in Thread] Current Thread [Next in Thread]