Bug 398837

Summary: Long pattern file name makes brush editor window very wide
Product: [Applications] krita Reporter: Scott Petrovic <scottpetrovic>
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ahab.greybeard, halla
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: long pattern name example in brush editor

Description Scott Petrovic 2018-09-19 12:46:47 UTC
In the brush editor, if you go to a pixel engine preset and the pattern area. Click on one of the patterns that come with a bundle. There is a chance it is going to have a really long file name like my attachment. In this case the whole brush editor gets large and doesn't shrink down unless I restart Krita.
Comment 1 Scott Petrovic 2018-09-19 12:47:13 UTC
Created attachment 115097 [details]
long pattern name example in brush editor
Comment 2 Halla Rempt 2018-09-19 12:51:11 UTC
Yes, that needs to use a ksqueezedtextlabel
Comment 3 Ahab Greybeard 2018-09-22 08:50:54 UTC
There is the same effect in the Patterns docker where a pattern with a very long path/filename causes the docker to expand in width (even if docked) and it can not be manually reduced by dragging.

If you then select a pattern with a short path/filename, the Pattern docker can be manually dragged back to the required size.
Comment 5 Ahab Greybeard 2018-09-25 18:32:53 UTC
I confirm that this is now fixed (for Patterns docker and Brush Editor) in the 4.2.0 pre-alpha (e94e365) appimage.