Skip to content

Commit 279657e

Browse files
committed
fix(dash): recalculate container size on icon changes during IntelliHide
1 parent f772b6d commit 279657e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/ui/dash.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,14 @@ export class AuroraDash extends Dash {
261261
return;
262262
}
263263

264+
// Recalculate the container size to account for icon changes that
265+
// occurred while the dock was hidden (e.g. apps opened/closed during
266+
// IntelliHide BLOCKED state). Without this, the container can retain
267+
// a stale width and clip the last icons or overlap the show-apps button.
268+
if (this._workArea) {
269+
this.applyWorkArea(this._workArea);
270+
}
271+
264272
// Reset all transforms BEFORE making visible so Clutter never sees the
265273
// actor at a stale position (avoids "needs an allocation" warnings and
266274
// prevents _queueTargetBoxUpdate from reading a wrong transformed Y).

0 commit comments

Comments
 (0)