Bug 399478 - Palette gpl files with a long "Name" value, increase the Palette docker width (new palette docker)
Summary: Palette gpl files with a long "Name" value, increase the Palette docker width...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Dockers (show other bugs)
Version: git master (please specify the git hash!)
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-07 10:08 UTC by mvowada
Modified: 2018-10-07 10:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
(Palette example) (1.84 KB, text/plain)
2018-10-07 10:08 UTC, mvowada
Details

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