Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 276527
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Qt Bug Alias <qt@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dolores <boltomli@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 276527 depends on: Show dependency tree
Bug 276527 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2009-07-05 02:43 0000
The copy function is OK before input any Chinese (I am using ibus).

Output from console when the issue happens:
QClipboard::setData: Cannot set X11 selection owner for PRIMARY
QClipboard::setData: Cannot set X11 selection owner for CLIPBOARD

Reproducible: Always

Steps to Reproduce:
1.Open a Qt application (qstardict, for instance)
2.Input some Chinese (I am using ibus)
3.Try to copy something from app

Actual Results:  
Nothing copied to clipboard
QClipboard::setData: Cannot set X11 selection owner for PRIMARY
QClipboard::setData: Cannot set X11 selection owner for CLIPBOARD

------- Comment #1 From Ingo Krabbe 2009-07-14 11:24:34 0000 -------
> 
> Steps to Reproduce:
> 1.Open a Qt application (qstardict, for instance)
I use konsole and konqueror
> 2.Input some Chinese (I am using ibus)
German and english works too
> 3.Try to copy something from app
> 
> Actual Results:  
> Nothing copied to clipboard
> QClipboard::setData: Cannot set X11 selection owner for PRIMARY
> QClipboard::setData: Cannot set X11 selection owner for CLIPBOARD
> 
Same problem.
1. I found a solution from 2004 for Qt 3.3.3 that proposes to remove an
unnecessary clipboard::clear call.  Maybe this is the same error, made again?
2. This error happens only after some working in my environment, i.e. when I
close all konsole windows and restart them I have clipboard access again.
Somehow this seems to be connected with tabbed browsing in konqueror or
konqueror in general.

------- Comment #2 From Dror Levin 2009-07-16 18:13:51 0000 -------
*** Bug 276669 has been marked as a duplicate of this bug. ***

------- Comment #3 From Denis Dzyubenko 2009-07-22 16:24:47 0000 -------
This problem should be fixed already in the Qt 4.5 branch and will be available
in the next version of Qt (4.5.3 and 4.6.0). The source of the problem is not
in Qt however - one of the received XEvents from XIM contains junk in a serial
number and timestamp fields.

Here is the change that fixes it (should be publicly available soon):
http://qt.gitorious.org/qt/qt/commit/9e5fa633913ef952ca4ef5312fe396bcfc885321

------- Comment #4 From Ben de Groot 2009-07-23 20:45:46 0000 -------
I just committed qt-gui-4.5.2-r2 which applies the upstream patch - thanks
Denis!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug