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

            Bug ID: 431220
           Summary: The Palette docker tooltip has inadequate behaviour
                    with particular swatch names
           Product: krita
           Version: unspecified
          Platform: Mint (Debian based)
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Dockers
          Assignee: krita-bugs-n...@kde.org
          Reporter: ahab.greybe...@hotmail.co.uk
  Target Milestone: ---

Created attachment 134611
  --> https://bugs.kde.org/attachment.cgi?id=134611&action=edit
Demo palette for this bug

SUMMARY
Tested with the Jan 05 4.4.3 (git 79dcac7) appimage but it goes back to 4.3.0.

If palette swatch names are identical, as is the case for the common "Untitled"
swatch colours or if the internal names are blank, the tooltip that gives the
name of a swatch is not updated in its positon or its displayed value.

This bug is closely associated with a Wishlist bug that is identified in
Comment 1 below.
This bug will probably need to be resolved before that Wishlist bug is
implemented.

A palette, NameBugDemo, is attached for ease of demonstration.

STEPS TO REPRODUCE
1. Import and select the NameBugDemo palette for use in the Palette docker.
2. Hover the cursor over and along the top row of swatches, which all have
obviously named colours.
3. Move the cursor from one of the top row swatches to one of the second row
swatches, which are all called "Untitled", then move the cursor along the
second row swatches.
4. Move the cursor to the third row of swatches, which all have obvious names.
5. Move the cursor to the fourth row of swatches which have blank internal
names.
5. Move the cursor along the fourth row of swatches.

OBSERVED RESULT
2. The tooltip name updates and follows the cursor as the cursor moves over the
different swatches.
3. The name "Untitled" is displayed but its location does not follow the cursor
movement along the row of swatches.
4. Same as 2.
5. The tooltip swatch name is not updated.
6. The tooltip does not follow the cursor.

EXPECTED RESULT
3. The displayed name should move to follow the cursor along the swatches.
5. The displayed name should update to indicate a blank name, in some way
6. The tooltip should follow the cursor.

SOFTWARE/OS VERSIONS
Krita

 Version: 4.4.3-alpha (git 79dcac7)
 Languages: en_GB, en, en, en_GB, en
 Hidpi: false

Qt

  Version (compiled): 5.12.9
  Version (loaded): 5.12.9

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.19.0-13-amd64
  Pretty Productname: Debian GNU/Linux 10 (buster)
  Product Type: debian
  Product Version: 10
  Desktop: MATE

OpenGL Info

  Vendor:  "NVIDIA Corporation" 
  Renderer:  "GeForce GTX 750 Ti/PCIe/SSE2" 
  Version:  "4.6.0 NVIDIA 450.80.02" 
  Shading language:  "4.60 NVIDIA" 
  Requested format:  QSurfaceFormat(version 3.0, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8,
stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer,
swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::CompatibilityProfile) 
  Current format:    QSurfaceFormat(version 4.6, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8,
stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer,
swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile 
QSurfaceFormat::CompatibilityProfile) 
     Version: 4.6
     Supports deprecated functions true 
     is OpenGL ES: false 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: true 
  isQtPreferOpenGLES: false 

Hardware Information

  GPU Acceleration: auto
  Memory: 16039 Mb
  Number of Cores: 8
  Swap Location: /tmp

Current Settings

  Current Swap Location: /tmp
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 30
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Use AMD Vectorization Workaround: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 900
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false

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

Reply via email to