Bug 489897

Summary: Plasmashell crashes when dragging and dropping an app with a custom icon
Product: [Plasma] plasmashell Reporter: Ismael Gallo <igallomunoz>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: akselmo
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ismael Gallo 2024-07-07 22:55:38 UTC
SUMMARY
I recently changed the icon of an app to a custom one located in .local/share/icons. When I try to drag and drop the app from the app launcher to the desktop, Plasma crashes.

STEPS TO REPRODUCE

    Open the app launcher.
    Drag and drop an app with a custom icon.
    Plasma crashes and restarts.

OBSERVED RESULT
Plasma unexpectedly crashes.

EXPECTED RESULT
The drag and drop action should work without causing a crash.

SOFTWARE/OS VERSIONS

    Linux/KDE Plasma: 6.1.2
    KDE Plasma Version: 6.1.2
    KDE Frameworks Version: 6.3.0
    Qt Version: 6.7.2
    Display Protocol: Wayland

ADDITIONAL INFORMATION
I launched plasmashell via the terminal and observed the following logs:

Arrived mimeData QList(QUrl("file:///home/ismael/.local/share/applications/vesktop.desktop")) QList("text/uri-list") at 424, 628
Mimetype Job returns. "application/x-desktop"
KPackageStructure of KPluginMetaData(pluginId:"org.kde.graphsplasmoid", fileName: "/usr/share/plasma/plasmoids/org.kde.graphsplasmoid/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kclock_1x2/metadata.json") does not match requested format "Plasma/Applet"
Received a suitable dropEvent at QPoint(424, 628)
Bailing out. Cannot find associated dropEvent related to the TransferJob
Creating menu for: "application/x-desktop"
KPackageStructure of KPluginMetaData(pluginId:"org.kde.graphsplasmoid", fileName: "/usr/share/plasma/plasmoids/org.kde.graphsplasmoid/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kclock_1x2/metadata.json") does not match requested format "Plasma/Applet"
xdg_wm_base#3: error 3: no xdg_popup parent surface has been specified
The Wayland connection experienced a fatal error: protocol error
Comment 1 Ismael Gallo 2024-07-08 14:35:35 UTC
Now it's happening with any app, not just the ones with a custom icon.
Comment 2 Akseli Lahtinen 2024-07-11 11:14:04 UTC
Hi, can you get a backtrace for this crash? See: https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Backtraces

Thanks!
Comment 3 Bug Janitor Service 2024-07-26 03:46:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-08-10 03:46:48 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.