Bug 398837 - Long pattern file name makes brush editor window very wide
Summary: Long pattern file name makes brush editor window very wide
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: git master (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-19 12:46 UTC by Scott Petrovic
Modified: 2018-10-06 14:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
long pattern name example in brush editor (283.05 KB, image/png)
2018-09-19 12:47 UTC, Scott Petrovic
Details

Note You need to log in before you can comment on or make changes to this bug.
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.