Bug 468493 - Kwin 5.27.4.1 hangs windows in wayland
Summary: Kwin 5.27.4.1 hangs windows in wayland
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.4
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2023-04-14 07:41 UTC by dictionary
Modified: 2023-04-18 09:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dictionary 2023-04-14 07:41:55 UTC
SUMMARY
Updating to kwin 5.27.4.1 from 5.27.4 provokes a window management hang under Wayland.


STEPS TO REPRODUCE
1. Install latest system updates on Kde Neon
2. Reboot
3. Open any application

OBSERVED RESULT
The application opening hangs for ~20sec , same when closing the application.

###The faulty kwin-x11:
$ apt-cache policy kwin-x11
kwin-x11:
  Installed: 4:5.27.4.1-0xneon+22.04+jammy+release+build35
  Candidate: 4:5.27.4.1-0xneon+22.04+jammy+release+build35
  Version table:
 *** 4:5.27.4.1-0xneon+22.04+jammy+release+build35 500
        500 http://archive.neon.kde.org/user jammy/main amd64 Packages
        100 /var/lib/dpkg/status
     4:5.27.4-0xneon+22.04+jammy+release+build34 500
        500 http://archive.neon.kde.org/user jammy/main amd64 Packages
     4:5.27.3-0xneon+22.04+jammy+release+build33 500
        500 http://archive.neon.kde.org/user jammy/main amd64 Packages
     4:5.27.2-0xneon+22.04+jammy+release+build32 500
        500 http://archive.neon.kde.org/user jammy/main amd64 Packages
     4:5.27.1-0xneon+22.04+jammy+release+build31 500
        500 http://archive.neon.kde.org/user jammy/main amd64 Packages
     4:5.24.7-0ubuntu0.1 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
     4:5.24.4-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages


###The syslog when opening an app:
Apr 13 12:41:51 host kwin_wayland[1368]: message repeated 2 times: [ kwin_core: Could not find window with uuid "{db0155da-6cc2-4891-991c-a028d7680acd}"]
Apr 13 12:42:23 host plasmashell[1480]: QString::arg: 2 argument(s) missing in systemsettings
Apr 13 12:42:23 host systemsettings[245120]: file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "width"
Apr 13 12:42:23 host systemsettings[245120]: file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "width"
Apr 13 12:42:23 host systemsettings[245120]: QQmlEngine::setContextForObject(): Object already has a QQmlContext
Apr 13 12:42:24 host systemsettings[245120]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

###And when closing it:
Apr 13 12:42:48 host kwin_wayland[1368]: kwin_core: Could not find window with uuid "{709aa892-9802-405f-8928-f6aef7b8006d}"

EXPECTED RESULT
Almost immediate application window opening.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 5.27
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
The problem was solved downgrading to 5.27.4 libkwinglutils14, libkwineffects14, kwin-wayland, kwin-x11, kwin-data, kwin-common.
I'm using a laptop with 2 screens (external monitor).
Comment 1 dictionary 2023-04-18 09:33:55 UTC
Updating again to the same version, the problem is gone... I don't know what was wrong the first time.