Skip to content

Add more ability of autohide if only active windows.#297

Open
joevnpro wants to merge 5 commits intoicedman:mainfrom
joevnpro:main
Open

Add more ability of autohide if only active windows.#297
joevnpro wants to merge 5 commits intoicedman:mainfrom
joevnpro:main

Conversation

@joevnpro
Copy link

@joevnpro joevnpro commented Feb 27, 2026

Add more mode to improve autohide mode.

//HNV90. Declare mode of autohide
let mode1_allWindows = 1;
let mode2_onlyActiveWindows = 2;
let mode_selected = mode2_onlyActiveWindows;

Add ability of hide dock (in autohide mode) if right mouse menu/ Dropdown of other apps overlaps the dock.
(Because this dock is designed to be over all windows and Menu. It makes inconvenience when right mouse menu under the dock)

Modified to let the dock to be shown when enter overview mode from a state of an fullscreen app (the dock is hidden, but not show when enter overview mode)

  // The dock will show back when coming into Overview (from a state of an opened app with fullcreen status
    //Icon size from smaller to bigger.
Able to hide the dock if only it is the active windows overlaps the dock.

(still keep the original logic to switch/change in code)

Added support for MENU and DROPDOWN_MENU window types to improve dock hiding functionality based on window overlap.
Refactor autohide modes and clean up overlap checks.
Refactor comments for clarity and remove unnecessary lines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant