Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse default cursor hotspot in the wrong place #1065

Closed
i3bot opened this issue Aug 18, 2013 · 12 comments
Closed

Mouse default cursor hotspot in the wrong place #1065

i3bot opened this issue Aug 18, 2013 · 12 comments
Assignees
Labels

Comments

@i3bot
Copy link

i3bot commented Aug 18, 2013

[Originally reported by tenkainen@…]
(The arrow cursors hotspot is in the center, not in the tip. Other cursors are fine, such as text selection or hand.
Works normally in other window managers.

@stapelberg
Copy link
Member

What do you mean by hotspot? Can you provide a screenshot of the behavior in i3 and in other WMs? Can you provide your cursor theme if you use any? Can you add the result of xprop -root?

Thanks.

@i3bot
Copy link
Author

i3bot commented Aug 18, 2013

[Original comment by jebaum@…]

I'm pretty sure what he means by 'hotspot' is the exact pixel that is clicked, eg if the tip of the pointer is on some clickable thing but the middle of it is not, it won't be clicked.

@i3bot
Copy link
Author

i3bot commented Aug 19, 2013

[Original comment by tenkainen@…]

Yes, the clickable point of the cursor is not in the usual location, eg in the tip of the arrow, but in the center of the cursor.

Same problem on all cursor themes. And on the default cursor, normally the arrow. Other cursors, such as a hand appearing on links is unaffected.
Only i3 has the problem. Other wms are fine.

Xprop -root:
http://pastebin.com/xzuJap4w

Cannot sshot the cursor anymore, doesn't appear. So took a bad camera picture to lighten the situation:
http://i.imgur.com/8L7gyRH.jpg
So that is the top of the screen. As you can see, the cursor goes too high, normally the tip should still be showing, now the top half is over the screen edge.

@i3bot
Copy link
Author

i3bot commented Aug 19, 2013

[Original comment by tenkainen@…]

Made a gif screencast to better describe it:
http://i.imgur.com/dHmxgRx.gif

As you can see, only the arrow (default) cursor is wonky.

@i3bot
Copy link
Author

i3bot commented Aug 19, 2013

[Original comment by felicitus+i3wm@…]

I can confirm the issue; however, I have not tried other WMs so far. My OS is Debian Jessie with up-to-date packages.

@i3bot
Copy link
Author

i3bot commented Aug 19, 2013

[Original comment by felicitus+i3wm@…]

The issue is present in 4.6.1-1+g4.6-40-g431e98d1. The issue is not present in 4.6-1 (Debian Jessie package). This is definitely an i3 issue.

@stapelberg
Copy link
Member

It’s not an i3 issue, it’s a libxcb-util-cursor issue. i3 is the only program (I know of) using that library so far, so this is why it seems like an i3 issue :).

Will look into this soon, but it might take a few hours so I can’t make any promises for a quick fix. Patches very welcome.

@stapelberg
Copy link
Member

I can reproduce the issue with the default cursor (no theme).

@stapelberg
Copy link
Member

This is fixed in http://cgit.freedesktop.org/xcb/util-cursor/commit/?id=72d3e9f999c958b6b74f868fcb3f64117a57ac32

Can you please install that library from source (or rebuild your package) and confirm that the issue is fixed? I can release a new version then.

@i3bot
Copy link
Author

i3bot commented Aug 21, 2013

[Original comment by tenkainen@…]

Installed the library, problem persists.

@i3bot
Copy link
Author

i3bot commented Aug 21, 2013

[Original comment by tenkainen@…]

Replying to comment 10 by tenkainen@…:

Installed the library, problem persists.

Fix worked actually. Confusion about multiarch.

@stapelberg
Copy link
Member

xcb-util-cursor 0.1.0 was released and addresses this problem.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants