! 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 !
xfce4-screenshooters kill remote-viewer mouse and keyboard
Status:
RESOLVED: FIXED
Product:
Xfce4-screenshooter
Component:
General

Comments

Description Todd 2018-02-14 01:40:12 CET
Hi All,

Fedora Core 27, x64
xfce4-screenshooter-1.8.2-9.fc27.x86_64
qemu-system-x86-2.10.1-2.fc27.x86_64
qemu-common-2.10.1-2.fc27.x86_64
qemu-block-dmg-2.10.1-2.fc27.x86_64
qemu-kvm-2.10.1-2.fc27.x86_64
qemu-block-nfs-2.10.1-2.fc27.x86_64
qemu-system-x86-core-2.10.1-2.fc27.x86_64
qemu-block-gluster-2.10.1-2.fc27.x86_64
qemu-img-2.10.1-2.fc27.x86_64
qemu-block-rbd-2.10.1-2.fc27.x86_64
qemu-block-curl-2.10.1-2.fc27.x86_64
qemu-block-iscsi-2.10.1-2.fc27.x86_64
qemu-guest-agent-2.10.1-2.fc27.x86_64
qemu-block-ssh-2.10.1-2.fc27.x86_64
spice-vdagent-0.17.0-4.fc27.x86_64
spice-glib-0.34-1.fc27.x86_64
spice-server-0.14.0-1.fc27.x86_64
spice-gtk3-0.34-1.fc27.x86_64
virt-viewer-6.0-1.fc27.x86_64

$ dnf whatprovides remote-viewer
virt-viewer-6.0-1.fc27.x86_64 : Virtual Machine Viewer
Repo        : @System
Matched from:
Filename    : /usr/bin/remote-viewer

Whenever I take a select region screen shot of a qemu-kvm virtual machine running under remove-viewer (spice), my virtual machine loses keyboard and mouse.  The work around it to kill the remote-viewer widows and restart it.  Be nice if I didn't have to do that.

This is a typically remote-viewer command:
remote-viewer spice://127.0.0.1:5902

Many thanks,
-T
Comment 1 Todd 2018-02-14 02:05:19 CET
This behaviour is not reproducible under Gimp's screen shot.
Comment 2 Andre Miranda editbugs 2018-02-14 02:14:18 CET
Any error message if launched from terminal?
Is it possible to test this with 1.9.1? It uses gtk3 and the keyboard/mouse grab has been reworked.
Also, please test with gnome-screenshot, it uses similar if not the same functions from gdk that might caused this bug.
Comment 3 Andre Miranda editbugs 2018-04-29 00:00:06 CEST
Closing since the reporter didn't answer, reopen if still reproducible with 1.9.1+.
Comment 4 Todd 2018-04-29 03:03:14 CEST
Hi Andre,

I never got your request.  

I am now on 

# rpm -qa xfce4-screenshooter\*

xfce4-screenshooter-1.9.1-1.fc27.x86_64
xfce4-screenshooter-plugin-1.9.1-1.fc27.x86_64

And I now can not reproduce the issue.  


Thank you!  This was a pain-in-the-neck!

Please close as Fixed.
Comment 5 Todd 2018-07-25 21:38:20 CEST
It is back.  And it has started to  buggers up PDF Studio 2018.

$ rpm -qa xfce4-scree\*
xfce4-screenshooter-plugin-1.9.1-1.fc28.x86_64
xfce4-screenshooter-1.9.1-1.fc28.x86_64

With PDF Studio, I have to <ctrl><alt>f2> after a screen shot and kill PDF Studio.  Then not run PDF Studio again until I reboot.  GIMP's screen shot does not cause this issue.

And the issue with remote-viewer is back.

PDF Studio have a free unlimited trial, if you need to test it:
https://www.qoppa.com/pdfstudio/
Comment 6 Andre Miranda editbugs 2018-07-26 18:20:36 CEST
Please have a look at comment #2 and report back.
Comment 7 Todd 2018-07-27 18:44:09 CEST
$ xfce4-screenshooter
Gtk-Message: 09:43:10.170: GtkDialog mapped without a transient parent. This is discouraged.

(xfce4-screenshooter:11273): Gtk-CRITICAL **: 09:43:16.598: gtk_icon_theme_lookup_by_gicon_for_scale: assertion 'G_IS_ICON (icon)' failed

(xfce4-screenshooter:11273): Gtk-CRITICAL **: 09:43:16.598: gtk_icon_info_load_icon: assertion 'icon_info != NULL' failed

