gnustep-dev
[Top][All Lists]
Advanced

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

Re: New GWorkspace feature (fwd)


From: Enrico Sersale
Subject: Re: New GWorkspace feature (fwd)
Date: Sat, 11 Oct 2003 20:39:02 +0300

On 2003-10-11 20:13:01 +0300 Gregory John Casamento <address@hidden> wrote:

...
I'm writing a previewer for the IBViewPboardType that seems to work with many
kind of objects copyed from a Gorm window. But I've noticed a problem:

1) I create a NSBox in Gorm with a CustomView in it.
2) now I cut or copy the NSBox with its content.
3) then I paste it on the GWorkspace shelf or in a Gorm window.

In both the cases, (Gorm window or GWorkspace shelf) I get a "decoded nil
class" or "expected object and got unsigned int" exception from NSUnarchiver.
So, I think that the bug is in Gorm, where the pasteboard is created.
Before committing, I'd want to know if this is a known Gorm problem and if it
will be fixed soon.


I believe I might know what the issue is.
If your most recent version of GWorkspace has been checked into CVS I would be
happy to start working on a solution to fix this.

Thanks, GJC

Ok, I've just committed this stuff. But you need to enable the IBViewPboardType 
previewer uncommenting:
  return NO;
at the beginning of -displayData:ofType: in the implementation of the 
IBViewPboardViewer that is in 
ContentViewers/PasteboardViewer/PasteboardViewer.m.
But you can reproduce the problem, without using GWorkspace, pasting the object 
in the same Gorm window where you copied the object from.

Ciao,
Enrico





reply via email to

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