Bug 462581 - kwin_wayland hangs for ~10 seconds when opening "Configure special application settings' window
Summary: kwin_wayland hangs for ~10 seconds when opening "Configure special applicatio...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-03 12:12 UTC by Patrick Silva
Modified: 2024-06-10 10:36 UTC (History)
3 users (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 Patrick Silva 2022-12-03 12:12:20 UTC
STEPS TO REPRODUCE
1. use Wayland
2. open an app
3. right-click on the window decoration, hover over 'More actions' and choose "Configure special application settings...' 

OBSERVED RESULT
kwin_wayland hangs for ~10 seconds. Even the mouse pointer freezes.
After ~10 seconds, kwin_wayland unhungs and the "Configure special application settings...' window opens.

EXPECTED RESULT
kwin_wayland should not hang

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Graphics Platform: Wayland
Comment 1 Nicolas Fella 2022-12-04 14:16:55 UTC
Works okay for me. 

Could you measure how long it takes exactly? Is it always the same or varying?
Comment 2 Patrick Silva 2022-12-04 14:48:01 UTC
It varies between 5 and 13 seconds, and I can't reproduce consistently. I need to repeat the provided steps a few times.
Comment 3 Patrick Silva 2022-12-04 17:00:43 UTC
I see these messages in the journal log when the bug occurs:

dez 04 13:58:59 Arch-PC kwin_wayland[1869]: This plugin does not support raise()
dez 04 13:58:59 Arch-PC kwin_wayland[1869]: This plugin does not support grabbing the keyboard
dez 04 13:59:00 Arch-PC kwin_wayland[1869]: This plugin does not support raise()
dez 04 13:59:02 Arch-PC kwin_wayland[1869]: This plugin does not support grabbing the keyboard
dez 04 13:59:08 Arch-PC kwin_rules_dialog[11046]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
dez 04 13:59:08 Arch-PC kwin_rules_dialog[11046]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
dez 04 13:59:08 Arch-PC kwin_rules_dialog[11046]: file:///usr/share/kpackage/kcms/kcm_kwinrules/contents/ui/main.qml:64:13: QML InlineMessage: Cannot anchor to an item that isn't a parent or sibling.
dez 04 13:59:09 Arch-PC kwin_rules_dialog[11046]: file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/InlineMessage.qml:270:9: QML ActionToolBar: Binding loop detected for property "atBottom"
dez 04 13:59:09 Arch-PC kwin_rules_dialog[11046]: Retrieved properties for window QUuid("{71239c98-6d4d-4c0f-8deb-a19052ed9101}")
dez 04 13:59:09 Arch-PC kwin_rules_dialog[11046]: file:///usr/share/kpackage/kcms/kcm_kwinrules/contents/ui/RulesEditor.qml:69:13: QML ColumnLayout: Cannot anchor to an item that isn't a parent or sibling.
dez 04 13:59:09 Arch-PC kwin_rules_dialog[11046]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
dez 04 13:59:09 Arch-PC kwin_rules_dialog[11046]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
dez 04 13:59:09 Arch-PC kwin_rules_dialog[11046]: file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/OverlaySheet.qml:603:17: QML ColumnLayout: Binding loop detected for property "height"
Comment 4 Patrick Silva 2022-12-04 17:54:20 UTC
Can reproduce consistently with these steps:
1. open an app
2. right-click on the window decoration, hover over 'More actions' and choose 'Configure special application settings...' 
3. select 'yes' or 'no' radio button regarding mathing the whole window class and click on 'OK' button
4. reopen 'Configure special application settings...'  window
Comment 5 Vlad Zahorodnii 2024-06-10 10:36:08 UTC
I cannot reproduce the issue in 6.0 and 6.1. Reopen this bug report if you're still able to. In which case, please also provide a backtrace of kwin when it's frozen.