[squeak-dev] Re: [BUG]UndefinedObject(Object)>>doesNotUnderstand: #mimeTypes

Levente Uzonyi leves at elte.hu
Wed Sep 30 19:28:33 UTC 2009


Hi!

I cannot reproduce it, but I attached simple workaround (couldn't test  
it, so it might not work).

Cheers,
Levente

Idézet (Mariano Martinez Peck <marianopeck at gmail.com>):

> Did someone do some progress with this annoying bug ?
>
> you can see some comments here:
> http://code.google.com/p/pharo/issues/detail?id=945
>
> Best,
>
> Mariano
>
> On Fri, Sep 4, 2009 at 5:08 PM, Igor Stasenko <siguctua at gmail.com> wrote:
>
>> 2009/9/4 Andreas Raab <andreas.raab at gmx.de>:
>> > Mariano Martinez Peck wrote:
>> >>
>> >> Sorry,  http://code.google.com/p/pharo/issues/detail?id=945
>> >
>> > I cannot reproduce this problem by just Alt-Tabbing. There has to be more
>> to
>> > it than that.
>> >
>> again, after i wake my laptop, each image which was opened has same dnu.
>>
>> > Cheers,
>> >  - Andreas
>> >
>> >> On Fri, Sep 4, 2009 at 6:52 AM, Mariano Martinez Peck
>> >> <marianopeck at gmail.com <mailto:marianopeck at gmail.com>> wrote:
>> >>
>> >>
>> >>
>> >>    2009/9/4 Torsten Bergmann <astares at gmx.de <mailto:astares at gmx.de>>
>> >>
>> >>        Had the same problem and was not able to reproduce it yet...
>> >>
>> >>        I posted this bug some time ago not only in Pharo mailing list
>> but
>> >>    also in squeak-dev. To reproduce it, you must be in the image, then
>> >>    go to another program and then come back to the image but using alt
>> >>    + tab keys
>> >>        could you ?
>> >>
>> >>        Bye
>> >>        T.
>> >>
>> >>
>> >>
>> >>        --
>> >>        Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla
>> >>        Firefox 3 -
>> >>        sicherer, schneller und einfacher!
>> >>        http://portal.gmx.net/de/go/atbrowser
>> >>
>> >>
>> >>
>> >>
>> >> ------------------------------------------------------------------------
>> >>
>> >>
>> >
>> >
>> >
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>>
>

-------------- next part --------------
'From Squeak3.10.2 of ''5 June 2008'' [latest update: #7179] on 30 September 2009 at 9:25:30 pm'!

!PasteUpMorph methodsFor: 'event handling' stamp: 'ul 9/30/2009 21:24'!
dropFiles: anEvent
	"Handle a number of dropped files from the OS.
	TODO:
		- use a more general mechanism for figuring out what to do with the file (perhaps even offering a choice from a menu)
		- remember the resource location or (when in browser) even the actual file handle
	"
	| numFiles stream handler |
	numFiles := anEvent contents.
	1 to: numFiles do: [:i |
		(stream := FileStream requestDropStream: i) ifNotNil: [
			handler := ExternalDropHandler lookupExternalDropHandler: stream.
			[ handler ifNotNil: [handler handle: stream in: self dropEvent: anEvent]]
				ensure: [stream close]]].! !


More information about the Squeak-dev mailing list