Bug 282549

Summary: "Use same aspect as pixels" button doesn't update the image
Product: [Applications] krita Reporter: Dmitry Kazakov <dimula73>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dmitry Kazakov 2011-09-22 11:40:05 UTC
1) Create an image with the resolution different from your screen resolution
2) Set some fixed zoom level, e.g. 30%
3) Toggle "Use same aspect as pixels" button

The image on a screen doesn't change, though it should be rezoom'ed.

4) Set zoom level to e.g. 31%

The image is rezoom'ed taking the toggled button into account.
Comment 1 Halla Rempt 2011-09-22 11:57:46 UTC
In general, we have a problem updating when the zoomlevel changes. I have a set of patches by Tanmaya Mahapatra that implement ctrl-0 for zoom to 100%, and that's broken as well.
Comment 2 Halla Rempt 2012-02-29 18:02:10 UTC
Git commit a66a7dd353f63eed660846420bb8f8a52dae7671 by Boudewijn Rempt.
Committed on 29/02/2012 at 15:04.
Pushed by rempt into branch 'master'.

Update the canvas on changing the aspect

M  +1    -0    krita/ui/kis_zoom_manager.cc

http://commits.kde.org/calligra/a66a7dd353f63eed660846420bb8f8a52dae7671