Shortcut Scheme support and a todo for all applications

Ingo Klöcker kloecker at kde.org
Mon Sep 29 21:15:06 BST 2008


On Monday 29 September 2008, Andreas Pakulat wrote:
> On 29.09.08 00:36:52, Michael Jansen wrote:
> > > > So I suggest to note it down for KDE 5 and revert it for KDE 4
> > > > unless you can come up with a clever workaround for all the
> > > > third party KDE applications we do not even know about.
> > >
> > > So, you say its better to have shortcuts in applications behave
> > > in weird ways when they use QAction::setShortcut is better than
> > > them exposing a clearly visible bug? I disagree completely, a
> > > visible bug is always better than subtle weird behaviour thats
> > > not easily spotted - IMHO.
> >
> > I agree with Ingo here. Your change would break many existing
> > applications. That just plain wrong. No it was not a bug. It
> > worked. It was wrong usage. A completely different beast.
>
> Hmm, seems I misunderstood something. Re-Reading your last post makes
> clear that there was no bug, where now there exist one.
>
> > But its probably not worth to discuss it. With 865753 i committed
> > code that hopefully makes everyone happy. Old code works, shortcut
> > schemes work and developer using QAction::setShortcut get a nice
> > little message.

Excellent! Exactly what I was hoping for.


> Thanks, at this point I would've accepted a revert of the shortcut
> scheme support as well. I was just under the impression that we just
> trade one obvious against a not-so-obvious bug with that revert. Your
> doing a really great job on the actions stuff there.

Indeed. Also a huge "Thank you!" from me, Michael.


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080929/70c91325/attachment.sig>


More information about the kde-core-devel mailing list