Skip to content

Make resource tooltips less sticky

R. B. requested to merge tomtomtom/krita:tomtomtom/unsticktooltips into master

Currently in Krita, resource tooltips do not hide themselves when the cursor leaves the area of a particular resource item but stays in the list viewport. This gives off the feeling of sticky tooltips, and is a bit annoying.

The first commit makes it so that resource tooltips are only visible when hovering over an item.

The second commit removes tooltips for animation frames, as they currently give useless info (invalid thumbnail and a string regarding resource location).

Test Plan

Hover your cursor over resource list views and make sure tooltips are only shown when hovering over resource items, and not when hovering over the viewport.

Make sure there's no breakage from removing tooltips for animation frames.

Formalities Checklist

  • I confirmed this builds.
  • I confirmed Krita ran and the relevant functions work.
  • I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!)
  • I made sure my commits build individually and have good descriptions as per KDE guidelines.
  • I made sure my code conforms to the standards set in the HACKING file.
  • I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.
Edited by R. B.

Merge request reports