Bug 384033 - Overview docker is very blurry
Summary: Overview docker is very blurry
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: 3.2.0
Platform: Other Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-26 04:49 UTC by William Tumeo
Modified: 2018-10-11 08:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Comparison between Layer Preview and Overview Docker (77.72 KB, image/png)
2017-08-26 04:49 UTC, William Tumeo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Tumeo 2017-08-26 04:49:18 UTC
Created attachment 107526 [details]
Comparison between Layer Preview and Overview Docker

Hi, I tried to find something about the overview docker in settings but I did not find anything.
Overview docker works very well, but if you try to draw small things (like pixel art) the overview does not help much because of its filter.

Also, this does not happen with the layer preview.
Comment 1 William Tumeo 2017-08-26 05:02:46 UTC
Forgot to mention that overview canvas zoom is not 100%.

In my screenshot the canvas is 64x64, the layer preview shows the preview in 64x64, but in overview docker the canvas is smaller.
Comment 2 Halla Rempt 2017-09-19 13:27:30 UTC
Hi William,

That's because we went to great lengths to improve the quality of the scaling in the overview widget using oversampling and antialiasing. This is good for the kind of images most people work with, but not ideal for very small, pixel-art type images. We could disable that for small images, of course, but that needs a bit of work.

I can also confirm that there are weird things happening with the red outline and the size of the overview if the image is really small.
Comment 3 cagisler 2017-11-08 15:40:02 UTC
(In reply to Boudewijn Rempt from comment #2)
> Hi William,
> 
> That's because we went to great lengths to improve the quality of the
> scaling in the overview widget using oversampling and antialiasing. This is
> good for the kind of images most people work with, but not ideal for very
> small, pixel-art type images. We could disable that for small images, of
> course, but that needs a bit of work.
> 
> I can also confirm that there are weird things happening with the red
> outline and the size of the overview if the image is really small.

A more apt solution would be to allow the filtering to be disabled, a button near the zoom to switch between the current filtering and "nearest neighbor with mapmapping" (optimal for pixelart) would be very nice.
Comment 4 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 396922

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

https://commits.kde.org/krita/8eada506df649626fd994103ab78fe615608bcfb
Comment 5 Halla Rempt 2018-10-11 08:27:15 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 396922
(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