Bug 391156

Summary: Antialiasing for the brush-thumbnail in the top-toolbar and brush editor.
Product: [Applications] krita Reporter: David REVOY <info>
Component: GeneralAssignee: Scott Petrovic <scottpetrovic>
Status: RESOLVED FIXED    
Severity: minor CC: halla
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: [^ screenshot of the aliasing ]

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