Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions panels/dock/package/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,7 @@ Window {
function onHideStateChanged() {
if (Panel.hideState === Dock.Hide) {
hideTimer.running = true
Panel.requestClosePopup()

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 High · Dock and popup stay visible

When an overflow popup is open and the user moves away in smart-hide or keep-hidden mode, DockHelper::checkNeedHideOrNot() keeps needHide false while the popup is in m_transientChildShows, so Panel.hideState never becomes Dock.Hide and onHideStateChanged() never reaches Panel.requestClosePopup(); the dock and popup stay visible.

Close the transient popup before the transient-child check prevents needHide from becoming true.

Prompt for AI agents
In `panels/dock/package/main.qml` at line 777:

**Dock and popup stay visible**

When an overflow popup is open and the user moves away in smart-hide or keep-hidden mode, `DockHelper::checkNeedHideOrNot()` keeps `needHide` false while the popup is in `m_transientChildShows`, so `Panel.hideState` never becomes `Dock.Hide` and `onHideStateChanged()` never reaches `Panel.requestClosePopup()`; the dock and popup stay visible.

Close the transient popup before the transient-child check prevents `needHide` from becoming true.

} else {
// Only restart animation if not already running or if visible state doesn't match
if (!hideShowAnimation.running || !dock.visible) {
Expand Down
Loading