Bug 710854

Summary: Unable to receive an event from the clipboard manager in a reasonable time
Product: [Fedora] Fedora Reporter: Michael S. Tsirkin <mst>
Component: xfce4-settingsAssignee: Kevin Fenzi <kevin>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: bnocera, kevin, maxamillion, rdieter, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-28 10:45:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michael S. Tsirkin 2011-06-05 10:37:50 UTC
Description of problem:

Each time I run a QT based application, upon exit
I get the message:
QClipboard: Unable to receive an event from the clipboard manager in a reasonable time

Filing this under gnome-settings-daemon because
some google searches seem to tell me that debian
addressed this by a fix in that package.
See this link:

http://www.mail-archive.com/desktop-bugs@lists.ubuntu.com/msg488152.html

Pls change the component if that's not right.

Version-Release number of selected component (if applicable):
gnome-settings-daemon-3.0.1-4.fc15.i686

How reproducible:
always

Steps to Reproduce:
1. install qt apoplication (I use lyx as example):
yum install lyx
2. run lyx from terminal:
$lyx
3. select File/Exit from menu
  
Actual results:
I get this error on terminal:

QClipboard: Unable to receive an event from the clipboard manager in a reasonable time
I get shell prompt only after several seconds

Expected results:

should exit immediately, get shell promt
no errors on terminal

Additional info:

Comment 1 Rex Dieter 2011-06-27 15:09:05 UTC
Not sure if the referenced ubuntu bug is the same issue, since it involves gnome-settings-daemon crashing, and the patch for that has presumably been upstreamed for a long time, see also,
https://bugzilla.gnome.org/show_bug.cgi?id=628526

Comment 2 Michael S. Tsirkin 2011-06-27 16:31:49 UTC
To Comment 1:
Which component is more appropriate then?
The warning is printed by this library:
/usr/lib/libQtGui.so.4 from qt-x11


        // That means application exits and we need to give clipboard
        // content to the clipboard manager.
        // First we check if there is a clipboard manager.
        if (XGetSelectionOwner(X11->display, ATOM(CLIPBOARD_MANAGER)) == XNone

            || !owner)

            return true;

So for some reason, XGetSelectionOwner returns something
different from XNone, but that does not respond then.

Comment 3 Michael S. Tsirkin 2011-06-28 10:45:07 UTC
ok this does not appear gnome related after all,
it's an xfce bug. Here is the description of the problem:
http://lists.gnu.org/archive/html/bug-gnu-emacs/2011-05/msg00709.html

Updated to xfce4-settings 4.8.2 which is now in updates
and the problems's gone. Closing.