Bug 399478

Summary: Palette gpl files with a long "Name" value, increase the Palette docker width (new palette docker)
Product: [Applications] krita Reporter: mvowada <freebox64>
Component: DockersAssignee: Halla Rempt <halla>
Status: RESOLVED FIXED    
Severity: normal CC: halla, sven.langkamp
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: (Palette example)

Description mvowada 2018-10-07 10:08:18 UTC
Created attachment 115462 [details]
(Palette example)

(tested on Ubuntu 14.04 Unity - Krita Appimage 4.2.0-pre-alpha (git 596d1e9)

If one imports a palette gpl file that has a long "Name" value set (2nd line) then the "Palette" docker will increase its width and it won't be possible to resize it back:

    1. import a gpl palette with a long "Name" value (2nd line)

Actual Results: the docker width will increase, it won't be possible to resize it back
Expected Results: unchanged docker width
Comment 1 Halla Rempt 2018-10-07 10:56:08 UTC
Git commit 4cc914072c331ec729f533a552c1db72adb7f54e by Boudewijn Rempt.
Committed on 07/10/2018 at 10:55.
Pushed by rempt into branch 'master'.

M  +6    -6    libs/widgets/squeezedcombobox.cpp
M  +2    -1    libs/widgets/squeezedcombobox.h
M  +4    -2    plugins/dockers/palettedocker/palettedocker_dock.cpp
M  +56   -37   plugins/dockers/palettedocker/wdgpalettedock.ui

https://commits.kde.org/krita/4cc914072c331ec729f533a552c1db72adb7f54e
Comment 2 Halla Rempt 2018-10-07 10:56:08 UTC
Git commit 30b4d3ffc50af220252202e96651d9c14f9f08f8 by Boudewijn Rempt.
Committed on 07/10/2018 at 10:55.
Pushed by rempt into branch 'master'.

M  +2    -2    libs/widgets/KisPaletteComboBox.cpp
M  +2    -2    libs/widgets/KisPaletteComboBox.h

https://commits.kde.org/krita/30b4d3ffc50af220252202e96651d9c14f9f08f8