MagicTile icon indicating copy to clipboard operation
MagicTile copied to clipboard

View freezing.

Open cd-champion-dev opened this issue 8 years ago • 4 comments

Version

I am using version 2. The file download name was MagicTile_v2_09-29-16

The problem

Using the program eventually leads the view box to freeze. It will freeze mid rotation and the view ceases to respond. The rest of the program works and even the internal puzzle representation seems to work. The twists and total number change when the solve button is clicked and I can still save the current puzzle to xml. Collapsing the side panel causes the view to turn black.

Recreating

This happened numerous times during my solve of the Klein bottle and Torus cubes. I did not test this with other puzzles.

Potential Solutions

I have not looked at the code.

Attachments

magictile_2 magictile_3 magictile_1

cd-champion-dev avatar Oct 11 '16 22:10 cd-champion-dev

I apologize for the trouble. I don't suspect a code issue here, but rather that the software may be overextending your graphics system. The underlying drawing tech is OpenGL. The fact that everything else continues to work definitely points to the OpenGL rendering.

The first thing I would check is to make sure your video-card drivers are up to date. Is this an older computer by chance?

The spherical puzzles in flat mode are drawn differently (without textures), so I'd also be interested to know if you experience the same problem on a spherical puzzle with a large number of stickers (say the Dodecahedral "Super-chop" puzzle). That would point to the textures being the cause. MagicTile uses a lot of relatively large textures.

If the computer rendering is just overtaxed, there might not be a good solution, other than to try on a different computer.

roice3 avatar Oct 11 '16 22:10 roice3

This is not an older computer. I have attached a text version of msinfo32 that i have cut down a lot. If you need any more info please tell me. I do have problems with my graphics card occasionally and I have absolutely no idea how to fix it.

Computer_Specs.txt

cd-champion-dev avatar Oct 11 '16 23:10 cd-champion-dev

I tried messing about with the Dodecahedral Super-chop puzzle. and while it froze my brain it did not freeze the view after about 5 minutes of playing with it. I toggle the Collapse Side Controls and it did break it in a new way.

magictile_4 magictile_5

cd-champion-dev avatar Oct 11 '16 23:10 cd-champion-dev

Thanks for the additional testing and details. So it does seem worse with textures, and resizing the window also seems to cause issues. I'll review the resizing code to see if I notice anything suspect. In the mean time, all I can suggest as a workaround is to avoid resizing the window (by collapsing the side panel or otherwise). Apologies again for the poor behavior.

roice3 avatar Oct 12 '16 15:10 roice3