wish : no compulsory extension

Bug #312632 reported by boblinux on 2008-12-31
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eog (Ubuntu)
Wishlist
Ubuntu Desktop Bugs
Nominated for Jaunty by fermulator
Nominated for Karmic by fermulator
Nominated for Lucid by fermulator

Bug Description

Binary package hint: eog

Well, I am sorry, this is a wish, not a bug : (even if to me this is a "problem", as stated in the Help menu entry, needing to be reported) do you have a specific entry for wishes ? For the moment I will describe it here :

this is my first eog usage : when I saved my first image, eog REQUIRED an extension. Why the hell ? on Unix, extensions do not exist. The file type is recognized through the first bytes in the file (file command, magic files) why do you regress to this windowish usage ? I was feeling as if I was using some windowish program !!! please come back to a more natural Unix usage and please DROP this compulsory extension usage ! this usage should be OPTIONAL.

Best regards
R. Grasso
System engineer

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/eog
NonfreeKernelModules: nvidia
Package: eog 2.24.1-0ubuntu1
ProcEnviron:
 LC_COLLATE=C
 PATH=/usr/lib/jvm/java-6-sun/jre/bin:/opt/firefox:/usr/lib/jvm/java-6-sun/jre/bin:/opt/firefox:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:.:/usr/share:/home/User Name/bin:/usr/sbin:/sbin:/usr/bin:.:/usr/share:/home/User Name/bin:/usr/sbin:/sbin:/usr/bin
 LANG=en_US.UTF-8
 SHELL=/usr/bin/tcsh
SourcePackage: eog
Uname: Linux 2.6.27-9-generic x86_64

boblinux (robert-grasso) wrote :
Lupine (thelupine) wrote :

Thank you for taking the time to make Ubuntu better. Since what you submitted is a Feature Request to improve Ubuntu, you are invited to post your idea in Ubuntu Brainstorm at https://brainstorm.ubuntu.com/ where it can be discussed, voted by the community and reviewed by developers. Thanks for taking the time to share your opinion!

Ryan Niebur (ryan52) on 2009-01-04
Changed in eog:
importance: Undecided → Wishlist
status: New → Triaged
Pedro Villavicencio (pedro) wrote :

which extension was required? which type of image did you saved?

Changed in eog:
assignee: nobody → desktop-bugs
status: Triaged → Incomplete
boblinux (robert-grasso) wrote :

I went to the Hubble website, and wanted to save a greetings card from Firefox :

http://hubblesite.org/gallery/holiday/hc023/

I clicked on some format :

http://hubblesite.org/gallery/holiday/hc023/card_6x4

which opened a download box, with the image name :

hubblecard023_6x4.jpg

then I was asked : "What should Firefox do with this file?"

I answered : "Open with Image Viewer (default)"

(it was kind of a test, to see what was this "Image Viewer")

then a window opened, ps -ef told me the process was called "eog"; the window contained the image name in the title bar; then, from within eog, I clicked on "File->Save as" : well, strangely, in its "Name:" input field, it does not provides, as a default entry, the image name, the input field is empty - never mind, I just typed some name 'hubblecard", then clicked on "Save"; and here, sadly, an error message poped up :

"File format is unknown or unsupported

Eye of GNOME could not determine a supported writable file format based on the filename.
Please try a different file extension like .png or .jpg."

So this gets me angry : why, on a Linux/Unix OS, should the file format be determined by the FILENAME, and more, by the EXTENSION ? please, let this to the Windows community ! you should supply a scroll list, displaying the supported image formats ! and accept, besides and optionally, to determine the file format from the extension for non-IT users.

Do you need more informations ?

Best regards
R. Grasso

Pedro Villavicencio (pedro) wrote :

could you attach the file?

boblinux (robert-grasso) wrote :

you mean : the image from the Hubble website ?

here it is (more than 2 MB - a bit heavy ...)

BTW, opening it from the shell leads to the same result, but with some additional output in the terminal (on stderr I assume) :

robert@power4:~/tmp>eog hubblecard023_6x4.jpg

(eog:7354): EOG-CRITICAL **: eog_pixbuf_get_format_by_suffix: assertion `suffix != NULL' failed

(eog:7354): EOG-CRITICAL **: eog_pixbuf_get_format_by_suffix: assertion `suffix != NULL' failed

I monitored it : each line was triggered when I clicked on "Save". And I apologize, you do manage a list of supported formats - I just did not see it :-( But the error happens whatever is selected in the liste : either "All Files", "All images", or no matter what format

Pedro Villavicencio (pedro) wrote :

The image works fine here with Jaunty, this should be fixed with eog 2.25.5, marking this as fixed, feel free to re open if you have the same issue with jaunty and latest package, thanks.

Changed in eog:
status: Incomplete → Fix Released
fermulator (fermulator) wrote :

I changed the status to "incomplete".

Just tried with EyeOfGnome (eog) 2.26.1, and the problem still exists. I personally tested with Ubuntu Jaunty 9.04, and I had someone else test in Ubuntu Karmic 9.10.

Steps to reproduce.

 1) Open any image with EyeOfGnome (Image Viewer) in Ubuntu.
 2) File --> "Save As"
 3) Now, we're prompted with a "Name". Call it "my picture I am saving"
 4) Click "Save"

ERROR: File format is unknown or unsupported - Eye of GNOME could not determine a supported writable file format based on the filename. Please try a different file extension like .png or .jpg.

OK, look at this, there's a "File type" drop down menu, currently said "All Images".
Try changing this to "JPEG" or "PNG", try again, same error.

There are two options here:
 A) [RECOMMENDED] When the user choses the filetype, it should automatically suffix the "Name" entry with that chosen filetype.
 B) eog shouldn't care if an extension exists (I don't think this is good though -- it is preferred to suffix images with the proper extension for its type)

Here's my version on 9.04:
$ dpkg --list | grep eog
ii eog 2.26.1-0ubuntu1 Eye of GNOME graphics viewer program

Changed in eog (Ubuntu):
status: Fix Released → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers