keditbookmarks / klipper interaction

Carsten Pfeiffer carpdjih at sp.zrz.tu-berlin.de
Fri Sep 27 01:32:24 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----

On Thursday 19 September 2002 14:02, Alexander Kellett wrote:

Hiya,

> it seems that with klipper running keditbookmarks is not able
> to do clipboard operations without large random delays in qt
> after doing a "cut". afaics it only occurs if klippers'
> "sync clipboards" option is on.
>
> carsten, any work arounds? something to stop klipper seeing
> these bookmark clipboard items as anything important?
> can't imagine that klipper needs to sync the xbel data
> up with the mmb selection :)
>
> (note, i'm running 3.1, maybe its just a bug there?)

I didn't test Qt 3.1 yet, but I will soon.

One thing I see in keditbookmarks:

    QApplication::clipboard()->setData( data );
    slotClipboardDataChanged(); // don't ask

slotClipboardDataChanged() will be called automatically via QClipboard's 
dataChanged() signal (setData() will cause dataChanged() being emitted).

Also, you should specify the Mode QClipboard::Clipboard in setData() and 
data().

Can you test if that improves the situation at least a bit?

Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----

iQEVAwUBPZOnGKWgYMJuwmZtAQF2MggAhglfpxZv5b2Of1ehkqzWIGXg9O0necsx
BMDMtacl6w0ut2Ht7FlGtUrxoJMsoPKeh0csXUCZ2aVkXADIvBY2jBfuykZAoRg6
AJquDtjbBu/d8qyzDZTneDfYUcuCnnGZu16ZeQX4KvhQHz0MsOC4UTU+LQSvK4QP
MuCwGNcwNJ+kjUmU7rLSqp/J9P4KGs5V3vC7udXBETOnmxJ/P9ntPdWjLafrXLAa
H16ZRsO+1tYByF54oUg3mL+iyk3qSMfHq/NQm3zGs5OhFuA59x6kQ00YCek8MQRj
gKMxmTDMiAqPmQYf5fwTyYUd+z9ybkV1owQC4IXguAgPUe7vAX5mXw==
=j8LI
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list