gnome-screenshot misplaces mouse pointer

Bug #310771 reported by beth
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-utils
Fix Released
Medium
gnome-utils (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

When taking a single-window screenshot (using the alt-PrtSc shortcut), the mouse pointer in the resulting image is in the wrong location.

To create the attached image, I positioned the mouse pointer at the center of the large smiley face, at roughly the center of my 1024x768 screen. The actual mouse pointer does NOT move; just the image is affected.

I suspect gnome-screenshot confuses the coordinates of the mouse within the focused window with the coordinates relative to the root window. Some experiments that seem to confirm this:

If the focused window is at the top left of the screen (below the top panel), the incorrect mouse position is slightly above the real mouse position, by a distance similar to the height of the panel.)

If the focused window is at the bottom left, the incorrect mouse position is substantially above the actual mouse position (corresponding approximately to the distance between the top of the window and the top of the screen.)

A similar effect occurs if the window is not flush with the left side of the screen (ie, if the window is in the center of the screen, the pointer will be translated both up and to the left). The pointer may be "cut off" (image showing the partial pointer or no pointer at all) if the window is moved far enough to the right or bottom.

Revision history for this message
beth (beth-loxosceles) wrote :
Revision history for this message
Lupine (thelupine) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better, but unfortunately I've been unable to duplicate this issue. The Ubuntu developers will need to know which version of Ubuntu you are trying this out on. I can not duplicate this issue on Ubuntu 8.10. Actually, I can't get the screen shot to take a picture of the mouse cursor at all.

Changed in gnome-utils:
status: New → Incomplete
Revision history for this message
beth (beth-loxosceles) wrote :

This is Ubuntu 8.10, and the gnome-utils version is 2.24.1-0ubuntu1 .

I didn't get a mouse pointer either until a recent update, but I don't remember if that was when I did the dist-upgrade to intrepid or if there was a later change to gnome-utils.

Make sure to take the screenshot with the window placed near the top left of the screen to avoid the mouse pointer getting "cut off" - if that doesn't work, please let me know what other information I can give that might be helpful. This is i386, on a Lenovo x61 thinkpad...

Revision history for this message
Chris Lansdown (chris-chrislansdown) wrote :

I'm on the same ubuntu version (8.10) and the same gnome-utils version (2.24.1-0buntu1), and I'm getting similar behavior. I'm on x86_64 (intel core2 duo)

Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug is similar to http://bugzilla.gnome.org/show_bug.cgi?id=559594 which has been fixed to svn

Changed in gnome-utils:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Incomplete → Fix Committed
Changed in gnome-utils:
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-utils - 2.25.2-0ubuntu1

---------------
gnome-utils (2.25.2-0ubuntu1) jaunty; urgency=low

  * New upstream version

gnome-utils (2.25.1-0ubuntu1) jaunty; urgency=low

  * New upstream version:
    - Completely rewritten System Log Viewer (lp: #47134, #55512, #94489,
      #92575, #150056, #183615, #212380, #216377, #217605, #258729, #290053)
    Dictionary
    - Fix bug #454691 – Messages in the gnome-dictionary --help output
      are not all translated
    - Use the right order when passing arguments to PANEL_APPLET_BONOBO_FACTORY
    Floppy
    - Fix bug #565388 - Drop libgnome/libgnomeui dependency
    System Log Viewer
    - Merged the rewrite to trunk.
    - Bug #375684 - Rename the menu item to read a more descriptive
      "Log File Viewer"
  * debian/control.in:
    - updated build-depends to the new version requirements
  * debian/patches/01_lpi.patch:
    - new version update
  * debian/patches/02_autoconf.patch:
    - new version update
  * debian/patches/04_menu_changes.patch:
    - new version update
  * debian/patches/05_handle_signals.patch:
    - the code has been rewritten in the new version

gnome-utils (2.25.0-0ubuntu1) jaunty; urgency=low

  * New upstream version:
    Baobab
    - Fix bug #561257 - Use single GTK+ include
    - Root partition cannot be unselected
    - Plug a mem leak
    - Drop libgnome dependency (#557264)
    - Fix bug #557226 - Do not scan /sys
    Dictionary
    - Remove libgnome/libgnomeui dependency (#563970)
    - Fix bug #561257 - Use single GTK+ include
    - Fix bug #558980 - gnome-dictionary desktop file hardcodes icon extension
    Floppy
    - Nothing
    Screenshot
    - Plug memory leaks
    - Set a meaningful title for the interactive dialog (lp: #200872)
    - Fix the mouse cursor overlay when not in fullscreen mode (lp: #310771)
    - Always use the delay command line argument if present
    - Move the "Copy to Clipboard" button as per HIG
    - Drop libgnomeui dependency
    Search Tool
    - Fix bug #561257 - Use single GTK+ include
    System Log Viewer
    - Start some clean up of the code base to bring it to the XXI century
  * debian/control.in:
    - updated gtk requirement
  * debian/patches/01_logview_gksu.patch:
    - don't use gksu that's not required (lp: #314039)
  * debian/patches/01_lpi.patch:
    - new version update
  * debian/patches/02_autoconf.patch:
    - new version update

 -- Sebastien Bacher <email address hidden> Fri, 09 Jan 2009 14:38:45 +0100

Changed in gnome-utils:
status: Fix Committed → Fix Released
Changed in gnome-utils:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.