Summary: | Clicking the close button in Overview/Window View/Present Windows effects always fails for the second time | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Fushan Wen <qydwhotmail> |
Component: | effects-overview | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | nate, zawertun |
Priority: | NOR | Flags: | qydwhotmail:
X11+
|
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Fushan Wen
2022-04-22 13:10:41 UTC
We have a lot of weird click rejection issues in the Overview effect that only seem to affect people on X11. *** This bug has been marked as a duplicate of bug 451150 *** *** This bug has been marked as a duplicate of bug 451450 *** *** This bug has been marked as a duplicate of bug 454275 *** (In reply to Nate Graham from comment #1) > We have a lot of weird click rejection issues in the Overview effect that > only seem to affect people on X11. It's not only click but key press rejection as well. And it's happend only on combination NVidia + X11 (on Intel all is fine). Happens to me with plasma-5.25.5. While trying to press keyboard keys I see this messages in journalctl (for kwin_x11 process): ``` Sep 20 10:05:00 rapidus kwin_x11[3047]: file:///usr/lib64/qt5/qml/org/kde/kwin/private/effects/WindowHeap.qml:56:9: Unable to assign null to QUuid Sep 20 10:05:00 rapidus kwin_x11[3047]: file:///usr/lib64/qt5/qml/org/kde/kwin/private/effects/WindowHeap.qml:56:9: Unable to assign null to QUuid Sep 20 10:05:02 rapidus kwin_x11[3047]: file:///usr/share/kwin/effects/overview/qml/ScreenView.qml: Writing to "client" broke the binding to the underlying model Sep 20 10:05:09 rapidus kwin_x11[3047]: file:///usr/lib64/qt5/qml/org/kde/kwin/private/effects/WindowHeap.qml:56:9: Unable to assign null to QUuid Sep 20 10:05:09 rapidus kwin_x11[3047]: file:///usr/lib64/qt5/qml/org/kde/kwin/private/effects/WindowHeap.qml:56:9: Unable to assign null to QUuid ``` This patch fixes issue for me: ``` --- /usr/lib64/qt5/qml/org/kde/kwin/private/effects/WindowHeap.qml.orig 2022-09-20 10:23:00.392314248 +0300 +++ /usr/lib64/qt5/qml/org/kde/kwin/private/effects/WindowHeap.qml 2022-09-20 10:23:12.725415620 +0300 @@ -53,7 +53,7 @@ z: 2 property KWinComponents.WindowThumbnailItem cloneOf visible: false - wId: cloneOf ? cloneOf.wId : null + wId: cloneOf ? cloneOf.wId : "00000000-0000-0000-0000-000000000000" width: cloneOf ? cloneOf.width : 0 height: cloneOf ? cloneOf.height : 0 onCloneOfChanged: { ``` (In reply to Yaroslav Sidlovsky from comment #6) > This patch fixes issue for me: > ``` > --- /usr/lib64/qt5/qml/org/kde/kwin/private/effects/WindowHeap.qml.orig > 2022-09-20 10:23:00.392314248 +0300 > +++ /usr/lib64/qt5/qml/org/kde/kwin/private/effects/WindowHeap.qml > 2022-09-20 10:23:12.725415620 +0300 > @@ -53,7 +53,7 @@ > z: 2 > property KWinComponents.WindowThumbnailItem cloneOf > visible: false > - wId: cloneOf ? cloneOf.wId : null > + wId: cloneOf ? cloneOf.wId : "00000000-0000-0000-0000-000000000000" > width: cloneOf ? cloneOf.width : 0 > height: cloneOf ? cloneOf.height : 0 > onCloneOfChanged: { > ``` FTR we fixed that in 5.26. https://invent.kde.org/plasma/kwin/-/blob/d6234d0411401a55ca700c75f6425e6f3fbfc4d6/src/effects/private/qml/WindowHeap.qml#L72 |