Bug 481656

Summary: Dragging an icon from the menu to the desktop crashes plasmashell
Product: [Plasma] plasmashell Reporter: Kotori Itsuka <cmdrkotori2>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: bugseforuns, dougshaw77, kde, nate, nicolas.fella
Priority: NOR    
Version First Reported In: 5.93.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Backtrace of crash

Description Kotori Itsuka 2024-02-22 06:09:09 UTC
Created attachment 165995 [details]
Backtrace of crash

SUMMARY
Dragging an icon (Firefox in this case) from the menu to the desktop results in a crash

STEPS TO REPRODUCE
1. Open menu
2. Drag item to desktop

OBSERVED RESULT
Plasmashell crashes

EXPECTED RESULT
Item appears as a desktop entry/icon on the desktop

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6500 XT

ADDITIONAL INFORMATION
According the attached backtrace, it appears that while processing the drag event the the this variable of the qurl is null.
I went back through the stack trace until it became apparent that it was evaluating javascript.
Comment 1 Nate Graham 2024-02-22 16:37:56 UTC
Cannot reproduce the issue with Qt 6.6, FWIW.
Comment 2 Patrick Silva 2024-02-23 01:52:11 UTC
Can reproduce on both Arch Linux (Plasma 6 RC2) and neon unstable if desktop is set to desktop mode, not folder view.
Comment 3 Nate Graham 2024-02-23 21:31:54 UTC
Interesting, still cannot reproduce when dragging the Firefox icon to desktop view. Maybe it really is a Qt 6.7 issue.
Comment 4 Doug 2024-02-24 06:42:09 UTC
Cannot reproduce with folder view or desktop mode.

Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-21-generic (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon Pro WX 3200 Series
Comment 5 Kotori Itsuka 2024-05-10 10:06:16 UTC
Doesn't happen any more.