"Save screenshot" dialog window has wrong focus

Bug #1169904 reported by Steven Pemberton
126
This bug affects 25 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Fix Released
Low
Unassigned
gnome-screenshot (Ubuntu)
Fix Released
Low
Unassigned
Raring
Fix Released
Low
Unassigned

Bug Description

[SRU] The debdiff attached to comment #7 backports the upstream fix for Raring.

[IMPACT] After taking a screenshot users should immediately be able to type in a filename, instead they need to use the mouse to give focus to the filename field which then loses the highlight of the suggested filename.

[Test Case] Take a screenshot by pressing PrintScreen or Alt-PrintScreen then attempt to enter a filename.

[Regression Potential]
Low, the single-line-fix has been in upstream for 3 months already.

When you take a screenshot with the Print Screen key, you get a dialog asking you to name the file.

It *looks* like the focus is on the name of the file (selected in orange like the File Rename dialog in Nautilus), but you can't type - I suspect focus is really on the Save button.

Nor can you tab to the filename field, so you have to use your mouse to select what is already visually selected in order to type a name.

Correct behaviour would be to let the user directly type to this dialog box without any further action.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: gnome-screenshot 3.6.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-27.46-generic 3.5.7.7
Uname: Linux 3.5.0-27-generic x86_64
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Wed Apr 17 12:35:26 2013
InstallationDate: Installed on 2011-12-09 (494 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
SourcePackage: gnome-screenshot
UpgradeStatus: Upgraded to quantal on 2012-11-09 (158 days ago)

Related branches

Revision history for this message
Steven Pemberton (steven-pemberton) wrote :
Revision history for this message
Steven Pemberton (steven-pemberton) wrote :

By "Nor can you tab to the filename field" I meant you can't tab to it and keep the current selection.

Revision history for this message
Vanderson M. do Rosario (vandersonmr) wrote :

I have confirmed this bug in Ubuntu 13.04 and 12.10.

Changed in hundredpapercuts:
status: New → Confirmed
assignee: nobody → Vanderson M. do Rosario (vandersonmr)
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-screenshot (Ubuntu):
status: New → Confirmed
Changed in hundredpapercuts:
status: In Progress → Fix Committed
Changed in gnome-screenshot (Ubuntu):
status: Confirmed → Fix Committed
Changed in hundredpapercuts:
status: Fix Committed → In Progress
Changed in gnome-screenshot (Ubuntu):
status: Fix Committed → In Progress
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in gnome-screenshot (Ubuntu):
importance: Undecided → Low
Changed in gnome-screenshot (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-screenshot - 3.8.2-0ubuntu1

---------------
gnome-screenshot (3.8.2-0ubuntu1) saucy; urgency=low

  * New upstream version:
    - Fix file name field in dialog not having focus initially (lp: #1169904)
  * debian/control.in:
    - updated glib requirement
 -- Sebastien Bacher <email address hidden> Wed, 15 May 2013 12:01:25 +0200

Changed in gnome-screenshot (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Graham Inggs (ginggs) wrote :

Upstream commit 046f57ea426f911459a9e85b02476ce8a9e25663 [1] backported for Raring.

[1] https://git.gnome.org/browse/gnome-screenshot/commit/?id=046f57ea426f911459a9e85b02476ce8a9e25663

Graham Inggs (ginggs)
description: updated
Revision history for this message
Graham Inggs (ginggs) wrote :

New patch with DEP-3 headers.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-screenshot (Ubuntu Raring):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

@Graham: thanks for your work, I sponsored the update (it's waiting to be review/approved by the SRU team next)

Changed in gnome-screenshot (Ubuntu Raring):
importance: Undecided → Low
status: Confirmed → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello <email address hidden>, or anyone else affected,

Accepted gnome-screenshot into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/gnome-screenshot/3.6.1-0ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gnome-screenshot (Ubuntu Raring):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Avi Greenbury (bigreds) wrote :

This is fixed for me in 3.6.1-0ubuntu2.1

Graham Inggs (ginggs)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Steven Pemberton (steven-pemberton) wrote :

Fixed for me. Thanks Graham, and all others!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-screenshot - 3.6.1-0ubuntu2.1

---------------
gnome-screenshot (3.6.1-0ubuntu2.1) raring-proposed; urgency=low

  * debian/patches/fix_file_name_field_focus.patch
    - Fix file name field in dialog not having focus initially (LP: #1169904)
 -- Graham Inggs <email address hidden> Mon, 08 Jul 2013 00:46:36 +0200

Changed in gnome-screenshot (Ubuntu Raring):
status: Fix Committed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Norbert (nrbrtx) wrote :

This bug returned is Saucy.
I can confirm this bug in the Ubuntu 13.10 final.
I tried to make a screenshot of a window. So I was going to press <Alt>+<Print Screen> simultaneously.
I press <Alt> (but the HUD opens and got focus) and <Print Screen>. As a result I got screenshot of a HUD, not desired window.
If I run GNOME session flashback I can make screenshot normally. So it is a Unity bug.

tags: added: saucy
removed: amd64
Revision history for this message
Graham Inggs (ginggs) wrote :

@Norbert: That sounds like a different problem. Please file a new bug report against Unity.

Revision history for this message
Sebastian J. Bronner (waschtl) wrote :

The problem addressed by Norbert is filed as bug #1231447.

Changed in hundredpapercuts:
importance: Undecided → Low
status: In Progress → Fix Released
assignee: Vanderson M. do Rosario (vandersonmr) → nobody
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.