Bug 391156 - Antialiasing for the brush-thumbnail in the top-toolbar and brush editor.
Summary: Antialiasing for the brush-thumbnail in the top-toolbar and brush editor.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: Scott Petrovic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-27 10:16 UTC by David REVOY
Modified: 2018-02-27 11:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
[^ screenshot of the aliasing ] (66.25 KB, image/png)
2018-02-27 10:16 UTC, David REVOY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David REVOY 2018-02-27 10:16:59 UTC
Created attachment 111044 [details]
[^ screenshot of the aliasing ]

Hi, 
This is a very minor report about the brush-thumbnail in the top-toolbar and the brush-editor being aliased. If there is a method to anti-alias the thumbnail, it would probably enhance subtly the GUI. I join a screen-shot.
Comment 1 Halla Rempt 2018-02-27 10:20:40 UTC
That probably means the qimage isn't smoothly scaled.
Comment 2 wolthera 2018-02-27 11:38:08 UTC
Git commit c6772d8b70fd2cddd85ae102240c87f19dc1c13e by Wolthera van Hövell tot Westerflier.
Committed on 27/02/2018 at 11:37.
Pushed by woltherav into branch 'master'.

NB: For some reason setting rendering hints on QPainter for images doesn't seem to work here.
Using QImage scaled does handle that.

This patch also ensures that for teensy patterns, the dropdown boxes will not scale but just pattern
them.

M  +6    -35   libs/ui/forms/wdgpaintopsettings.ui
M  +17   -3    libs/ui/widgets/kis_iconwidget.cc
M  +1    -4    libs/ui/widgets/kis_paintop_presets_popup.cpp

https://commits.kde.org/krita/c6772d8b70fd2cddd85ae102240c87f19dc1c13e