Bug 503715

Summary: active playlist cannot be shown after restarting elisa with qml/ContextView.qml:136: TypeError: Cannot call method 'open' of null
Product: [Applications] Elisa Reporter: Marco Mattiolo <marco.mattiolo>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED FIXED    
Severity: normal CC: john.kizer
Priority: NOR    
Version First Reported In: 24.12.3   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Marco Mattiolo 2025-05-03 16:15:50 UTC
SUMMARY
Hi and thank you for developing Elisa! This issue is happening on a mobile device (op6-enchilada) with Mobian and Plasma mobile environment.

STEPS TO REPRODUCE
1. open Elisa, select an artist and create playlist out of their songs, then close Elisa
2. re-open Elisa, the "Now playing" screen shows the active song, playback and jumping to next track works
3. tap on the top right "Show Playlist" button

OBSERVED RESULT
nothing happens on the screen, while on the terminal following line gets printed everytime the "Show Playlist" button is tapped

qrc:/qt/qml/org/kde/elisa/qml/ContextView.qml:136: TypeError: Cannot call method 'open' of null

that I think is suggesting that playlistDrawer lost the context on the active playlist on Elisa being closed and then restarted
(ref. https://invent.kde.org/multimedia/elisa/-/blob/v24.12.3/src/qml/ContextView.qml?ref_type=tags#L136 )

EXPECTED RESULT
active playlist to be shown

SOFTWARE/OS VERSIONS
Linux: 6.12-qcom
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Comment 1 John Kizer 2025-05-08 19:14:10 UTC
Hi - I can't reproduce this issue on my Fedora KDE 42 device using Elisa 25.04.0 - could you please see if this issue still occurs using version 25.04.0 on your device?

Thanks!
Comment 2 Marco Mattiolo 2025-05-17 20:13:51 UTC
25.04.0 migrated to Debian testing in the meanwhile and... yes, the issue is no more there!

Glad to see it solved, closing