Bug 496348

Summary: Blocks lose their color
Product: [Applications] klickety Reporter: Texstar <texstar>
Component: generalAssignee: nihui <shuizhuyuanluo>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, kde-games-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Picture of blank blocks

Description Texstar 2024-11-16 15:23:59 UTC
SUMMARY

Klickety blocks lose their color close to the end of the game

STEPS TO REPRODUCE
1. Play Klickety

OBSERVED RESULT

Blocks lose their color

EXPECTED RESULT

Blocks should show color

SOFTWARE/OS VERSIONS
Operating System: PCLinuxOS 2024
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.3
Kernel Version: 6.6.61-pclos1 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 4700G with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Comment 1 Texstar 2024-11-16 15:27:24 UTC
Created attachment 175862 [details]
Picture of blank blocks
Comment 2 Albert Astals Cid 2024-11-19 21:25:09 UTC
Is this something that happens all the time for you?
Comment 3 Texstar 2024-11-20 02:35:40 UTC
(In reply to Albert Astals Cid from comment #2)
> Is this something that happens all the time for you?

I think the problem is the black background is not scaling behind the blocks.
Comment 4 Albert Astals Cid 2024-11-21 18:53:38 UTC
It was a yes or no question, can you please answer "yes" or "no" to "Is this something that happens all the time for you?"
Comment 5 Texstar 2024-11-21 19:26:43 UTC
Nooo! It is the white background that makes the titles appear to lose their color because the black background does not scale.
Comment 6 Bug Janitor Service 2024-11-28 11:08:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/games/klickety/-/merge_requests/24
Comment 7 Albert Astals Cid 2024-11-28 11:19:39 UTC
Git commit d61a247080ba76ec0251fe7a53b7513445a34d0e by Albert Astals Cid.
Committed on 28/11/2024 at 11:09.
Pushed by aacid into branch 'master'.

Scale background image to the hidpi size

Test with QT_SCALE_FACTOR=1.3 klickety

M  +2    -2    src/gamescene.cpp

https://invent.kde.org/games/klickety/-/commit/d61a247080ba76ec0251fe7a53b7513445a34d0e
Comment 8 Albert Astals Cid 2024-11-28 11:33:19 UTC
Git commit 1244c915ee1532e5136cdbde1ac0393838b50273 by Albert Astals Cid.
Committed on 28/11/2024 at 11:33.
Pushed by aacid into branch 'release/24.12'.

Scale background image to the hidpi size

Test with QT_SCALE_FACTOR=1.3 klickety
(cherry picked from commit d61a247080ba76ec0251fe7a53b7513445a34d0e)

M  +2    -2    src/gamescene.cpp

https://invent.kde.org/games/klickety/-/commit/1244c915ee1532e5136cdbde1ac0393838b50273
Comment 9 Texstar 2024-11-28 14:31:58 UTC
Thank you! Klickety is fixed! \O/