-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
[Feature request] Take cursor acceleration into account when revealing hidden dock #30
Comments
No idea on how to measure the pointer speed here, as I just use the |
After some further consideration (during boring shopping), I think I could, to some degree, measure the speed the hotspot was entered with. I need to install GNOME and see what you're talking about, in order not to implement the feature I haven't even seen. |
My roommate has GNOME on his setup, I’ll ask him if I can screen record the dock behavior if you’re interested. A slight delay would also work well! |
Here’s a video of the behavior, sorry about the poor quality, OBS on GNOME wasn’t cooperating with Pipewire and I didn’t want to spend too much time troubleshooting a DE I don’t use: https://youtube.com/shorts/vUA6-XJ8OfY?feature=share |
I imagined it something like this. Will try to reproduce this behaviour, but I'm not sure if what I'm thinking about is going to work well. It'll turn out soon. |
So, it could be implemented this way: https://youtu.be/DAP22C-aGF0 What do you think? |
That is exactly what I had in mind! 👍 |
It needs some more work, but should be ready soon. |
That’s awesome man, thank you so much for the great work! |
I'm not 100% happy about it, but it works. You may check the add30 branch. |
I'm having trouble building it, but that's probably an issue with me not the project, I very rarely build things from source straight from github so I'm probably doing something wrong. When I run make build after running make get I get the following errors: Seems like some kind of mismatch with my sway version, maybe? |
No idea. Are you on Arch Linux? Do you use nwg-shell or just the dock? One way or another, it must wait till tomorrow, as it's almost 4 am in my place. |
I'm on Arch and have the whole nwg-shell installed, but not using nwg-panel. No worries man! |
Awesome! THank you so much for the quick work
…On Mon, Nov 14, 2022 at 6:44 PM Piotr Miller ***@***.***> wrote:
Closed #30 <#30> as completed
via #31 <#31>.
—
Reply to this email directly, view it on GitHub
<#30 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANTWYSPF5644PLHTJF5CBHDWILMIXANCNFSM6AAAAAAR6G3QDM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You're welcome. Thanks in advance for further feedback. :) |
I just wanted to drop back and say that it works great! Thank you again man! This really improved the usability of the dock for me |
Suggestion: When the dock is in autohide mode, do not unhide the dock unless the mouse reaches a certain threshold of downwards velocity when it is moving to the dock's trigger area.
Benefit: This will prevent users from accidentally revealing the dock and obscuring the bottom of windows they may be trying to work with during regular use.
Not sure if this is feasible/possible to implement in this project, but just a suggestion because it works really well in GNOME's dock to shell extension's implementation of it.
The text was updated successfully, but these errors were encountered: