Bug 256135 - scale to new size Resolution and Shapes
Summary: scale to new size Resolution and Shapes
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: Sven Langkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-05 12:01 UTC by animtim
Modified: 2010-12-06 20:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description animtim 2010-11-05 12:01:12 UTC
Version:           svn trunk (using KDE 4.5.1) 
OS:                Linux

On a file with some vector shapes,

Using "scale to new size" with "size in pixel" locked and "Print size" and "Resolution" unlocked, changing resolution (for instance set it from 300 to 150 pixel/inch..)

It seems ok but when you save and reload the file the shapes are reduced.

Reproducible: Always
Comment 1 Halla Rempt 2010-11-06 16:16:07 UTC
Ack. And not only that: I see that after scaling, the selection outline of the current shape is smaller as well, so the problem is not on saving, but on resizing. It's just that the projection looks ok.
Comment 2 Sven Langkamp 2010-12-06 14:32:43 UTC
SVN commit 1204232 by langkamp:

fix scaling of shapes and undo on scaling the resolution
BUG:256135


 M  +1 -0      image/CMakeLists.txt  
 A             image/commands/kis_image_set_resolution_command.cpp   [License: GPL (v2+)]
 A             image/commands/kis_image_set_resolution_command.h   [License: GPL (v2+)]
 M  +5 -2      image/kis_image.cc  
 M  +6 -1      image/kis_image.h  
 M  +10 -3     image/kis_transform_visitor.h  
 M  +10 -2     plugins/extensions/imagesize/imagesize.cc  
 M  +2 -2      ui/kis_image_manager.cc  
 M  +10 -1     ui/kis_image_manager.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1204232
Comment 3 animtim 2010-12-06 20:35:26 UTC
I've updated with last svn and I still can reproduce the bug, so I think
it's not fixed.
Comment 4 Sven Langkamp 2010-12-06 20:39:35 UTC
It's fixed in git.