Bug 428001

Summary: plasmashell --- reverse causes serious KDE upset
Product: [Plasma] plasmashell Reporter: Gerry Gavigan <gerrysw11>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: crash CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.20.0   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
URL: https://drive.google.com/file/d/1Qt7FZLQSOW9T6m5ejpA1gmrkeSYtoeDK/view?usp=sharing
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: command setup
after command execution
after login
initial success
after KDE cras

Description Gerry Gavigan 2020-10-19 20:18:26 UTC
SUMMARY

A fifteen year old request for a right-to-left desktop was marked as solved by running the command plasmashell --reverse


STEPS TO REPRODUCE
1. run command


OBSERVED RESULT

on a ryzen based desktop generates a plasma segfault,

on an Intel based laptop the icons on the task manager are reduced to 25% of their original size and into two rows.

access lost to certain commands on both, e.g., "konsole" "kate"   

on both normal behaviour requires a computer restart

EXPECTED RESULT

right-to-left desktop? 

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.20
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Gerry Gavigan 2020-10-19 20:21:12 UTC
KDE frameworks 5.75.0
Qt 5.15.1
Comment 2 David Edmundson 2020-10-19 21:08:20 UTC
>access lost to certain commands on both, e.g., "konsole" "kate"   

In what way.

Things seem fine here. Please include a screenshot.
Comment 3 Gerry Gavigan 2020-10-20 10:51:27 UTC
Created attachment 132582 [details]
command setup

showing first step
Comment 4 Gerry Gavigan 2020-10-20 10:53:04 UTC
Created attachment 132583 [details]
after command execution

showing status after command execution but before logging out and logging in again
Comment 5 David Edmundson 2020-10-20 10:55:52 UTC
Those screenshots didn't show anything. You didn't start anything, plasmashell was already running so that command will just do nothing.

plasmashell --replace --reverse
Comment 6 Gerry Gavigan 2020-10-20 10:57:43 UTC
Created attachment 132584 [details]
after login

This is a photo of the screen as now no commands work. I'll post a URL to a short video demonstrating that next
Comment 7 Gerry Gavigan 2020-10-20 11:04:47 UTC
here's a small video showing the KDE command fail subsequent to the execution of plasmashell

after a reboot everything is OK again.

This is all from the Intel laptop. It's running a many times refreshed Tumbleweed

I cannot demonstrate so easily the fail on the desktop Ryzen system as the fail is more spectactular - total loss of plasma and KDE
Comment 9 David Edmundson 2020-10-20 11:12:01 UTC
>here's a small video showing the KDE command fail subsequent to the execution of plasmashell

