Summary: | screen is not scaled if started after resizing | ||
---|---|---|---|
Product: | [Applications] kblocks | Reporter: | a_b_c |
Component: | general | Assignee: | Zhongjie Cai <squall.leonhart.cai> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | julian.helfferich, kde-games-bugs, schwarzer, simonandric5 |
Priority: | NOR | ||
Version: | 0.3 | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kblocks/6ee616019ea9e67eb19ed0a8ce53feca4e7633a0 | Version Fixed In: | |
Sentry Crash Report: |
Description
a_b_c
2017-06-02 11:33:55 UTC
I upgraded to Debian 9 and KBlock 0.4. The bug still occurs. I can confirm this with the 0.4 from Ubuntu. I can confirm this with the current master branch. I have suggested a fix on reviewboard: https://git.reviewboard.kde.org/r/130167/ Git commit 6ee616019ea9e67eb19ed0a8ce53feca4e7633a0 by Albert Astals Cid, on behalf of Julian Helfferich. Committed on 27/07/2017 at 13:04. Pushed by aacid into branch 'Applications/17.08'. Fix incorrect resize before game is started When the game window is resized before a game is started, the game scene is not correctly rescaled. When starting the game it might be too small (it seems never to be too large). This commit fixes the bug by triggering a fitInView() call of the gameView. The same function is triggered by a resize event. REVIEW: 130167 M +2 -0 KBlocksWin.cpp https://commits.kde.org/kblocks/6ee616019ea9e67eb19ed0a8ce53feca4e7633a0 |