Bug 445890

Summary: Panel edit controls disappear immediately after moving mouse over panel
Product: [Plasma] plasmashell Reporter: Matt Sharp <sharpshopter>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, niccolo.venerandi
Priority: NOR    
Version First Reported In: 5.23.3   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 5.90
Sentry Crash Report:

Description Matt Sharp 2021-11-22 03:19:50 UTC
SUMMARY
When trying to remove a widget from the panel, if I move the mouse anywhere over the panel the menu to do so briefly appears before disappearing along with the panel edit controls. The global menu to add widgets, edit wallpaper, etc. remains, as do the blue "padding" areas in the panel.


STEPS TO REPRODUCE
1. Right click on panel
2. Select "enter edit mode"
3. Move the mouse over the panel

OBSERVED RESULT
The menu for the widget briefly appears before immediately disappearing along with the panel edit controls.

EXPECTED RESULT
The menu for the widget should remain and allow the user to select an item from it.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I'm using a wayland session. This bug was also present in plasma 5.22

Here are the plasmashell logs for when this happens. 14:17:01 is when I click "enter edit mode". 14:17:05 is when I mouse over the panel.

Nov 22 14:17:01 gentoo plasmashell[199567]: QQmlComponent: Component is not ready
Nov 22 14:17:01 gentoo plasmashell[199567]: QQmlEngine::setContextForObject(): Object already has a QQmlContext
Nov 22 14:17:01 gentoo plasmashell[199567]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/panelconfiguration/ToolBar.qml:102:9: QML SpinBox: Binding loop detected for property "implicitWidth"
Nov 22 14:17:01 gentoo plasmashell[199567]: kde.plasmashell: Couldn't create KWindowShadow for PanelConfigView(0x5625dacfe110)
Nov 22 14:17:01 gentoo plasmashell[199567]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for PlasmaQuick::Dialog(0x5625dad71910)
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for PlasmaQuick::Dialog(0x5625dad71910)
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for PlasmaQuick::Dialog(0x5625dad71910)
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for PlasmaQuick::Dialog(0x5625dad71910)
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for PlasmaQuick::Dialog(0x5625dad71910)
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for PlasmaQuick::Dialog(0x5625dad71910)
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for PlasmaQuick::Dialog(0x5625dad71910)
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for PlasmaQuick::Dialog(0x5625dad71910)
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for PlasmaQuick::Dialog(0x5625dad71910)
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: file:///usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml:112:17: Unable to assign [undefined] to bool
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x5625d215c7c0)
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x5625d215c7c0)
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x5625d215c7c0)
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x5625d215c7c0)
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x5625d215c7c0)
Nov 22 14:17:05 gentoo plasmashell[199567]: kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x5625d215c7c0)
Comment 1 Nate Graham 2021-11-24 04:27:16 UTC
Oh dear, we've now tried many times to fix this but it keeps coming back. :/ I can't reproduce it myself anymore though.
Comment 2 Matt Sharp 2021-11-24 07:54:23 UTC
Well that's not what I wanted to hear.

So I tried a fresh boot with a single monitor (I usually have 3 with one of them rotated), and a brand new user, and was still able to reproduce the issue. What more info can I give to try to narrow down the issue?

I'll dump the stuff I can think of:
* Wayland plasma session
* Launched from GDM
* Using amdgpu driver from kernel 5.14.20
* GPU is RX 6800
* CPU is Ryzen 3700X

cmake line for plasma workspace:
cmake -C /tmp/portage/kde-plasma/plasma-workspace-5.23.3-r1/work/plasma-workspace-5.23.3_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DKDE_INSTALL_DOCBUNDLEDIR=/usr/share/help -DBUILD_xembed-sni-proxy=OFF -DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt5=ON -DCMAKE_DISABLE_FIND_PACKAGE_AppStreamQt=ON -DCMAKE_DISABLE_FIND_PACKAGE_KF5Holidays=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Fontconfig=OFF -DCMAKE_DISABLE_FIND_PACKAGE_KF5NetworkManagerQt=ON -DCMAKE_DISABLE_FIND_PACKAGE_KF5Baloo=ON -DCMAKE_DISABLE_FIND_PACKAGE_KUserFeedback=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/kde-plasma/plasma-workspace-5.23.3-r1/work/plasma-workspace-5.23.3_build/gentoo_toolchain.cmake  /tmp/portage/kde-plasma/plasma-workspace-5.23.3-r1/work/plasma-workspace-5.23.3

Any other tests I can do? Any other outputs/info I can post to help?
Comment 3 Nate Graham 2021-12-01 03:44:30 UTC
I wish I knew, sorry.

You say that the entire panel edit toolbar disappears too, though? That's a new one.
Comment 4 Matt Sharp 2021-12-01 05:02:39 UTC
(In reply to Nate Graham from comment #3)
> You say that the entire panel edit toolbar disappears too, though? That's a
> new one.

Yes. I'm not an expert of KDE terminology, but I will right click on the panel and click "enter edit mode", which brings up a white sizing bar, and a bar above that with buttons to "add widgets", "add spacer", etc. When I mouse over the panel, the menu briefly appears, and then all 3 items (resize bar, bar with "add widgets", and the widget edit menu) disappear. This is 100% reproducible.
Comment 5 Nate Graham 2021-12-01 18:24:27 UTC
Thanks. That is very strange.
Comment 6 Matt Sharp 2022-01-14 08:47:59 UTC
This issue no longer exists on frameworks 5.90.0
Comment 7 Nate Graham 2022-01-14 14:23:48 UTC
Yay Thanks for following up.