I'm still a bit confused. That didn't look reversed. How does --reverse relate to that video.
Comment 10 Gerry Gavigan 2020-10-20 11:13:58 UTC
(In reply to David Edmundson from comment #5)
> Those screenshots didn't show anything. You didn't start anything,
> plasmashell was already running so that command will just do nothing.
> 
> plasmashell --replace --reverse


sorry, just following instructions: comment 8 of 

https://bugs.kde.org/show_bug.cgi?id=56317

as I indicated in the summary of my bug report
Comment 11 Gerry Gavigan 2020-10-20 11:22:42 UTC
Created attachment 132585 [details]
initial success

after execuction of command initial success
Comment 12 Gerry Gavigan 2020-10-20 11:25:09 UTC
Created attachment 132586 [details]
after KDE cras

peculiarly screen capture still worked
Comment 13 Gerry Gavigan 2020-10-20 11:26:08 UTC
This was all on my Ryzen desktop - I haven't tried on Intel laptop yet

gerry@Unknown-b4-2e-99-e9-04-99-5:~> plasmashell --replace --reverse
kf.plasma.quick: Applet preload policy set to 1
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
trying to show an empty dialog
kf.package: No metadata file in the package, expected it at: "/home/gerry/Pictures/"
kf.package: No metadata file in the package, expected it at: "/home/gerry/Pictures/"
kf.package: No metadata file in the package, expected it at: "/home/gerry/Pictures/"
Cyclic dependency detected between "file:///usr/lib64/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml" and "file:///usr/lib64/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml"
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.coreaddons: KDirWatch: "/usr/share/wallpapers/Next" is a directory. Use addDir!
kf.coreaddons: KDirWatch: "/usr/share/wallpapers/openSUSEdefault" is a directory. Use addDir!
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
Plasma Shell startup completed
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:524:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:483:13: QML Label: Binding loop detected for property "height"
trying to show an empty dialog
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
trying to show an empty dialog
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:30:1: QML DropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:483:13: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:524:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:544:5: QML Label: Binding loop detected for property "height"
trying to show an empty dialog
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
libkcups: CUPS-Get-Printers last error: 0 successful-ok
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
plasma-pk-updates: Is net online: false
plasma-pk-updates: Is net mobile: false
plasma-pk-updates: Is net online: false
plasma-pk-updates: Is on battery: true
file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:53:17: Unable to assign [undefined] to int
file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlasmoidHeading.qml:59:9: Unable to assign [undefined] to int
libkcups: 3 "HL-1110-series"
libkcups: 3 "HL1110"
libkcups: 0
libkcups: 0
plasma-pk-updates: Is net mobile: false
plasma-pk-updates: Is net online: true
plasma-pk-updates: Is net online: true
plasma-pk-updates: Daemon changed
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
plasma-pk-updates: Is net mobile: false
plasma-pk-updates: Is net online: true
plasma-pk-updates: Is net online: true
plasma-pk-updates: Daemon changed
plasma-pk-updates: acPlugged initial state true
plasma-pk-updates: Is on battery: false
file:///usr/share/plasma/plasmoids/org.kde.plasma.devicenotifier/contents/ui/devicenotifier.qml:171: TypeError: Cannot read property 'added' of undefined
org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_09_00.6.analog-stereo.monitor"
file:///usr/lib64/qt5/qml/org/kde/plasma/components.3/ComboBox.qml:138:13: Unable to assign [undefined] to QQmlComponent*
file:///usr/lib64/qt5/qml/org/kde/plasma/extras/ExpandableListItem.qml:314: TypeError: Cannot read property 'width' of null
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
KAStatsFavoritesModel::setFavorites is ignored
Entry is not valid "kontact.desktop" QSharedPointer(0x55c4f55aac20)
Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x55c4f55afc80)
Entry is not valid "kontact.desktop" QSharedPointer(0x55c4f55afc80)
Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x55c4f55afd80)
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/FullRepresentation.qml:356: ReferenceError: headerSeparator is not defined
trying to show an empty dialog
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
plasma-pk-updates: Is net online: true
plasma-pk-updates: Is net online: true
plasma-pk-updates: Is net online: true
plasma-pk-updates: Is net online: true
file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:223:13: QML CheckBox: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:233:13: QML Label: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:244:13: QML MouseArea: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:264:9: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:278:9: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:292:9: QML BusyIndicator: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qml: Populating model
file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:264:9: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:278:9: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:292:9: QML BusyIndicator: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/DeviceItem.qml:32:5: Unable to assign [undefined] to bool
file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/FullRepresentation.qml:105:13: Unable to assign [undefined] to QQuickAction*
file:///usr/lib64/qt5/qml/org/kde/plasma/extras/ExpandableListItem.qml:314: TypeError: Cannot read property 'width' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/DeviceItem.qml:32:5: Unable to assign [undefined] to bool
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
trying to show an empty dialog
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
file:///usr/lib64/qt5/qml/org/kde/plasma/components/ModelContextMenu.qml:38:1: QML ModelContextMenu: Accessible must be attached to an Item
trying to show an empty dialog
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
file:///usr/share/plasma/plasmoids/org.kde.plasma.printmanager/contents/ui/PrinterItem.qml:49:5: Unable to assign [undefined] to bool
file:///usr/share/plasma/plasmoids/org.kde.plasma.printmanager/contents/ui/PopupDialog.qml:91:17: Unable to assign [undefined] to QString
file:///usr/lib64/qt5/qml/org/kde/plasma/extras/ExpandableListItem.qml:314: TypeError: Cannot read property 'width' of null
file:///usr/lib64/qt5/qml/org/kde/plasma/extras/ExpandableListItem.qml:314: TypeError: Cannot read property 'width' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.printmanager/contents/ui/PrinterItem.qml:49:5: Unable to assign [undefined] to bool
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
trying to show an empty dialog
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/UrlItemDelegate.qml:60: Error: Invalid write to global property "pixmap"
file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlasmoidHeading.qml:59:9: Unable to assign [undefined] to int
qrc:/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml:549:39: QML DeviceListItem: Binding loop detected for property "width"
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
kf.plasma.core: findInCache with a lastModified timestamp of 0 is deprecated
Comment 14 Gerry Gavigan 2020-10-20 11:28:04 UTC
cntl-alt-backspace x2 restores system to right-handed normality
Comment 15 Gerry Gavigan 2020-10-20 11:30:58 UTC
(In reply to David Edmundson from comment #5)
> Those screenshots didn't show anything. You didn't start anything,
> plasmashell was already running so that command will just do nothing.
> 
> plasmashell --replace --reverse

"after login" shows the icon size change, the video shows loss of functionality (see RHS)
Comment 16 Bug Janitor Service 2020-11-04 04:33:34 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 17 Christoph Feck 2020-11-05 03:19:31 UTC
New information was added with comment 15; changing status for inspection.
Comment 18 Nate Graham 2021-02-26 22:13:27 UTC
The video no longer exists, and I'm just as confused as David. `plasmashell --replace --reverse` doesn't have this negative effect for me. Everything looks fine. Can you attach a new video, or re-attach the old one? Thanks
Comment 19 Gerry Gavigan 2021-03-01 13:00:10 UTC
The difficulty was caused by a small error in the advice given in response to the 15 yr old request for left-handedness, it did not include --replace and I didn't know any better