Bug 433645 - Can't assign shortcut key to launch Calculator
Summary: Can't assign shortcut key to launch Calculator
Status: RESOLVED DUPLICATE of bug 478936
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.21.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-26 09:12 UTC by Dan Dascalescu
Modified: 2024-03-26 18:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Dascalescu 2021-02-26 09:12:10 UTC
SUMMARY
I'm trying to assign a shortcut key to launch `plasmawindowed org.kde.plasma.calculator`, but no key combo triggers it. Running that command from the terminal does launch Calculator (after showing a number of errors)[1].

STEPS TO REPRODUCE
1. Open KDE Menu Editor
2. New Item... somewhere
3. Set the Command to plasmawindowed org.kde.plasma.calculator
4. In the Advanced tab, set the Current shortcut key to Meta+C, Ctrl+Alt+C etc.
5. Click Save

OBSERVED RESULT
Pressing the shortcut key combination does not launch Calculator.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 1 Dan Dascalescu 2021-02-26 11:41:08 UTC
[1]: the output from launching plasmawindowed org.kde.plasma.calculator

kf.plasma.quick: Applet preload policy set to 1
kf.plasma.core: requesting config for "Calculator" without a containment!
QXcbClipboard::setMimeData: Cannot set X11 selection owner
qt.svg: <input>:406:376: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:407:130: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:408:130: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:408:393: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:409:130: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:410:129: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:411:129: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:412:129: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:413:129: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:413:379: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:413:631: Could not add child element to parent element because the types are incorrect.
file:///usr/share/plasma/plasmoids/org.kde.plasma.calculator/contents/ui/calculator.qml:237:5: QML Connections: Detected function "onPopupEvent" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
file:///usr/share/plasma/plasmoids/org.kde.plasma.calculator/contents/ui/calculator.qml:40:5: Unable to assign [undefined] to QString
qml: 0
trying to show an empty dialog
<Unknown File>:1: TypeError: Cannot read property 'Layout' of null
QObject::disconnect: Unexpected nullptr parameter
Comment 2 Nate Graham 2021-02-26 16:19:30 UTC
Confirmed. Possibly a kglobalaccel issue.
Comment 3 Nate Graham 2024-03-26 18:43:19 UTC
Ah, this was fixed in the megarelease, but it requires Qt 6.6.3 or later.

*** This bug has been marked as a duplicate of bug 478936 ***