! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Mouse pointer not always included. Shell errors. Also, documentation is faulty
Status:
RESOLVED: FIXED
Product:
Xfce4-screenshooter
Component:
General

Comments

Description seebook1 2012-09-06 16:02:10 CEST
There are two/three bugs. One/two are functional, the third is man page.
Divide this bug report as you want to ->




-------
When running the xfce4-screenshooter to _include_ the mouse pointer into
the screen shot, it not always includes the mouse pointer. This bug happens
very often when the mouse pointer is close (a few pixels away) to the
borders of the desktop.

The effects of the mouse pointer (scroll bar highlightning, etc) are maintained,
but the mouse pointer itself, is left out of the screen shot, at those
close-to-desktop-border situations.



-------
My command "xfce4-screenshooter -m -f" from bash shell, get errors:

"(xfce4-screenshooter:6188): Gtk-CRITICAL **: IA__gtk_icon_theme_lookup_by_gicon: assertion `G_IS_ICON (icon)' failed

(xfce4-screenshooter:6188): Gtk-CRITICAL **: IA__gtk_icon_info_load_icon: assertion `icon_info != NULL' failed

(xfce4-screenshooter:6188): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(xfce4-screenshooter:6188): Gtk-CRITICAL **: IA__gtk_icon_info_free: assertion `icon_info != NULL' failed"



------
Also, the man page documentation is wrong (when run from a bash terminal).
It states:

"-m, --mouse
              Do not display the mouse on the screenshot"

Well... To say the least, it seems to work the opposite way, '-m' _displays_
the mouse pointer. Simplest action in this later case, would be to update
the man page.
Comment 1 seebook1 2012-09-06 16:05:40 CEST
Environment: I run XFCE 4.8.3 on Ubuntu LTS 12.04
Comment 2 seebook1 2012-09-06 16:07:40 CEST
Sorry for adding this so late.

Now I found a more specific version number on the man page ->

xfce4-screenshooter 1.6.0          June 2008
Comment 3 seebook1 2012-09-06 16:10:06 CEST
My bad again, when run "xfce4-screenshooter -V", I got ->

xfce4-screenshooter 1.8.0
Comment 4 Jérôme Guelfucci editbugs 2012-09-06 21:24:48 CEST
Please file one bug report per issue to ease the tracking of issues.
Comment 5 Andre Miranda editbugs 2016-01-24 19:15:06 CET
Let's go:

Bug 1:
I can confirm, but only when cursor x/y is 0:

(xfce4-screenshooter:4095): GdkPixbuf-CRITICAL **: gdk_pixbuf_composite: assertion 'dest_y >= 0 && dest_y + dest_height <= dest->height' failed

(xfce4-screenshooter:4313): GdkPixbuf-CRITICAL **: gdk_pixbuf_composite: assertion 'dest_x >= 0 && dest_x + dest_width <= dest->width' failed

Bug 2:
Can't reproduce, this might have been fixed since then.

Bug 3:
The man page has been fixed:
-m, --mouse
              Display the mouse on the screenshot

Probably now we have only one bug =)
It boils down to an assertion on gdk_pixbuf_composite[1], but I don't know how to fix that.

xfce4-screenshooter 1.8.2

1 - http://git.xfce.org/apps/xfce4-screenshooter/tree/lib/screenshooter-capture.c?id=93e5cdeae449d2e282f2832bf44bbdc04931ec47#n467
Comment 6 Git Bot editbugs 2019-10-07 00:03:03 CEST
Andre Miranda referenced this bugreport in commit ad25edbc533d27439e6a2c8bd71b1774be048fdb

Fix cursor capture when near screen edge (Bug #9262)

https://git.xfce.org/apps/xfce4-screenshooter/commit?id=ad25edbc533d27439e6a2c8bd71b1774be048fdb

Bug #9262

Reported by:
seebook1
Reported on: 2012-09-06
Last modified on: 2019-10-07

People

Assignee:
Jérôme Guelfucci
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information