Calculator key does not launch KCalc

Bug #580137 reported by Davor Cubranic
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
KDE Base
Fix Released
Wishlist
kcalc (Ubuntu)
Invalid
Undecided
Unassigned
khotkeys (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: kdeutils

On most OSs, pressing the calculator key on an extended keyboard (keysym XF86Calculator) launches the calculator accessory. This used to be the case on KUbuntu as well, but since at least Karmic, and now with Lucid, nothing happens. Can this key be mapped to KCalc by default, and remappable to Speedcrunch if it is installed?

Changed in kdeutils (Ubuntu):
status: New → Confirmed
Revision history for this message
Pho3nix (philipp89) wrote :

yeah, I can confirm that it still does not work on 11.10

it is not possible to fix it manually is it?

affects: kdeutils (Ubuntu) → kcalc (Ubuntu)
Revision history for this message
Harald Sitter (apachelogger) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. While we appreciate your issue, it would be better if it was tracked at https://bugs.kde.org, so that the KDE developers can deal with this speedily and have direct communication with you as the reporter for more effective debugging.

Thanks!

Changed in kcalc (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
In , Marius B. Kotsbak (mariusko) wrote :

It would be nice if Kcalc had been started when pressing calculator keyboard button.

Reproducible: Always

Steps to Reproduce:
1. Press calculator keyboard button

Actual Results:
KCalc does not start

Expected Results:
KCalc should start

Changed in kcalc (Ubuntu):
status: Invalid → Confirmed
Changed in kcalc (Ubuntu):
status: Confirmed → Invalid
no longer affects: kdeutils
Revision history for this message
In , Marius B. Kotsbak (mariusko) wrote :

This could be solved by adding something like this:

[Data_1_2Actions0]
CommandURL=kde4-kcalc.desktop
Type=MENUENTRY

[Data_1_2Conditions]
Comment=
ConditionsCount=0

[Data_1_2Triggers]
Comment=Simple_action
TriggersCount=1

[Data_1_2Triggers0]
Key=Launch (1)
Type=SHORTCUT
Uuid={35583608-4c32-4a18-a637-ecb886045959}

to /usr/share/khotkeys/defaults.khotkeys

Changed in kde-baseapps:
importance: Unknown → Wishlist
status: Unknown → New
Revision history for this message
In , Nroycea+kde (nroycea+kde) wrote :

I am finding this issue as well after a clean install of archlinux along with kcalc.

Settings->Shortcuts->"Global Shortcuts"->"KDE Daemon"->Calculator IS set to "Launch (1)" which IS correct, but still won't launch.

Adding in "Custom Shortcuts", Edit->New->"Global Shortcut"->Command/URL using "Launch (1)" and running "kcalc" DOES work.

Revision history for this message
In , Rplanchuelo (rplanchuelo) wrote :

I'm trying to assign a hotkey to run kcal directly but it don't work (it works actualy for others app)

Similar to others guys

Changed in kde-baseapps:
status: New → Unknown
Revision history for this message
In , Nate-b (nate-b) wrote :

This would need to be defined in KCalc's own .desktop file; moving there.

Revision history for this message
In , Bug-janitor (bug-janitor) wrote :

A possibly relevant merge request was started @ https://invent.kde.org/utilities/kcalc/-/merge_requests/43

Revision history for this message
In , Bug-janitor (bug-janitor) wrote :

A possibly relevant merge request was started @ https://invent.kde.org/utilities/kcalc/-/merge_requests/44

Changed in kde-baseapps:
status: Unknown → In Progress
Revision history for this message
In , Albert Astals Cid (aacid) wrote :

Git commit f5f967adb34b3c7eb03c0481294f56e51b4bf27d by Albert Astals Cid, on behalf of Paul Worrall.
Committed on 20/09/2022 at 20:52.
Pushed by aacid into branch 'master'.

Add global shortcut to launch kcalc

Adding the 'Launch (1)' shortcut key which Qt5 maps to XF86Calculator

M +4 -0 CMakeLists.txt
M +3 -0 org.kde.kcalc.desktop

https://invent.kde.org/utilities/kcalc/commit/f5f967adb34b3c7eb03c0481294f56e51b4bf27d

Changed in kde-baseapps:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.