Bug 450841

Summary: KPatience High-Res scaling problem Xorg X11 when winning a game
Product: [Applications] kpat Reporter: halidoxvpn
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, kde-games-bugs-null
Priority: NOR    
Version First Reported In: 21.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The problematic text

Description halidoxvpn 2022-02-25 20:21:35 UTC
Created attachment 147120 [details]
The problematic text

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Log in to plasma with X11
2. Set the UI scaling to more than 100%
3. Win a game at KPatience

OBSERVED RESULT
The text which shows after you win is out of the box so you can only read the half of it and it's pixelated

EXPECTED RESULT
The text which shows after winning shows inside the box smoothly

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.10-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i3-7020U CPU @ 2.30GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
(available in About System)
KDE Plasma Version: 
ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2022-02-27 23:32:56 UTC
A possibly relevant merge request was started @ https://invent.kde.org/games/kpat/-/merge_requests/25
Comment 2 Albert Astals Cid 2022-03-11 15:42:41 UTC
Git commit 6c174310fd0df63a49cd6271d1ea20ceadabdc15 by Albert Astals Cid.
Committed on 27/02/2022 at 23:32.
Pushed by aacid into branch 'master'.

Fix rendering of the "You won message" on HiDpi

M  +2    -0    src/messagebox.cpp

https://invent.kde.org/games/kpat/commit/6c174310fd0df63a49cd6271d1ea20ceadabdc15