Bug 282549 - "Use same aspect as pixels" button doesn't update the image
Summary: "Use same aspect as pixels" button doesn't update the image
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-22 11:40 UTC by Dmitry Kazakov
Modified: 2012-02-29 18:02 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 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