! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
patch for .desktop and .tap + ideas for "create" dialog
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Squeeze
Component:
squeeze

Comments

Description Bj 2007-01-12 01:01:59 CET
the .desktop file missed some entries in the MimeType field to have squeeze automatically register for those file types.
the .tap file missed an = after --new, so it didn't fire up squeeze correctly.

however, the create dialog doesn't work that good yet.
currently when you want to add bar.txt to an archive foo.zip you have to enter

squeeze --new=foo.zip bar.txt
which opens the create dialog but you have to enter foo.zip again.

squeeze --new=bar.txt
opens the create dialog too, but no archive is created.


1. the "New" button (should be called "Create" btw), should be disabled, when the entry is empty. also when the entry is cleared again, it should get disabled.

2. squeeze --new=bar.txt should open the create dialog, with "bar" entered in the entry for the new archive's name.

3. after the entry there should be a combobox to choose the archive type, the extension should then be added automatically. use a sane default like .tar.gz

4. the archive type shouldn't be specified as an argument, only file names or folder names should be.
so no --new=foo.zip bar.txt unless you have those 2 files and want to add them to a new archive. the entry in the create dialog should have the first argument pre-entered. if it's a filename, then don't add the file extension.
example:
squeeze --new=foo.txt bar.avi
should open the create dialog, "foo" is pre-entered as the archive's name, the combobox is set to .tar.gz or maybe let the user choose his default archive type in the preferences later.
of course when using the create dialog from within squeeze, no name would be pre-entered.

5. pressing the enter key in the entry should create be the same as pressing the "create" button.

with those enhancements, squeeze would work fine with the thunar plugin.
the only thing that would be left here is having the filename without extension pre-entered when using "extract to" but this should be done in the extract dialog anyway, not only when using the thunar plugin.
Comment 1 Bj 2007-01-12 01:23:37 CET
Created attachment 937 
add new mimetypes and fix .tap for "new archive"

damn, forgot the attachement again ;/
Comment 2 Stephan Arts editbugs 2007-01-12 19:39:07 CET
Aplied patch in r24376
Comment 3 Stephan Arts editbugs 2007-01-14 00:04:04 CET
--new=file_1.txt file_2.txt now works, file_1 is added to new_dialog.

fixed in revision 24434

Bug #2747

Reported by:
Bj
Reported on: 2007-01-12
Last modified on: 2007-01-14

People

Assignee:
Stephan Arts
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information