When changing theme in middle of a game, graphics of already fallen blocks are not updated. They are updated when they change, but often get corrupted by the graphics getting shifted a notch to one side. Blocks are still there, but the graphics is in wrong place. The sidemost blocks can go over the edge.
Works for me with version 0.4
I upgraded to Debian 9 and KBlocks 0.4. The bug can still be replicated.
Please attach a video of what you get (or upload it somewhere and link from here)
Created attachment 106343 [details] KBlocks theme change graphics bug Sometimes lines can be cleared and the blocks are updated to the selected theme without problems. Usually blocks from different themes in case of line clear messes up the graphics. In this video graphics explode when l-bar only touches the others. Notice also that the blocks move a couple of pixels in to wrong position.
Ok, i could reproduce it now playing a few more blocks.
I have figured out the problem. There are actually two unrelated bugs: a) Graphics of already fallen blocks are not updated. Root cause: Pixmap cache is not cleared when the new theme is loaded. b) Blocks are displayed in the wrong location. Root cause: Final location of a drop animation is not updated when the location of the game board changes with the new theme. I will take care of fixing these two bugs and preparing corresponding merge requests.