-
-
Notifications
You must be signed in to change notification settings - Fork 16
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] Allow for increasing the activation area in autohide mode #65
Comments
This has been done some time ago, and now the hotspot area takes a half of the dock with, if I remember well. Do you know that the pointer speed is important? Slow mouse movement won't trigger the dock. Otherwise some part of the screen would be permanently unclickable. |
@nwg-piotr could it be related to my styles perhaps? I have to put the cursor at the very center of the bottom of the screen, I have to aim well for the dock to appear
|
The hotspot css is embedded in the code. However, its dimensions are not defined here, but with mRefProvider, _ := gtk.CssProviderNew()
css := "window { background-color: rgba (0, 0, 0, 0); border: none}"
err := mRefProvider.LoadFromData(css) I painted the hotspot red for it to be visible. It's really quite large and easy to find, I think. |
@nwg-piotr then It looks like I might have a bug in my config because for me the activation spot is just a tiny spot in the bottom center of the screen |
Maybe not quite related to this, but I think an option for the activation are would be nice, since I use nwg-dock-hyprland with with |
I have the same issue, when applying a bottom margin it's nearly impossible to hit the hotspot. @nwg-piotr Would it be possible to have the possibility to adjust the css in the user config so we could take the margin into account? |
I don't think it's going to help, but here you go. |
Use e.g. window {
background-color: rgba (0, 0, 0, 0);
border: solid 1px
} to see the hotspot. |
hotspot.mp4Thanks for the option to set the hotspot css - but is the hotspot working as intended? I think the video shows why it is probably so difficult to try and hit the hotspot, as well as why I am constantly skipping over it with a bottom margin, since for me the actual hotspot activation area seems to only consist of a one pixel line at the bottom of the box, where as I assume it should be the whole area in red? |
Thank you @nwg-piotr I experience and see the hotspot the same as @arminius-smh, the hotspot seem to behave differently when there is no bottom margin. it is a combination of mouse speed and exactly hitting the right spot that only opens the dock in my case... again, not a huge issue rather a annoynace |
We measure the time between Your problem is the margin, that does not go well with the autohiDe mode: the pointer leaves the hotspot area. The only solution I see is to keep the hotspot at the very edge of the screen, by omitting margins (for the hotspot, not all the dock). |
Done in the commit above. |
Ah I see, thanks for explaining it, I wasn't aware that there are actually two boxes to determine when to open the dock
Yes, thanks that solution works perfectly for me now and the dock behaves as expected and nicely with a margin! |
Thanks for confirmation! |
in autohide mode only a very tiny portion on my desktop opens the panel, a lot of time I struggle finding that perfect sweet spot, please allow for a setting where I can increase the area that would activate it
The text was updated successfully, but these errors were encountered: