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

Hide soft cursor when mouse leaves window #948

Open
not-surt opened this issue Jan 30, 2016 · 11 comments
Open

Hide soft cursor when mouse leaves window #948

not-surt opened this issue Jan 30, 2016 · 11 comments

Comments

@not-surt
Copy link

It'd be nice if you could hide aseprite's soft cursor when the mouse leaves the window and the system cursor appears.
It's kind of ugly leaving the soft cursor behind and can be confusing when you inadvertently move the mouse off the window and what you think is the current cursor stops responding to mouse movements.
Particularly frustrating with a multi screen setup as cursor looks to still be on the screen you are looking at when it has actually moved to the neighbouring screen.

@dacap
Copy link
Member

dacap commented Jan 31, 2016

Hi @not-surt, the cursor should disappear when the mouse leaves the window, it should work on Windows and OS X, but I think there are some special cases where the cursor isn't hidden. Are you on Linux?

@not-surt
Copy link
Author

Yes, Xubuntu 15.10 amd64.
Same result in all desktop environments I've tried: XFCE, KDE Plasma, Gnome.
It has been this way for as far back as I can recall.

@dacap dacap added the linux label Feb 1, 2016
@dacap dacap added this to the v1.1 milestone Feb 1, 2016
@dacap dacap self-assigned this Feb 1, 2016
@dacap dacap closed this as completed in 3400cdb Feb 12, 2016
@not-surt
Copy link
Author

This is still occurring for me.
It does hide the cursor sometimes now however.
Seems to be about even chance that the cursor will be hidden or remain in the aseprtite window.

@dacap
Copy link
Member

dacap commented Feb 13, 2016

Does it happen when you just move the mouse and the Aseprite window is active? Or are there other situations? E.g. when you press Alt+key to change to other window, or you move the mouse over Aseprite window and it isn't the active window, etc.

@dacap
Copy link
Member

dacap commented Feb 13, 2016

Also, could you please tell me what window managers still have this problem now? I'm testing on Ubuntu 14.04 (compiz), and it looks to work just fine.

@not-surt
Copy link
Author

Still present for me in XFCE, KDE Plasma, Gnome.
Window active or inactive doesn;t seem to make a difference.
Easiest way to demonstrate is move cursor from inside aseprite window up and past the titlebar.
Just now noticed that if I move the cursor out of the window very slowly then it will reliably hide, but moving faster it won't hide.

@not-surt
Copy link
Author

Just did a clean install of Kubuntu 16.04 Beta and built from git and this is still happening for me.

@dacap
Copy link
Member

dacap commented Mar 1, 2016

I'll push a fix for this issue in a moment.

@Viomi
Copy link

Viomi commented Mar 1, 2016

I can confirm this is still happening, though I didn't even notice it until I read this issue.

Clarifying: The mouse disappears when moving slow or normal speeds. But when moving very quickly (especially when leaving through the titlebar), the cursor doesn't go away.

(Personally I'd mark this as low priority as it's not really a big issue and doesn't seem to be causing problems, but that's just me.)

@dacap dacap reopened this Mar 1, 2016
@dacap dacap changed the title Feature Request: Hide soft cursor when mouse leaves window Hide soft cursor when mouse leaves window Mar 3, 2016
@dacap dacap added the bug label Mar 3, 2016
@dacap dacap modified the milestones: v1.2, v1.1 Jul 26, 2016
@dacap
Copy link
Member

dacap commented Jul 26, 2016

I'll leave this for #139

@dacap dacap modified the milestones: v1.2, v1.3 Sep 12, 2017
@dacap dacap removed their assignment Sep 15, 2022
@juliapaci
Copy link

juliapaci commented Jan 1, 2024

i know this is super old but im not sure if im seeing the same bug here.

2024-01-01.20-29-54.mp4

aseprites cursor stays when the window is not in focus.
occurs when i move aseprites window to another tag/virtual desktop using my window manager (dwm) using mod+shift+number

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

No branches or pull requests

4 participants