KAction + Qt 3.1 beta problems?
Hamish Rodda
meddie at yoyo.its.monash.edu.au
Sun Sep 15 14:07:48 BST 2002
On Sun, 15 Sep 2002 10:05 pm, Harri Porten wrote:
> On Sun, 15 Sep 2002, Hamish Rodda wrote:
> > After upgrading to the latest qt-copy, I have been having problems in
> > Kate (& gideon) with typed shortcuts often being applied to incorrect
> > (inactive) documents. For example, with 5 documents open, pressing paste
> > 10 times might end up with the active document only receiving one paste,
> > and the other pastes being distributed amongst the other documents.
> > Christoph Cullmann suggested this might be a KAction problem...?
>
> Sounds very much like there is an accelerator clashing problem. Versions
> prior to Qt 3.1 would trigger the first (or last?) action connected and
> silently ignore others bound to the same key. Now, conflicts are detected.
> See the 3.1b1 changes file. Might be that KAction (or Kate) have to be
> cleaned up.
Thanks Harri.
I've attached a patch that I believe restores behaviour to what was happening
before Qt 3.1b1. I don't pretend to know whether it is right or not, but it
works for me. Could someone else take a look?
Cheers,
Hamish.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaccelprivate-20020915.patch
Type: text/x-diff
Size: 1135 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020915/d6b27f75/attachment.patch>
More information about the kde-core-devel
mailing list