clipboard contents cleared when qbzr dialog closed

Bug #503401 reported by Gordon Tyler
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
High
Alexander Belchenko

Bug Description

Launch a qbzr dialog like qpull and copy the contents of the Location field to the clipboard. Without closing that dialog, open another window where you can paste the text you copied, e.g. Notepad on Windows. Paste and you'll see that it works. Close the qpull dialog and try paste the clipboard in the Notepad window again. Now it doesn't work.

This applies to just about every qbzr dialog I've tried.

Related branches

Revision history for this message
Alexander Belchenko (bialix) wrote :

This is problem in Qt/PyQt4 itself. In version PyQt4 4.3.1 it worked as expected. Starting from PyQt version 4.4 and higher it seems Qt/PyQt clears the clipboard on exit. I have no idea what we can do about that.

Changed in qbzr:
status: New → Won't Fix
Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 503401] Re: clipboard contents cleared when qbzr dialog closed

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Belchenko wrote:
> This is problem in Qt/PyQt4 itself. In version PyQt4 4.3.1 it worked as
> expected. Starting from PyQt version 4.4 and higher it seems Qt/PyQt
> clears the clipboard on exit. I have no idea what we can do about that.
>
> ** Changed in: qbzr
> Status: New => Won't Fix
>

I believe this is a Qt-ism. I believe it is because it waits to actually
fully populate the clipboard for when the target is determined. So that
it can chose as to whether to do a rich copy (html) or a dumb one (plain
text).

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktDXtkACgkQJdeBCYSNAAO9CACfYpvj6UZOxlKHN0ER3GLVIeF+
WIsAmQFteXthjK2riKDLz/rV3AT271Z2
=O2Op
-----END PGP SIGNATURE-----

Revision history for this message
Gordon Tyler (doxxx) wrote :

I found the following workaround for the problem, could you give it a try?

http://old.nabble.com/Re:-Searching-for-a-very-small-scprit-using-CLIPBOARD-p23246491.html

Changed in qbzr:
status: Won't Fix → Confirmed
Revision history for this message
Alexander Belchenko (bialix) wrote :

I will try to use it. Thanks.

Changed in qbzr:
importance: Undecided → High
milestone: none → 0.18
assignee: nobody → Alexander Belchenko (bialix)
Revision history for this message
Alexander Belchenko (bialix) wrote :
Changed in qbzr:
status: Confirmed → In Progress
Changed in qbzr:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.