FS#15291 - [qt] 4.5.2: can't copy text from a QT apps

Attached to Project: Arch Linux
Opened by lh (jarryson) - Sunday, 28 June 2009, 08:30 GMT
Last edited by Pierre Schmitz (Pierre) - Wednesday, 12 August 2009, 13:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

i am not using KDE, but i am using some QT applications, such as opera, arora.

after upgrade to qt 4.5.2, i found that i can not copy text from opera after a while. and i tired arora, and it had the same problem.

then i downgrade QT to 4.5.1, and it won't happen. so i think maybe it's a bug of QT. Is there anyone else have this problem?

PS: i am using xfce4.6
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Wednesday, 12 August 2009, 13:39 GMT
Reason for closing:  Fixed
Comment by Pierre Schmitz (Pierre) - Sunday, 28 June 2009, 10:27 GMT
How can this be reproduced? It seems to work for me (tested with Arora)
Comment by lh (jarryson) - Sunday, 28 June 2009, 14:27 GMT
locale zh_CN.UTF-8
it's happened after using opera for a bit while. you can copy text at first or second time, but can't copy anymore very soon.
Comment by Dan Vratil (progdan) - Monday, 29 June 2009, 00:28 GMT
This really could be a bug in Qt 4.5.2.
Same problems appeared on Gentoo (64bit) with KDE 4.3(svn). After reverting to Qt 4.5.1, the bug was gone. However on my Arch (x86_64) with Qt 4.5.2 and KDE 4.3.rc1 it's OK
Comment by None (z_one) - Monday, 29 June 2009, 12:26 GMT
Arora git+QT4.5.2

output:
QClipboard::setData: Cannot set X11 selection owner for PRIMARY
Comment by None (z_one) - Monday, 29 June 2009, 12:30 GMT
QClipboard::setData: Cannot set X11 selection owner for CLIPBOARD
Comment by Liu Dongiao (liudongmiao) - Monday, 10 August 2009, 03:32 GMT
Someone had reported this issue in bugs.kde.org.
https://bugs.kde.org/show_bug.cgi?id=199333
It was confirmed, and a bug of QT 4.5.2

Pierre, could you fix this?
http://qt.gitorious.org/qt/qt/commit/9e5fa633913ef952ca4ef5312fe396bcfc885321
Comment by Liu Dongiao (liudongmiao) - Monday, 10 August 2009, 04:36 GMT
to pierre, you can reproduce as following:

open a qt program and a xim input, for example, konsole and fcitx.
try to input a chinese character, for example, zhong(中)
don't select it, then go to another program, for example, firefox.
then, you cant copy/paste in this konsole.
but it will work again for a new konsole.

Should i grab my desktop to you?
Comment by Liu Dongiao (liudongmiao) - Monday, 10 August 2009, 05:49 GMT
Copy/Paste work again after patch it.

Loading...