Ubuntu Dock briefly glitches (has a border and rounded corners) when unlocking the screen or VT switching

Bug #2035304 reported by Daniel van Vugt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell-extension-ubuntu-dock (Ubuntu)
Triaged
Low
Daniel van Vugt

Bug Description

Ubuntu Dock briefly has a border and rounded corners when it restarts (after VT switches or unlocking the screen). It looks like it takes a couple of frames to apply the correct appearance.

summary: - Ubuntu Dock has a border and rounded corners when it restarts
+ Ubuntu Dock briefly has a border and rounded corners when it restarts
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Ubuntu Dock briefly has a border and rounded corners when it restarts

Possible solutions in order of preference:

* Apply the extension's stylesheet before rendering the dock. That might just fix it.

* Apply the same slide-in animation (after LP: #2058468) to unlocking the screen.

tags: added: noble
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It seems the stylesheet *is* applied before the extension is activated. But even if I add an extra wait for "custom-stylesheets-changed", that's still too early for the dock/dash to know about the new style that's already been loaded and signalled. There's some other delay causing the dock to be rendered in the old style for the first frame or so.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Oh "custom-stylesheets-changed" happens several times on startup so maybe I hadn't waited for it to be signalled enough times. I'll try to revisit this again in the coming weeks.

summary: - Ubuntu Dock briefly has a border and rounded corners when it restarts
+ Ubuntu Dock briefly glitches (has a border and rounded corners) when
+ unlocking the screen or VT switching
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.