https://bugs.kde.org/show_bug.cgi?id=499991

            Bug ID: 499991
           Summary: Power Management page in System Settings hangs when
                    using certain font sizeand  zh_CN.UTF-8 system locale
    Classification: Plasma
           Product: plasmashell
           Version: 6.3.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Power management & brightness
          Assignee: plasma-b...@kde.org
          Reporter: ye.jingc...@gmail.com
  Target Milestone: 1.0

Created attachment 178280
  --> https://bugs.kde.org/attachment.cgi?id=178280&action=edit
empty power management page in system settings

SUMMARY
The "Power Management" page in System Settings will hang, causing 100% single
thread CPU usage, if the system is using LANG=zh_CN.UTF-8 locale, and font size
in System Settings "Text & Fonts" page is set exactly as follows:

General: 11pt
Fixed width: 11pt
Small: 9pt
Toolbar: 11pt
Menu: 11pt
Window title: 11pt

Font families and anti-aliasing settings don't seem to matter.

STEPS TO REPRODUCE
1. Ensure zh_CN.UTF-8 locale is available (`locale -a` output contains
`zh_CN.utf8`). On Arch Linux this means uncommenting zh_CN.UTF-8 in
/etc/locale.gen and run `locale-gen`.
2. Change font size in System Settings as above
3. Close System Settings, launch it with `LANG=zh_CN.UTF-8  systemsettings`
4. Navigate to "Power Management", see it hang.

OBSERVED RESULT
Right side is empty (see screenshot), 100% CPU usage on a single core.

EXPECTED RESULT
Opens Power Management normally

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 6850HS with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon Graphics

ADDITIONAL INFORMATION
LANG=C.UTF-8 or LANG=en_US.UTF-8 are unaffected by this, but LANG=ja_JP.UTF-8
is affected.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to