Skip to content

Titlebar buttons bug for tab-bar auto-hide #450

@MysterV

Description

@MysterV

The titlebar (minimize, maximize, close) buttons extend below the topbar, like the rest of the topbar buttons, but unlike the rest, hovering over them triggers the topbar to unhide, which is annoying when you just want to access the tab menu.
I'm on Windows 11 btw

Current behavior

I hacked together a quick-fix solution, which works, it's not perfect, but it might serve as a starting point.
I couldn't figure out how to make the titlebar buttons not get squeezed when hiding like the rest of the top bar buttons that just fade away.

My quick fix

body:not(.is-mobile).tab-autohide.is-hidden-frameless .titlebar-button {
    height: 100%;
}

body:not(.is-mobile).tab-autohide:has(.mod-top>.workspace-tab-header-container:hover, .titlebar-button-container:hover) .titlebar-button {
    height: 44px;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions