catppuccin / cursors

🐁 Soothing pastel cursors for GTK/Plasma/Hyprland
GNU General Public License v2.0
460 stars 16 forks source link

Incorrect offset on hand #46

Closed Optimoos closed 1 month ago

Optimoos commented 1 month ago

Since the update to 1.0, I've noticed that the pointing hand cursor (the one that comes up when hovering a link) seems to be incorrectly offset. The pointing location appears to be in the palm instead of at the end of the finger. I've only tested this with macchiato, but it's happening with multiple colors and sizes. Everything works as expected with the default theme.

I'm on Arch, installed from AUR.

Blatant22 commented 1 month ago

Can confirm this, also on Arch using catppuccin-cursors-macchiato from the AUR. Required to focus selections via the thumb instead of the index finger.

Cofeiini commented 1 month ago

I have the same issue with catppuccin-cursors-mocha, but modifying the "hotspot_y" value in /usr/share/icons/catppuccin-mocha-dark-cursors/cursors_scalable/pointer/metadata.json (or where the cursor themes are installed) and reloading the theme seems to fix this. I tried with 7.0 and it worked pretty well.

Manually editing the metadata is a temporary solution though.

Covkie commented 1 month ago

try https://github.com/catppuccin/cursors/actions/runs/11506786858 the hotspot should now be correct across all cursors

jinliu commented 1 month ago

You can remove display="none" in "cursor_scalable/*.svg" and do a visual check on hotspots.

Here's my check results (haven't checked all):

  1. alt-scroll => 15.5, 15.5
  2. bottom-left-corner => 6.0, 26.0
  3. bottom-right-corner => 7.0, 26.0
  4. bottom_size => 16.0, 21.5

Please note that the top-left corner of the "hotspot" rectangle is used as the hotspot, not its center.

sgoudham commented 1 month ago

I won't be able to test https://github.com/catppuccin/cursors/pull/47 until the weekend.

I'd appreciate if someone else could confirm if the PR fixes all the hotspot values.