Bug 396922

Summary: Overview docker shows seems to use wrong preview dimensions when switching between projects of a different size.
Product: [Applications] krita Reporter: Isaac Zuniga <isaaczuniga>
Component: DockersAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: griffinvalley, halla
Priority: NOR    
Version: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Isaac Zuniga 2018-07-28 05:15:51 UTC
Here's a video of the issue:
https://drive.google.com/file/d/1Oy49BQJCh0oyCCS-VlgW3G6gbh-NFJ_v/view?usp=sharing

This does not seem to be an issue on projects that are exactly the same size. However, on different projects of different proportions, this happens.

This was re-created on: Krita 4.2.0 pre-alpha (git 188c4b4)
Comment 1 wolthera 2018-07-28 12:38:51 UTC
Alright, changing the title to describe a bit better what happens in the video.

Thanks for the report!
Comment 2 Isaac Zuniga 2018-07-29 04:39:42 UTC
Awesome, thanks for the correction!

If there's anything I can do to help this along, please let me know! :)
Comment 3 joupent 2018-10-10 16:57:02 UTC
Git commit 8eada506df649626fd994103ab78fe615608bcfb by Jouni Pentikäinen.
Committed on 10/10/2018 at 16:56.
Pushed by jounip into branch 'master'.

Fix coordinate mapping in overview docker
Related: bug 384033

M  +38   -55   plugins/dockers/overview/overviewwidget.cc
M  +4    -2    plugins/dockers/overview/overviewwidget.h

https://commits.kde.org/krita/8eada506df649626fd994103ab78fe615608bcfb
Comment 4 Halla Rempt 2018-10-11 08:27:09 UTC
Git commit 58e1c17a58df417dd40f5e4c64fc55eade437efc by Boudewijn Rempt, on behalf of Jouni Pentikäinen.
Committed on 11/10/2018 at 07:54.
Pushed by rempt into branch 'krita/4.1'.

Fix coordinate mapping in overview docker
Related: bug 384033
(cherry picked from commit 8eada506df649626fd994103ab78fe615608bcfb)

M  +38   -55   plugins/dockers/overview/overviewwidget.cc
M  +4    -2    plugins/dockers/overview/overviewwidget.h

https://commits.kde.org/krita/58e1c17a58df417dd40f5e4c64fc55eade437efc