Bug 465705 - plasmashell can't start any application
Summary: plasmashell can't start any application
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.5
Platform: Manjaro Linux
: NOR grave
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2023-02-14 11:29 UTC by v
Modified: 2023-03-06 19:22 UTC (History)
5 users (show)

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


Attachments
plasma-org.kde.plasma.desktop-appletsrc (1.88 MB, text/plain)
2023-02-15 10:43 UTC, v
Details

Note You need to log in before you can comment on or make changes to this bug.
Description v 2023-02-14 11:29:50 UTC
SUMMARY
***
when I start plasma in x11 the panel appears like it should and behaves like it should. Clicking on a application shortcut will show the normal animation, but the application will never start. Adding a new panel, clicking a notification shortcut or doing any other action that would invoke in plasmashell starting a program stopped working. If I start a program by terminal or other means, they work fine.

Restarting plasmashell to see the terminal output shows the following error when trying to start something: `file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:433: Unable to assign [undefined] to QString`

nothing else comes up

If I use Wayland, plasmashell works like it should.
***


STEPS TO REPRODUCE
1. Boot the computer in x11 plasma
2. try to start a program through plasmashell


OBSERVED RESULT
plasmashell fails to invoke a program

EXPECTED RESULT
should open the program that was selected

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.26.5 Plasma on Manjaro
Comment 1 v 2023-02-14 12:54:12 UTC
I notice now that something is really wrong with plasmashell as it is using up 3,2GB of RAM after start.
Comment 2 Nate Graham 2023-02-14 17:02:21 UTC
Can you try upgrading to Plasma 5.27 and see if it works now?
Comment 3 Fushan Wen 2023-02-14 17:15:03 UTC
What apps are pinned on the task manager?
Comment 4 v 2023-02-15 10:19:13 UTC
pinned apps are: Kontact, vivaldi-stable, konsole, dolphin, firefox, blender and obsidian


There is no plasma 5.27 available even if I switch to unstable. I can't test this version.
Comment 5 v 2023-02-15 10:21:53 UTC
I should clarify though: starting apps through the application launcher does not work either. Also if I right click on Desktop and select 'Configure Display Settings' - which should open up the system settings - that will fail to launch too.
Comment 6 Nate Graham 2023-02-15 10:27:34 UTC
It sounds like something very deep in your system is broken.

Does `kcmshell5 kscreen` run in a terminal window work?

Does `kstart5 kcmshell5 kscreen` run in a terminal window work?

Please paste the output for each command.
Comment 7 v 2023-02-15 10:34:57 UTC
```
kcmshell5 kscreen
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/lib/qt/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/qt/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/qt/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/qt/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
```

```
kstart5 kcmshell5 kscreen
Omitting both --window and --windowclass arguments is not recommended
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/lib/qt/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/qt/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/qt/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/qt/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
```



Both commands opened the application to adjust my monitors
Comment 8 Nate Graham 2023-02-15 10:36:49 UTC
Thanks.

Can you run Plasma in a terminal window with `plasmashell --replace` and try to launch an app? Paste the error message when it appears in the terminal window?
Comment 9 Antonio Rojas 2023-02-15 10:37:59 UTC
Please attach your plasma-org.kde.plasma.desktop-appletsrc
Comment 10 v 2023-02-15 10:43:45 UTC
Created attachment 156263 [details]
plasma-org.kde.plasma.desktop-appletsrc

attached the requested file

opening an application -> spinning animation starts -> terminal shows `file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:433: Unable to assign [undefined] to QString` -> animation stops and application did not start
Comment 11 v 2023-02-15 10:52:53 UTC
having a look at the plasma-org.kde.plasma.desktop-appletsrc myself I removed the 

[ScreenMapping]
itemsOnDisabledScreens=...


section. This seems to resolve the issue I was having
Comment 12 Antonio Rojas 2023-02-15 10:53:23 UTC
(In reply to v from comment #10)
> Created attachment 156263 [details]
> plasma-org.kde.plasma.desktop-appletsrc
> 
> attached the requested file

Delete the [ScreenMapping] section and restart plasmashell
Comment 13 Nate Graham 2023-03-06 19:22:09 UTC
*** Bug 466261 has been marked as a duplicate of this bug. ***