[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2020-07-30 Thread Lucas Sandery
Apologies for the noise. It did work after a reboot/relogin; the
assignment was not immediate as with other global shortcuts I've set.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2020-07-30 Thread Lucas Sandery
Has there been a regression? I'm seeing the same behaviour.

=== system ===

Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.7.11-050711-generic
OS Type: 64-bit

=== xev output ===

KeyPress event, serial 40, synthetic NO, window 0x761,
root 0x6cb, subw 0x0, time 20275320, (600,670), root:(600,699),
state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen 
YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyRelease event, serial 41, synthetic NO, window 0x761,
root 0x6cb, subw 0x0, time 20275432, (600,670), root:(600,699),
state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen 
YES,
XLookupString gives 0 bytes: 
XFilterEvent returns: False

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2014-10-25 Thread Bug Watch Updater
** Changed in: kde-runtime
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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


[Bug 661829]

2014-10-25 Thread U26
Tested on Qt5. Things seem to work for me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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


[Bug 661829]

2013-02-10 Thread Jbev-kdebugs-01
That's right, but it's still confusing that it says "Launch (1)". It
should really display "Calculator". I wouldn't consider this issue fully
fixed until then.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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


[Bug 661829]

2013-02-10 Thread Leonardopl
No, "Launch (1)" is how Qt handle this key. If you check the link that I
posted before you'll see that   Qt::Key_Calculator is not mapped in
X11 and you must use Qt::Key_Launch1 instead. If you still want it to
display "Calculator" please open a ticket on Qt tracker since I don't
think that this is a job to KDE do.

-- 
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


[Bug 661829]

2013-02-10 Thread Cycoone
Still works for me in 4.9.5 and 4.10 on ArchLinux.  The shortcut trigger
still says Launch(1), however the fix made pressing the calculator key
work to trigger the event anyway.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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


[Bug 661829]

2012-12-10 Thread Ian Turner
This WORKSFORME using KDE 4.9.2 on Ubuntu 12.04.1, however it requests
root privileges for kcalc (I guess that's a different issue...)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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


[Bug 661829]

2012-12-10 Thread Jbev-kdebugs-01
Bug still present in 4.9.90. Is this a regression?
I did not re-check in 4.9.1 since I already applied the workaround from the 
forums several versions ago.
>From my perspective I would say this was never fixed, but if it actually was 
>in 4.9.1, then it seems to be back in 4.10.

xev correctly outputs:

KeyRelease event, serial 36, synthetic NO, window 0x401,
root 0x135, subw 0x0, time 10647210, (561,-616), root:(563,226),
state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen 
YES,
XLookupString gives 0 bytes: 
XFilterEvent returns: False

but when setting a shortcut I still get "Launch (1)" instead of
"Calculator".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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


[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2012-12-10 Thread Bug Watch Updater
** Changed in: kde-runtime
   Status: Fix Released => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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


[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2012-11-08 Thread Harald Sitter
** Changed in: kde-runtime (Ubuntu)
   Status: New => Fix Released

-- 
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


[Bug 661829]

2012-10-11 Thread Ian Turner
Looks like I did not have the shortcut key set. Following Stephen's
steps in the bug description, I see that the calculator key now works.

-- 
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


[Bug 661829]

2012-10-11 Thread Foxandxss
It's working for me since 4.9.1 Ian.

-- 
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


[Bug 661829]

2012-10-11 Thread Ian Turner
I'm actually still seeing this issue in 4.9.2.

-- 
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


[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2012-08-22 Thread Bug Watch Updater
** Changed in: kde-runtime
   Status: Confirmed => Fix Released

-- 
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


[Bug 661829]

2012-08-22 Thread David Faure
Git commit 1c7ae18ef5d1b7adbb271c1164d0d899eb6d4ed8 by David Faure.
Committed on 17/08/2012 at 19:41.
Pushed by dfaure into branch 'KDE/4.9'.

Fix handling of XF86Calculator, patch by "Leonardo".

Full investigation details in the bug report.
FIXED-IN: 4.9.1

M  +3-1kdeui/util/kkeyserver_x11.cpp

http://commits.kde.org/kdelibs/1c7ae18ef5d1b7adbb271c1164d0d899eb6d4ed8

-- 
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


[Bug 661829]

2012-08-22 Thread David Faure
What a mess, between the typo in the X headers and the full
documentation of these quirks in the Qt API docs -- I had no idea the
use of Launch1 was fully documented in Qt :-)

OK then, I'll apply the kdelibs fix.

Thanks for all the investigations.

-- 
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


[Bug 661829]

2012-08-15 Thread Mattsch
Leonardo is right.  It would likely take a while for Qt to apply this
patch, it's better to patch kdelibs now than to wait for the change to
come through Qt assuming they agree to change it.

-- 
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


[Bug 661829]

2012-08-15 Thread Lplegori
Well, I think that patching the kdelibs is the most correct approach,
because, according to http://qt-project.org/doc/qt-4.8/qt.html,
Qt::Key_Calculator is not mapped on X11 and Qt::Key_Launch1 must be used
instead. Anyway, even if the problem is with Qt, your path probably will
not be accept, because, as stated in https://bugreports.qt-
project.org/browse/QTBUG-25118 Qt5 is meant to have minimum source
incompatibility. Therefore, I think this patch must be accept in kdelibs
as soon as possible, because, as said before, is indeed annoying have to
patch every new version to have the calculator key working.

-- 
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


[Bug 661829]

2012-08-15 Thread Mattsch
(In reply to comment #21)
> (In reply to comment #20)
> > Thanks for your work on this. Unfortunately, for legal reasons, *you* have
> > to be the one to push the patch to Qt5, and then to Qt4, via gerrit
> > (http://codereview.qt-project.org).
> > Well, ok it's a one-liner, I guess it could be considered trivial enough for
> > anyone to apply it.
> > But since I can't even test it, I'd rather not do that myself :-)
> > In any case, the first step is to make a Qt5 patch (Qt contribution rules
> > require a Qt5 fix before a Qt4 fix, so that no fix for 4 is forgotten in 5)
> 
> I don't mind submitting the patch myself but I'm not sure how to sign up for
> an account and post to https://codereview.qt-project.org

nm, I found the wiki on how to do it.

-- 
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


[Bug 661829]

2012-08-15 Thread Mattsch
(In reply to comment #20)
> Thanks for your work on this. Unfortunately, for legal reasons, *you* have
> to be the one to push the patch to Qt5, and then to Qt4, via gerrit
> (http://codereview.qt-project.org).
> Well, ok it's a one-liner, I guess it could be considered trivial enough for
> anyone to apply it.
> But since I can't even test it, I'd rather not do that myself :-)
> In any case, the first step is to make a Qt5 patch (Qt contribution rules
> require a Qt5 fix before a Qt4 fix, so that no fix for 4 is forgotten in 5)

I don't mind submitting the patch myself but I'm not sure how to sign up
for an account and post to https://codereview.qt-project.org

-- 
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


[Bug 661829]

2012-08-15 Thread David Faure
Thanks for your work on this. Unfortunately, for legal reasons, *you* have to 
be the one to push the patch to Qt5, and then to Qt4, via gerrit 
(http://codereview.qt-project.org).
Well, ok it's a one-liner, I guess it could be considered trivial enough for 
anyone to apply it.
But since I can't even test it, I'd rather not do that myself :-)
In any case, the first step is to make a Qt5 patch (Qt contribution rules 
require a Qt5 fix before a Qt4 fix, so that no fix for 4 is forgotten in 5)

-- 
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


[Bug 661829]

2012-08-09 Thread Mattsch
I created a ticket on the qt tracker as well if anyone is interested:
https://bugreports.qt-project.org/browse/QTBUG-26812

-- 
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


[Bug 661829]

2012-08-09 Thread Mattsch
I just examined qt 5 alpha and unfortunately, it appears as though
nothing as changed in qt 5 alpha in regards to this bug or any changes
to the mapping of keys (file changed to qxcbkeyboard.cpp in qt 5) as
indicated in that qt comment.  Perhaps this patch can be pushed to the
qt developers so they can patch qt 4 and 5.

-- 
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


[Bug 661829]

2012-08-09 Thread Mattsch
Created attachment 73065
qt-gui-4.8.2-calculator-key.patch

I just tested my theory and that appears to work.  This patch would work
for both types of keyboards that register the calculator key as
0x1008FF1D or 0x1008FF54.

-- 
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


[Bug 661829]

2012-08-09 Thread Mattsch
Although this qt patch fixes the problem, I wonder what the purpose of
the misspelled calculator constant is for.  These constants in qt were
pulled from XF86keysym.h from the x11proto package.  The misspelled
"XF86XK_Calculater" constant which has a different hex value from
"XF86XK_Calculator" originated in xfree86 XF86keysym.h revision 1.13 on
11/22/2002:

522. Added support for special keys found on many ACPI control, Easy Access
  Keyboards, Internet keyboards, laptops, notebooks and PDA (via
  xkb/symbols/inet). Added new key symbols for these keyboards
  (Stanislav Brabec).

Before that commit, XF86XK_Calculator was the only one that existed.

In revision 1.12, the keysym for XF86XK_Calculator was 0x1008FF1D.  This
is the same symbol that my keyword uses (Microsoft Natural Keyboard
4000).  In revision 1.13 that keysym did not change while
XF86XK_Calculater was added with a keysym of 0x1008FF54.  Strangely
enough, the comments for XF86XK_Calculator note that the developer
thinks they only apply to PDAs like Pocket PC and Palm while the other
keysym 0x1008FF54 applies to "internet keyboards" which is what I guess
my keyboard is.  I wonder if there are keyboards out there that register
the calculator key as 0x1008FF54 instead of 0x1008FF1D as my keyboard
does (you can test this with the xev program and looking at the keysym
your calculator key emits).   In that case, my patch for qt-gui would
not work for everyone.  I'm thinking that maybe Qt::Key_Calculator
should be applied to both the misspelled constant and the correctly
spelled one instead.

-- 
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


[Bug 661829]

2012-08-09 Thread Mattsch
Created attachment 73062
qt-gui-4.8.2-calculator-key.patch

I just confirmed that patching qt-gui works without needing to patch
kdelibs.  It seems like the qt guys even know that some of the key
shortcuts are screwed up as well? (// ### Qt 5: remap properly)  I
wonder if this calculator key bug has also been fixed in qt 5.

-- 
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


[Bug 661829]

2012-08-09 Thread Mattsch
(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


[Bug 661829]

2012-08-09 Thread David Faure
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,
?

-- 
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


[Bug 661829]

2012-08-09 Thread Foxandxss
KDE 4.9, the bug is still there. It's boring to patch every new version
to get the calc key working.

-- 
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


[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2012-06-25 Thread Bug Watch Updater
Launchpad has imported 12 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=257900.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2010-11-25T18:31:05+00:00 Cycoone wrote:

Version:   unspecified (using KDE 4.5.3) 
OS:Linux

I have been trying to use the calculator key on my Microsoft Multimedia
Pro keyboard to launch kcalc.  I tried setting it up as a global
shortcut under custom actions, and through the edit menu dialog.

When I press the Calculator button it is registered in the trigger as
Launch(1) but after clicking apply it doesn't have any effect.  Using
another shortcut like Meta+c works as expected.

xev for that key shows the following:

KeyPress event, serial 34, synthetic NO, window 0x501,
root 0x107, subw 0x0, time 13592514, (763,758), root:(766,781),
state 0x0, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False


Reproducible: Always

Steps to Reproduce:
Right click K-menu and choose Menu Editor
Click on the KCalc entry
Click Advanced
Click the button beside Current Shortcut Key
Press the Calculator key (Launch(1) will show up on the button)
Click save settings
Press the calculator key

Actual Results:  
Nothing

Expected Results:  
KCalc should open

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/2


On 2011-01-01T09:31:28+00:00 Woelfel wrote:

I can confirm this on KDE 4.5.4., OpenSuSE 11.3 packages, with a
Microsoft Natural Ergonomic Keyboard 4000.

A workaround as posted at
http://forum.kde.org/viewtopic.php?f=17&t=89602 works for me: In
khotkeysrc and kglobalshortcutsrc I replaced the occurrences of "Launch
(1)" with "Calculator" (while not logged into KDE). After that the
calculator key starts the program assigned to it.

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/3


On 2011-01-01T09:34:47+00:00 Woelfel wrote:

Bug 255329 is a duplicate of this one...

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/4


On 2011-05-26T09:45:16+00:00 quantumphaze wrote:

I would like to confirm this problem in both KDE 4.5.5 on Ubuntu and
4.6.3 on Arch.

If you do the config file hack to force it manually, the menu editor
correctly displays "Calculator" as the hot key. If you then try to set
it by pressing the calculator key it sets it to Launch(1). Launch(1) is
actually a generic hot key sometimes found as Fn+F2/F3 on laptops.

I have tried this on Microsoft Digital Media keyboard 1.0a and Wireless
desktop 1000. Until someone says otherwise I think it's safe to assume
that it effects all MS keyboards with the calculator key.

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/5


On 2011-09-26T09:42:47+00:00 quantumphaze wrote:

Still effects KDE 4.7.1

Can this please be marked as confirmed? It should effect any user with a
Microsoft keyboard.

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/7


On 2011-10-03T14:56:28+00:00 Agostinelli wrote:

*** Bug 283249 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/8


On 2011-12-15T06:07:30+00:00 Sendel2000-h wrote:

in KDE 4.7.1 still, with Logitech Internet Keyboard

Reply at: https://bugs.launchpad.net/kde-runtime/+bug/661829/comments/13


On 2012-02-13T16:00:25+00:00 Motosauro wrote:

Absolutely confirmed
I'm on Gentoo, KDE 4.7.4
and the problem is still there:
khotkeys stubbornly thinks that the calculator key on all of my keyboards is 
the "Launch (1)" key
I used a Microsoft ComfortCurve2000, a Logitech k750 and a Logitech k710 all 
with the same result, so I'm pretty sure it's not hardware related
All other multimedia Keys work as expected

xev reports this:
KeyPress event, serial 35, synthetic NO, window 0x6e1,
root 0x15d, subw 0x6e2, time 133413435, (63,62), root:(1801,93),
state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen 
YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyRelease event,

[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2012-02-20 Thread Bug Watch Updater
** Changed in: kde-runtime
   Status: Invalid => Confirmed

-- 
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


[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2012-02-18 Thread Bug Watch Updater
** Changed in: kde-runtime
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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


[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2011-12-05 Thread Bug Watch Updater
** Changed in: kde-runtime
   Status: Unknown => Confirmed

** Changed in: kde-runtime
   Importance: Unknown => Medium

-- 
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


[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2011-12-05 Thread Juliano Ravasi
Hello Harald,

Sorry for the delay, this is the result from qev:

-
KeyPress event 
count 1, key Key_Launch1, modifiers () 
native scan code 148, native modifiers 16 
- 
KeyRelease event 
count 1, key Key_Launch1, modifiers () 
native scan code 148, native modifiers 16 

Note that xev properly reports XF86Calculator.

Note that http://doc.qt.nokia.com/4.7-snapshot/qt.html#Key-enum reports
that Qt::Key_Calculator is not mapped in X11 for historical reasons, and
that Qt::Key_Launch1 should be used instead. For some reason, it seems
that kglobalaccel has a problem identifying this key globally, or isn't
properly registering the X11 triggers to intercept its press when
another window has focus.


** Changed in: kde-runtime (Ubuntu)
   Status: Expired => New

** Bug watch added: KDE Bug Tracking System #263109
   http://bugs.kde.org/show_bug.cgi?id=263109

** Also affects: kde-runtime via
   http://bugs.kde.org/show_bug.cgi?id=263109
   Importance: Unknown
   Status: Unknown

-- 
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


[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2011-12-05 Thread Juliano Ravasi
I straced kglobalaccel, and it shows no activity when the calculator key
is pressed, while it properly reacts to other global shortcuts normally.

Perhaps kglobalaccel doesn't properly translate from the string "Launch
(1)" (which is the one saved in the configuration) to the keycode that
it must register with X11 to intercept the keypress. Changing "Launch
(1)" to "Calculator" in the config files and restarting kglobalaccel as
suggested in comment #2 DOESN'T work for me, I don't know why.

-- 
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


[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2011-12-02 Thread Launchpad Bug Tracker
[Expired for kde-runtime (Ubuntu) because there has been no activity for
60 days.]

** Changed in: kde-runtime (Ubuntu)
   Status: Incomplete => Expired

-- 
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/ubuntu/+source/kde-runtime/+bug/661829/+subscriptions

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


[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2011-10-03 Thread Harald Sitter
It would be really great if someone could grab
http://quickgit.kde.org/?p=scratch/sitter/qev.git&a=summary
and see what it has to say about the key event. It might well be that Qt simply 
does not support the calculator key (or it is mapped incorrectly within Qt).

** Package changed: kdebase-runtime (Ubuntu) => kde-runtime (Ubuntu)

** Changed in: kde-runtime (Ubuntu)
   Status: Confirmed => Incomplete

-- 
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/ubuntu/+source/kde-runtime/+bug/661829/+subscriptions

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


[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2011-08-28 Thread Andrea Bocci
Found a workaround here:
https://bbs.archlinux.org/viewtopic.php?pid=837944#p837944

"""
I searched for the string "Launch (1)" recursively in my directory ~/.kde  and 
found it in the files

~/.kde/share/config/kglobalshortcutsrc
~/.kde/share/config/khotkeysrc

In both files I had to replace "Launch (1)" with "Calculator". Oddly enough I 
had to replace it with "Calculator", though the terminal application xev 
actually indicates the name "XF86Calculator" for that key.
"""

After patching the two files, I killed and restarted "kglobalaccel", and
the key now works.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase-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/ubuntu/+source/kdebase-runtime/+bug/661829/+subscriptions

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


[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2011-08-04 Thread Launchpad Bug Tracker
** Changed in: kdebase-runtime (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/ubuntu/+source/kdebase-runtime/+bug/661829/+subscriptions

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


[Bug 661829] [NEW] Cannot set up a trigger for the Calculator key

2010-10-16 Thread JRavasi
Public bug reported:

Binary package hint: kdebase-runtime

It is not possible to assign an action to the Calculator key in the
keyboard (XF86Calculator). The key produces the correct symbol, as
verified by xev:

KeyPress event, serial 34, synthetic NO, window 0x4e1,
root 0x15a, subw 0x0, time 3196197, (1134,-210), root:(1138,622),
state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen 
YES,
XKeysymToKeycode returns keycode: 140
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

But KDE won't properly register it. To reproduce the bug:

1. Open System Settings -> Shortcuts and Gestures -> Custom Shortcuts
2. Add a new Global Shortcut (Type: Command/URL)
3. Set the Trigger by clicking the Shortcut button and pressing the Calculator 
key in the keyboard.
4. Instead of "Calculator" or "XF86Calculator", the result is the strange 
"Launch (1)", that doesn't seem appropriate.
5. Set the Action to kcalc or speedcrunch, and save the changes.
6. Press the Calculator key in the keyboard, nothing happens.

It is possible this be a problem with Qt. Further investigation is
necessary.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: kdebase-workspace 4:4.5.1-0ubuntu8
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat Oct 16 14:27:59 2010
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: kdebase-workspace

** Affects: kdebase-runtime (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug maverick

-- 
Cannot set up a trigger for the Calculator key
https://bugs.launchpad.net/bugs/661829
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 661829] Re: Cannot set up a trigger for the Calculator key

2010-10-16 Thread JRavasi


-- 
Cannot set up a trigger for the Calculator key
https://bugs.launchpad.net/bugs/661829
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase-runtime in ubuntu.

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