Bug 503715 - active playlist cannot be shown after restarting elisa with qml/ContextView.qml:136: TypeError: Cannot call method 'open' of null
Summary: active playlist cannot be shown after restarting elisa with qml/ContextView.q...
Status: RESOLVED FIXED
Alias: None
Product: Elisa
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.3
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-03 16:15 UTC by Marco Mattiolo
Modified: 2025-05-17 20:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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