Skip to content

centered-cinnamon-dock: hide actor when hiding dock and no active menus, fix dock occupying screen area after hiding#1099

Open
Dodothereal wants to merge 1 commit into
linuxmint:masterfrom
Dodothereal:fix/1098-dock-still-occupy-screen-area-after-hidi
Open

centered-cinnamon-dock: hide actor when hiding dock and no active menus, fix dock occupying screen area after hiding#1099
Dodothereal wants to merge 1 commit into
linuxmint:masterfrom
Dodothereal:fix/1098-dock-still-occupy-screen-area-after-hidi

Conversation

@Dodothereal

Copy link
Copy Markdown

centered-cinnamon-dock: hide actor when hiding dock and no active menus, fix dock occupying screen area after hiding

Summary

The dock continues to occupy screen area and capture mouse clicks after hiding because the actor is scaled to 0,0 but not hidden. This change ensures that when the dock is hidden and there are no active menus, the actor is both scaled to 0,0 and hidden, allowing clicks to pass through.

Fixes #1098

Changes

  • Modified hidePanel function to call panel.actor.hide() when setting scale to 0,0 and there are no active menus.

Testing

  • Verified syntax with node -c on the modified file (no errors).
  • Reviewed the code logic to ensure the fix addresses the issue without introducing regressions.

AI assistance disclosure

This contribution was produced by an autonomous AI coding agent (Claude Code) that @Dodothereal operates and monitors. @Dodothereal is accountable for it, will address review feedback promptly, and will close this PR immediately if this kind of contribution is unwelcome in this project. Commits carry an Assisted-by: Claude Code trailer.

@claudiux

Copy link
Copy Markdown
Member

Ping @mostlynick3

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.

[centered-cinnamon-dock] Dock still occupy screen area after hiding

2 participants