fthx / dock-from-dash

GNU General Public License v3.0
97 stars 20 forks source link

[proposal] increase `SHOW_DOCK_BOX_HEIGHT` so that it's easier to trigger #81

Closed bryango closed 1 year ago

bryango commented 1 year ago

I am using a dual monitor setup where the primary screen is on the top (labeled "2" in the settings view as shown below). In this case it's hard to place the cursor at the primary screen border; instead the cursor easily "falls through" the border into the lower screen. It's then nearly impossible to trigger the dock. (Also the animation looks weird as the dock will emerge from the lower screen and pop into the upper screen, but that's just a minor annoyance.)

I find that I can fix the problem by adjusting the constant: https://github.com/fthx/dock-from-dash/blob/b5f18b2bc93661244f55a5326b2e15a99c9e70aa/extension.js#L18 With SHOW_DOCK_BOX_HEIGHT = 20 I can finally trigger the show dock action. Would you consider increasing this constant, before a proper multiple screens implementation (#44) is completed? Thank you!

P.S. My dual monitor setup: primary screen on top (labeled "2" by the settings view)

bryango commented 1 year ago

This is less reliable than I had imagined. Unintended triggers happen now and then. Closing...