pupitetris / evoluspencil

Automatically exported from code.google.com/p/evoluspencil
0 stars 0 forks source link

Crash to Desktop after #587

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a document with many large embedded images (> ~ 30 MB)
2. Perform actions on the page with embedded images, e.g. moving around text 
boxes, selecting images, grouping images, etc. It is difficult to predict when, 
but the application invariably crashes.

What is the expected output? What do you see instead?
The application crashes to desktop without warning or error. I expect the 
application to not crash to desktop. 

What version of the product are you using? On what operating system?
v2.0.3 on Windows 7 x86, from PortableApps because the official Evolus build 
would not install due to corporate restrictions on my work pC. I will verify 
the behaviour on the official build at home tonight and update the issue.

Please provide any additional information below.

The issue is not present when images are linked only. I admit that 30 MB is a 
lot of image to embed in a document, but it is insignificant compared to my 
available RAM (> 1 GB). Furthermore, the images could be compressed to save 
space and improve responsiveness of Pencil's UI, since my images are scaled 
down far below their original resolutions.

Original issue reported on code.google.com by b.stoc...@gmail.com on 8 Oct 2013 at 4:35

GoogleCodeExporter commented 8 years ago
I just noticed that my images are nowhere near 30 MB. Combined, they would all 
be less than 2 MB. It appears that Pencil is converting the JPG images to raw 
bitmaps, resulting in huge filesizes, which probably causes an overflow 
somewhere. I recommend this also be remedied. Again, I have to verify this 
behaviour on "stock" Evolus Pencil tonight on my home PC.

Original comment by b.stoc...@gmail.com on 8 Oct 2013 at 4:39