Bug 463001

Summary: Entire system freezes when scaling xwayland window under fractional scaling dpi
Product: [Plasma] kwin Reporter: Toby <tianer2820>
Component: platform-x11-nestedAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR    
Version: 5.26.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: a python opengl helloworld program

Description Toby 2022-12-13 13:38:12 UTC
Created attachment 154560 [details]
a python opengl helloworld program

SUMMARY
Entire system freezes when scaling a xwayland window under fractional scaling dpi


STEPS TO REPRODUCE
1. Set display scale to 175% in system settings
2. Open any xwayland window
3. Drag to scale the window, trying to make the width very small

OBSERVED RESULT
Entire system freezes, and I can't switch to other terminals by pressing ctrl+alt+f3, etc.

EXPECTED RESULT
System still responsive.

note:
I found it happens mostly when the window title starts to "shrink", i.e. from "A looooooong title" into "A loo ... g title". If the display scaling factor is integer (100%,200%), it works as expected.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.12-300.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-1035G4 CPU @ 1.10GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Plus Graphics
Manufacturer: Acer
Product Name: Spin SP513-54N
System Version: V1.10

ADDITIONAL INFORMATION
I initially found the problem when running the attached python script.
Comment 1 Vlad Zahorodnii 2023-01-06 09:27:29 UTC

*** This bug has been marked as a duplicate of bug 462972 ***