Bugs item #2116947, was opened at 2008-09-17 22:38 Message generated for change (Comment added) made by rubikcube You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=2116947&group_id=144022
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: SVN version Status: Open Resolution: None Priority: 5 Private: No Submitted By: Daniel Hornung (rubikcube) Assigned to: Nobody/Anonymous (nobody) Summary: Pasting/importing across different image areas Initial Comment: I think I could reproduce this bug in a (nearly) minimal testcase, this only seems to happen a) for encapsulated layers and b) when pasting between images with different image areas set (in Edit->Properties). See the attached three sif files for steps to reproduce this bug: test_plain.sif: The plain file everything is based upon: 800x600 pixels, the image area is 13.333 units x 10 units, as expected (with 1 unit = 6 pixels). test_high_span.sif: The file where the layers were copied from. Note that I set the image span (and thus the view box) to ~10 times the default (in "unit"s) in the Properties dialog. The width&height were not changed, since I only edited the "Image span" edit field (is this a bug as well?), they still are at 800x600 pixels. test_pasted.sif: I opened test_plain.sif and pasted the layers from test_high_span.sif, then rescaled the bline so that it was not bigger than the whole image area: Voila, the bline's width is clearly still set to 4px but appears to be ~40px wide. Possibly the cause of the bug can be found by a simple `diff test_high_span.sif test_pasted.sif`: Cutting away the unimportant parts I get: 2,3c2,3 < <canvas version="0.5" width="800" height="600" xres="2834.645752" yres="2834.645752" view-box="-66.666667 50.000000 66.666667 -50.000000" antialias="1" fps="24.000" begin-time="0f" end-time="5s" bgcolor="0.500000 0.500000 0.500000 1.000000"> < <name>Synfig Animation 3</name> --- > <canvas version="0.5" width="800" height="600" xres="2834.645752" yres="2834.645752" view-box="-6.666667 5.000000 6.666667 -5.000000" antialias="1" fps="24.000" begin-time="0f" end-time="5s" bgcolor="0.500000 0.500000 0.500000 1.000000"> > <name>Synfig Animation 1</name> 39c39 < <canvas> --- > <canvas view-box="-66.666667 50.000000 66.666667 -50.000000"> The header is different of course, having different view boxes. But what's the canvas tag's parameter "view-box" about? It's not even editable from the gui, but anything else I could say here are wild guesses, it's up to the real devs now to fix this :) A more formal bug description: 1) Open test_pasted.sif, which was created as described above. 2) Note the Bline Outline's width in the image and compare it to the width set in the params panel Expected result: The width in the image and in the panel should be identical. (in whichever units) Actual result: In the image, the Outline is 40 pixels wide. In the params panel, it's said to be '4px' wide. 3) Change the width in the params panel. The abovementioned strange behaviour continues. 4) In the .sif file, manually remove 'view-box="-66.666667 50.000000 66.666667 -50.000000"' from line 39 in your favourite editor. 5) The outline will still be 40 pixels wide, but that width will now also be shown in the params panel. ---- Some personal thoughts, not to be discussed here in length: Is the concept of an "Image Area" necessary, especially when it's defined in resolution independent length units (as 1unit=60pixels, see http://synfig.org/Unit_System) or could the the combination of "image size" (in pixels) and "physical size" (inches, millimeters, ...) be sufficient to describe every image? ---------------------------------------------------------------------- >Comment By: Daniel Hornung (rubikcube) Date: 2008-09-17 23:12 Message: File Added: test_pasted.sif ---------------------------------------------------------------------- Comment By: Daniel Hornung (rubikcube) Date: 2008-09-17 22:48 Message: File Added: test_high_span.sif ---------------------------------------------------------------------- Comment By: Daniel Hornung (rubikcube) Date: 2008-09-17 22:42 Message: File Added: test_plain.sif ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=2116947&group_id=144022 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Synfig-devl mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synfig-devl
