fthx / dock-from-dash

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

App menu should not hide when hovered #28

Closed fthx closed 2 years ago

fthx commented 2 years ago

There's a timeout that do close the dock, so an opened app menu too if applicable. The app menu should be shown as long as hovered.

Problem here: before GS 42, this menu was a part of the hover signal of the dash (dock here), but no more in GS 42. When a menu is opened, the dash/dock is no more considered as hovered, so will auto hide after a timeout. So the challenge is to detect if this menu is hovered AND detect if it's no more hovered too, to auto-hide the dock.

fthx commented 2 years ago

@rastersoft

fthx commented 2 years ago

https://github.com/fthx/dock-from-dash/commit/fa21caf95e7cafc947e145ae53682333476b6014 The new necessary code is very short if we put some functions in Dash class.