Scratch becomes unusable after opening a (maybe) unsupported file

Bug #1687378 reported by Gre0
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scratch
New
Undecided
Unassigned

Bug Description

Problem: I wanted to open a .xpi (Firefox extension) file with scratch but it doesn't show up.
In Plank the icon appears but nothing happend...just a 'force quit' closes the action.
After that, if you want to open scratch again, the same happens again and again, because scratch remembers the last file. Only thing i could do was to open dconf-editor and delete the last opened file stamp. Then scratch works fine again. Also i expected i could do a 'clear history...' in switchboard security plug but this doesn't delete the last opened file list so i had to use dconf-editor.

Revision history for this message
David Hewitt (davidmhewitt) wrote :

XPI files are typically effectively .zip files. Opening this type of file in scratch would give you little benefit. You might be better trying to open it in "Archive Manager".

Just out of interest, what is the file size of the file you're trying to open?

Revision history for this message
Gre0 (gre0) wrote :

Hello David :)

Because of this i wrote "(maybe) unsupported" I did not know its a kind of archive, because the icon looks like a text file...but you are right, it opens with file-roller.

I just wanted to make clear that...if scratch has problems to open a file, it will be unusable because of the 'last opened file stamp'. I noticed this behavior some time ago...because sometimes there are some files without a specified 'Open with...'-program and i just was curious and tested it to open with scratch. So maybe it's my fault and its more like a blueprint as a bug report.

But maybe there will be a better solution/handling in future...like in audience with it's start page (last opened video-files) or a hint 'Scratch cannot open this file so action will aborted'.

The extensions i tried are about 21kB - 1.6MB

As always, sorry for my bad English in some cases^^

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.