Bug 462452

Summary: "New Kate Session" item does not create a new session
Product: [Unmaintained] kdeplasma-addons Reporter: Paul Worrall <p.r.worrall>
Component: Kate SessionsAssignee: Alexander Lohnau <alexander.lohnau>
Status: RESOLVED FIXED    
Severity: normal CC: alexander.lohnau, christoph, nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.26
Sentry Crash Report:

Description Paul Worrall 2022-11-30 17:52:40 UTC
STEPS TO REPRODUCE
1.  Click "New Kate Session"
2. Enter a name in the box and click the tick button

OBSERVED RESULT
The Kate session chooser dialogue opens with no new session.

EXPECTED RESULT
Kate opens with a default session named as requested

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Graphics Platform: X11

ADDITIONAL INFORMATION
In Plasma 5.26 there were two Kate Session plasmoids, one had the expected result and the other had the observed result (bug #460275).  On 5.26.80 it looks like the wrong one was removed.
Comment 1 Bug Janitor Service 2022-12-07 18:47:57 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/290
Comment 2 Alexander Lohnau 2022-12-08 17:38:35 UTC
Git commit d70cfca6264e3b139342854a556bd7d9a5a01b13 by Alexander Lohnau.
Committed on 08/12/2022 at 17:38.
Pushed by alex into branch 'master'.

KateSessionsItemDelegate: Fix reference to signal parameter

Otherwise, we get an undefined value and ignore the user input.
For best practice, the signal handler has been ported to the functional approach

M  +1    -1    applets/katesessions/contents/ui/KateSessionsItemDelegate.qml
M  +3    -1    applets/katesessions/contents/ui/Menu.qml

https://invent.kde.org/plasma/kdeplasma-addons/commit/d70cfca6264e3b139342854a556bd7d9a5a01b13
Comment 3 Alexander Lohnau 2022-12-08 17:39:05 UTC
Git commit 3978569850d26527e7d177a11ac389348c70668b by Alexander Lohnau.
Committed on 08/12/2022 at 17:39.
Pushed by alex into branch 'Plasma/5.26'.

KateSessionsItemDelegate: Fix reference to signal parameter

Otherwise, we get an undefined value and ignore the user input.
For best practice, the signal handler has been ported to the functional approach


(cherry picked from commit d70cfca6264e3b139342854a556bd7d9a5a01b13)

M  +1    -1    applets/katesessions/contents/ui/KateSessionsItemDelegate.qml
M  +3    -1    applets/katesessions/contents/ui/Menu.qml

https://invent.kde.org/plasma/kdeplasma-addons/commit/3978569850d26527e7d177a11ac389348c70668b