https://bugs.kde.org/show_bug.cgi?id=476715

            Bug ID: 476715
           Summary: Brush editor window: scaling issue when brush tip name
                    is too long
    Classification: Applications
           Product: krita
           Version: 5.2.1
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Usability
          Assignee: krita-bugs-n...@kde.org
          Reporter: paleh21...@proton.me
  Target Milestone: ---

Created attachment 162952
  --> https://bugs.kde.org/attachment.cgi?id=162952&action=edit
video demonstration

SUMMARY
Brush tips with long names (for example those generated as stamps) force
elements the brush editor window to scale to an unusable dimension. The user
have to manually rescale the window, which takes time and worsens the quality
of life.

STEPS TO REPRODUCE
(0. It's probably better to to set up a fresh resource folder)
1. Open the brush editor for a pixel engine brush
2. Go to Brush tip->Predefined
3. Click on "Stamp". Leave the name field empty.
4. Click on "Save New Brush Preset".

OBSERVED RESULT
After step 3 the newly generated brush tip name showed in the right side of the
screen is abbreviated as "xxxx....xxxx" (although, as evident from the video,
it is a little bit too long, forcing the list of brush tips on the left to
rescale). After step 4 it is no longer abbreviated, making the element of the
UI containing it to scale to unusable dimensions.

EXPECTED RESULT
The width of the cell with brush tip information should not depend on the
length of the name.
The displayed name should be always abbreviated to fit inside this cell.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 22.04
Wayland
Qt Version: 5.15.7
Appimage
single screen 1920x1080

ADDITIONAL INFORMATION
It was present in 5.1.5 but wasn't that much of a problem, because the full
window would rescale.
Present on master (krita-5.3.0-prealpha-e6ff66812a)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to