(In reply to comment #13)
> This looks like a workaround to me. Does this mean Qt handles
> Qt::Key_Calculator badly?
> 
> I grepped qt4 src/gui and I see no difference between Key_Calculator and
> Key_Launch1, on X11. They are both in qkeymapper_x11.cpp and in
> qkeysequence.cpp
> 
> Ah, but qkeymapper_x11.cpp maps XF86XK_Calculator to both!
> 
> Isn't the right fix to remove the line 1066, which says
>   XF86XK_Calculator,          Qt::Key_Launch1,
> ?

I looked at the source as well for qt-gui.  I saw the two mappings but
did you also notice that the second one has calculator misspelled as
calculater?  It might be better to shift a few lines around instead of
deleting the properly spelled one so the properly spelled one is
maintained and the misspelled one is deleted -- XF86XK_Calculator being
the proper spelling and not XF86XK_Calculater.  I'll try testing it to
see if that would work.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-runtime in Ubuntu.
https://bugs.launchpad.net/bugs/661829

Title:
  Cannot set up a trigger for the Calculator key

To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-runtime/+bug/661829/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to