(xfce4-screenshooter:11273): GLib-GObject-CRITICAL **: 09:43:16.598: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-screenshooter:11273): GLib-GObject-CRITICAL **: 09:43:16.598: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-screenshooter:11273): GLib-GObject-CRITICAL **: 09:43:16.598: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-screenshooter:11273): Gtk-CRITICAL **: 09:43:16.598: gtk_icon_theme_lookup_by_gicon_for_scale: assertion 'G_IS_ICON (icon)' failed

(xfce4-screenshooter:11273): Gtk-CRITICAL **: 09:43:16.598: gtk_icon_info_load_icon: assertion 'icon_info != NULL' failed

(xfce4-screenshooter:11273): GLib-GObject-CRITICAL **: 09:43:16.598: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-screenshooter:11273): GLib-GObject-CRITICAL **: 09:43:16.598: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-screenshooter:11273): GLib-GObject-CRITICAL **: 09:43:16.598: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Gtk-Message: 09:43:16.608: GtkDialog mapped without a transient parent. This is discouraged.
Comment 8 Andre Miranda editbugs 2018-08-10 05:29:23 CEST
Hi Todd,
I swear I tried, but I wasn't able to reproduce this bug, I'm not very skilled with libvirt and qemu, VirtualBox is more than enough for my needs. With regards to PDF Studio, sorry I prefer not to install it.
Could you please provide instructions on how to spin up a qemu VM and connect remove-viewer?
Comment 9 Todd 2018-08-11 02:49:48 CEST
Hi Andre,

Not that I mind doing it, but giving you a tutorial on qemu-kvm is a pretty big undertaking.

It would be much better for you just to install the PDF Studio demo.  It is unlimited.  (It writes "demo" or some such across any pdf you save).    I have been using PDF Studio for years and adore it.  It is a safe install.  You can also just remove it after you are done testing.  Their tech support will also bend over backwards to help you.  I can help you with a lot of things too, as I have used it for so long.

     # /opt/pdfstudio2018/uninstall

Since the problem drives me nuts under PDF Studio, I would prefer that you test against it first.

If not, I will throw you something together on qemu-kvm

Thank you for helping with this!

-T

Any luck with all the start up errors?

If you install PDF Studio, open a drawing and play with the measurement/dimensioning utility.  I have several of my constriction customers using it all the time on  pdf blueprints.
Comment 10 Andre Miranda editbugs 2018-08-11 15:01:28 CEST
Created attachment 7878 
screenshot of pdf studio

Ok, your plea touched me and I installed PDF Studio.
It seems a regular Swing-based application, I experienced no problem taking screenshots of it (see attachment).
Questions:
Is there any steps to reproduce or just a blank document may cause you the issue?
An entire screen or active window screenshot also cause the issue?
What exactly happens to PDF Studio that you cannot use it until reboot?
Can you try another Swing-based app (e.g. jd-gui)?
Launch xfce4-screenshooter from terminal and try to take a screenshot of something else, the warnings from comment #7 also appear? What about gnome-screenshot?
Comment 11 Todd 2018-08-15 02:51:50 CEST
(In reply to Andre Miranda from comment #10)
> Created attachment 7878 
> screenshot of pdf studio
> 
> Ok, your plea touched me and I installed PDF Studio.
> It seems a regular Swing-based application, I experienced no problem taking
> screenshots of it (see attachment).
> Questions:
> Is there any steps to reproduce or just a blank document may cause you the
> issue?
> An entire screen or active window screenshot also cause the issue?
> What exactly happens to PDF Studio that you cannot use it until reboot?
> Can you try another Swing-based app (e.g. jd-gui)?
> Launch xfce4-screenshooter from terminal and try to take a screenshot of
> something else, the warnings from comment #7 also appear? What about
> gnome-screenshot?

Hi Andrea,

The attachment you posted showed nothing inside the box, so I will take your word on it.

I have done two major dnf upgrades since posting this,  and I can long longer reproduce the issue either.  So, it was probably the OS at fault.

Thank you for the assistance with this!

-T
Comment 12 Todd 2018-08-18 06:07:06 CEST
I have been using this most of hte day.  it nailed me once in qemu-kvm remote-viewer, but it would not reproduce itself.

Bug #14217

Reported by:
Todd
Reported on: 2018-02-14
Last modified on: 2018-08-18

People

Assignee:
Jérôme Guelfucci
CC List:
1 user

Version

Attachments

screenshot of pdf studio (69.78 KB, image/png)
2018-08-11 15:01 CEST , Andre Miranda
no flags

Additional information