FineFindus / eyedropper

Pick and format colors
https://apps.gnome.org/Eyedropper
GNU General Public License v3.0
260 stars 26 forks source link

The picker cursor seems to have the wrong offsets #107

Closed starccy closed 8 months ago

starccy commented 8 months ago

Describe the bug

The mouse cursor changes to the color picker icon after clicking the "Pick a Color" button.

I expect the color selection to match the exact location of the icon, i.e. the lower left corner. But actually, it will select the color in the upper left corner.

To Reproduce

I created a picture containing four colors in different areas.

color_test

Steps to reproduce the behavior:

  1. Click the "Pick a Color" button.
  2. Move the cursor to the center.
  3. Left-click the mouse and the red color will be selected.

Expected behavior

The blue color should be selected.

Screenshots

Before picking the color

screenshot1

After picking the color (notice that the mouse cursor actually points to the red area)

screenshot2

Information

Debugging Information ``` Eyedropper: 1.0.0-b75e8a2 Profile: Devel Backend: X11 OS: - Name: "GNOME" - Version: "Nightly (Flatpak runtime)" Libraries: - GTK: 4.13.3 - Libadwaita: 1.5.0 Sandbox: Flatpak Info: - Name: com.github.finefindus.eyedropper.Devel - Runtime: runtime/org.gnome.Sdk/x86_64/master - Runtime commit: 99e70916dd03193cb9e043b5e9ca7363229a5c4d29106f2a58acceadecb66fcb - Arch: x86_64 - Flatpak Version: 1.14.4 - Devel: true Portal error: None ```
FineFindus commented 8 months ago

Thanks for the report, but this is caused by the used custom cursor theme. When using the default adwaita cursors, it correctly shows and picks the red square. Color picker cursor picking a red square