Bug 131532

Summary: Gallery preview blured when shape was enlarged
Product: LibreOffice Reporter: andreas_k <kainz.a>
Component: UIAssignee: Aditya Sahu <adityasahu1511>
Status: RESOLVED FIXED    
Severity: normal CC: adityasahu1511, kainz.a, quikee
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard: target:7.0.0
Crash report or crash signature: Regression By:
Attachments: Gallery previews

Description andreas_k 2020-03-24 13:59:18 UTC
Created attachment 158931 [details]
Gallery previews

If you draw an small shape and add this shap to the gallery there was an thumbnail generate.

There are two options to add elements to the gallery:

1. If you draw an shape and left mouse click move the shape to the gallery the thumbnail was enlarged to > 100 % of it's size

2. If you add an graphic by property at gallery name -> Add the graphic was fixed to 100 % or shrinked to the grid.

Is it possible to fix the thumbnail size to 100 % or less (like in 2.) Cause the blured shapes didn't improve the look and feel of LibO.
Comment 1 Aditya Sahu 2020-03-29 06:18:32 UTC
Please review the proposed patch for this bug: https://gerrit.libreoffice.org/c/core/+/91319
Comment 2 Commit Notification 2020-03-29 11:22:59 UTC
Aditya committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/a8fa7c763e43134bae27b8c0c7c89170bd96a732

tdf#131532:Blurry thumbnails when small shapes added to gallery theme

It will be available in 7.0.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 andreas_k 2020-03-31 22:04:12 UTC
Thanks a lot. Your patch improve my work Aditya.