← Back to team overview

desktop-packages team mailing list archive

[Bug 1035427] Re: Screenshot tool shows no warning when using incorrect extension

 

This version is no more supported and is not a 'security' problem; so
does not expect a backport

** Changed in: nautilus (Ubuntu)
       Status: New => Invalid

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

Title:
  Screenshot tool shows no warning when using incorrect extension

Status in nautilus package in Ubuntu:
  Invalid

Bug description:
  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)

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