Jump to content
magnux

Scrolling in the Slices tab can cause Designer to freeze (and slices sometimes appear incorrect)

Recommended Posts

I have about 90-80 slices in my project (It's and Android app) , and each slice is exported to a number of files (PNG and SVG).
When using my mouse wheel scrolling up and down, folding and unfolding my slice to check that the export looks ok Designer freezes.

1. I first created a "master" export setup manually, exporting one SVG file and a number of PNG files in various resolutions to target all DPI:s

2. I used the "copy export format setup to clipboard"

3. I marked all my other slices (except the top one)

4. I used the "Add export format setup from clipboard", so all my slices is exported in the same manner (keeping the slice name unique)

5. Using mouse wheel in the Slices area up and down 

6. Unfolded a few of the slices and rolled the mouse wheel up and down fairly quickly

7. Designer freezes, boom. It recovered my file when I restarted though (phew)

 

I also created a crash dump file of the Designer process was frozen and ran it through DebugDiag Crash Analyzer,
the report is attached. I suppose I could send my file to the developers if that helps reproducing the freeze, but I rather not post it on the forum

 

export-persona.png.c07b283405b805e03063d454bed9af78.png

 

Video capture
Sometimes the slices are not redrawn properly in the UI, not sure how to recreate this - but here's what it looks like:
Video clip with the error

.

 

Designer_MultipleRules.mht

Share this post


Link to post
Share on other sites

Hi Magnux,

Thanks very much for the video and screenshots. If you could send us the file that will help us immensely as it does sound like a very intricate and complicated document. I understand not wanting to post it publicly so I've created a link to upload it to our Internal Dropbox account - if you could do that it will help us investigate and reproduce the issue!
https://www.dropbox.com/request/Y3B7WmSS8LwB1LTUOk4s


Thanks,
 

Share this post


Link to post
Share on other sites

Great!

I uploaded my .affinity file, and also the crash dumpfile I created (7zip compressed).

I also attached a debugger (Visual Studio 2019) to the Designer.exe process, to see if I could see something interesting happened when running the mouse wheel to provoke the freeze,
and I noticed that the GC was running quite intense just before the Designer UI stopped responding. After this I paused the execution and created the dump file I uploaded to the Dropbox. 
export-debug.thumb.png.1456aa2ecdfbd840a9362cc0121fbab1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.