[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: keditbookmarks / klipper interaction
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date:       2002-09-27 0:32:24
[Download RAW message or body]

-----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-----
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic