https://bugs.kde.org/show_bug.cgi?id=473927
Bug ID: 473927 Summary: plasmashell crashed when clicking Properties on a Firefox icon with an enviroment variable its the Program field Classification: Plasma Product: plasmashell Version: 5.27.7 Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: generic-crash Assignee: plasma-b...@kde.org Reporter: matt.fagn...@bell.net Target Milestone: 1.0 SUMMARY I'm running Plasma 5.27.7 on Wayland in a Fedora 39 KDE Plasma installation. I created a new icon for the upstream Firefox 117.0 by right-clicking on the desktop filling in the names, icon, and the program path. When I clicked on the new icon, FIrefox started on XWayland. I right-clicked on the Firefox icon, selected Properties, and added MOZ_ENABLE_WAYLAND=1 to the Program field. When I clicked on the Firefox icon again, Firefox didn't start. I right-clicked on the Firefox icon, and selected Properties. plasmashell crashed and the screen went black for a second or so before it restarted. The journal showed errors like the following. Aug 29 22:35:40 plasmashell[11346]: Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls") Aug 29 22:35:50 kioslave5[11374]: QObject::connect: No such slot DesktopProtocol::_k_slotRedirection(KIO::Job *, QUrl) Aug 29 22:35:50 plasmashell[11346]: KCrash: Application 'plasmashell' crashing... Aug 29 22:35:50 plasmashell[11346]: KCrash: Attempting to start /usr/libexec/drkonqi Aug 29 22:35:50 drkonqi[11429]: kf5idletime_wayland: This plugin does not support polling idle time Aug 29 22:35:51 systemd[8974]: plasma-plasmashell.service: Main process exited, code=exited, status=253/n/a Aug 29 22:35:51 systemd[8974]: plasma-plasmashell.service: Failed with result 'exit-code'. Aug 29 22:35:51 systemd[8974]: plasma-plasmashell.service: Consumed 8.740s CPU time. Aug 29 22:35:51 systemd[8974]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 3. Aug 29 22:35:51 systemd[8974]: Starting plasma-plasmashell.service - KDE Plasma Workspace... Aug 29 22:35:52 systemd[8974]: Started plasma-plasmashell.service - KDE Plasma Workspace. drkonqi tried to start but didn't appear. No core dumps were shown in coredumpctl or the journal. This type of crash has happened each of several times I've tried to click on Properties with MOZ_ENABLE_WAYLAND=1 to the Program field. I knew but forgot that MOZ_ENABLE_WAYLAND=1 should be added to the Enviroment Variables field in Properties. STEPS TO REPRODUCE 1. Boot a Fedora 39 KDE Plasma installation updated to 2023-8-29 with the updates-testing repo enabled 2. Log in to Plasma on Wayland 3. Right-click on the desktop background 4. Click Create New in the context menu 5. Click Link to Application 6. Select the Application tab 7. Enter MOZ_ENABLE_WAYLAND=1 firefox in the Program field 8. Select OK 9. Right-click on the new Firefox icon 10. Select Properties I was using the upstream Firefox 117.0 which can be downloaded from https://www.mozilla.org/en-US/firefox/all/#product-desktop-release You can try using that instead if making a new icon for the Fedora firefox doesn't lead to the crash. OBSERVED RESULT plasmashell crashed when clicking Properties on a Firefox icon with an enviroment variable its the Program field EXPECTED RESULT plasmashell wouldn't crash. The Properties of the icon would be shown. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 39 (available in About System) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.