Public bug reported:

The Ubuntu screenshot tool (accessed via print screen button) allows the
user to save a file with any given extension, but will ONLY save a PNG
file.

 1. Press print screen key
 2. Enter 'Screenshot.jpg'
 3. Try to open, get 'corrupt file' error in some tools

This is only an issue for tools that use the filename to guess the type
rather than magic bytes, so GNOME's image viewer and GIMP are not
affected, but other tools like Adobe Lightroom are. This gave my wife
quite the headache because the file would show fine in the image viewer
where she took the screenshot but fail to import for a project she was
working on. This is not very user-friendly.

This problem could be mitigated by showing a warning if the extension is
not .png in the filename that the user enters, and by automatically
appending .png if there is no extension. E.g:

 if no extension:
   add .png
   save
 else if extension is .png
   save
 else
   show warning allowing user to cancel
   if not canceled
     save

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nautilus 1:3.2.1-0ubuntu4.2
ProcVersionSignature: Ubuntu 3.0.0-23.39-generic 3.0.36
Uname: Linux 3.0.0-23-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Fri Aug 10 11:19:11 2012
ExecutablePath: /usr/bin/nautilus
ProcEnviron:
 LANGUAGE=en_US:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug apport-lpi oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1035427

Title:
  Screenshot tool shows no warning when using incorrect extension

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1035427/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to