Summary: | verview docker incorrectly displays current view and the image appears too small/low quality when full size. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Isaac Zuniga <isaaczuniga> |
Component: | Dockers | Assignee: | Marcin <lambda777> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | edan.mizrahi.260, halla, lambda777, seoras1 |
Priority: | NOR | Keywords: | triaged |
Version: | 3.3.3 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Fix for blurriness/distortion |
Description
Isaac Zuniga
2018-02-21 06:37:27 UTC
This looks quite ugly: https://drive.google.com/file/d/1S_XUdpjeezV1Aig45FJMlWwY17-_Stbg/view?usp=sharing You are able to resize the overview docker and it greatly distorts the image until it's nothing more than a blurred mess, and if you keep doing it, sooner or later, the depicted canvas in the docker will only be 1 pixel wide. The fuzziness of the image is normal: it is not possible to scale the image at interactive speeds so it always stays sharp. After resizing stops, it'll recalculate the image and show it sharper. I do see that the size of the preview is broken, though. This size of the image in the docker was already broken in 3.0.1.1 at least. Created attachment 111873 [details]
Fix for blurriness/distortion
I've got a fix for the blurriness/distortion part of the bug, but not for the incorrect size.
I've introduced an m_oldPixmap variable which stays constant over calls to resizeEvent, and m_pixmap is now set to a scaled version of this, rather than a scaled version of itself (which seemed to be the cause of the distortion.)
I'll post the patch for review on phabricator.
Git commit 82a8db752ebc715ff0b0343cd34c054d3adeaa5f by Boudewijn Rempt. Committed on 09/04/2018 at 08:53. Pushed by rempt into branch 'master'. Overview docker: fix shrinking the thumbnail to 1px Differential Revision: https://phabricator.kde.org/D11988 M +3 -2 plugins/dockers/overview/overviewwidget.cc M +1 -0 plugins/dockers/overview/overviewwidget.h https://commits.kde.org/krita/82a8db752ebc715ff0b0343cd34c054d3adeaa5f Git commit 9863e5e92d4a1daed56b839e34ea8b20a3a6ec79 by Boudewijn Rempt. Committed on 09/04/2018 at 08:57. Pushed by rempt into branch 'krita/4.0'. Overview docker: fix shrinking the thumbnail to 1px Differential Revision: https://phabricator.kde.org/D11988 (cherry picked from commit 82a8db752ebc715ff0b0343cd34c054d3adeaa5f) M +3 -2 plugins/dockers/overview/overviewwidget.cc M +1 -0 plugins/dockers/overview/overviewwidget.h https://commits.kde.org/krita/9863e5e92d4a1daed56b839e34ea8b20a3a6ec79 *** Bug 393549 has been marked as a duplicate of this bug. *** Should be fixed in 8eada506df649626fd994103ab78fe615608bcfb |