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.
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.