[kmahjongg] [Bug 327999] Make pause on minimize optional
Jan-Peter Nilsson
kdebugs at pappkartong.se
Mon Dec 15 23:13:47 GMT 2014
https://bugs.kde.org/show_bug.cgi?id=327999
--- Comment #7 from Jan-Peter Nilsson <kdebugs at pappkartong.se> ---
I'm using a few different resolutions depending on which machine I'm at, but
I'm seeing the same thing with 1366x768, 1920x1080 and 3840x2160.
Which is not really surprising, (1366*768*4)/1024 = 4098KB will not fit in a
3072KB cache.
If you are using one of the tiling backgrounds (default or light wood) or plain
color you should not have a problem.
Using any of the other backgrounds you should get redraws from svg when a full
redraw of the game board happens. Full redraws are triggered by pause, unpause,
new game, load game, shuffle, load settings and resize.
I find it is most noticeable when using the 'chinese landscape' background
(which happens to be what I have been using).
You are right, the background should not need to be re-rendered, looking at
BoardWidget::pause() I don't see any reason for it to need a full redraw, as
far as I can tell all we want to do is to show/hide the tiles and iterating
over the them and setting their visibility seems to work fine for that.
Ideally I guess only load settings (for an initial load and when
background/tileset was changed) and resize should require a full redraw. I will
look a bit more at the other functions, but they are a bit off-topic here.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list