[Bug 1872594] Re: Ubuntu logo shifts vertically when the login screen appears

Dimitri John Ledkov 1872594 at bugs.launchpad.net
Sat Nov 25 01:09:25 UTC 2023


In gnome shell:

Logo is aligned to 1 vertically, and then has margin of 3em

this._logoBin = new St.Widget({
    style_class: 'login-dialog-logo-bin',
    x_align: Clutter.ActorAlign.CENTER,
    y_align: Clutter.ActorAlign.END,
});

.login-dialog-logo-bin {
  margin: 3em 0; }

Where as in plymouth the Watermark has vertical alignment of

themes/bgrt/bgrt.plymouth.desktop:WatermarkVerticalAlignment=.96
view->watermark_area.y = screen_height * plugin->watermark_vertical_alignment - ply_image_get_height (plugin->watermark_image) * plugin->watermark_vertical_alignment;

Which means the margin in plymouth is 4% of screen height.

So one way to fix this is to make plymouth know what "3em" is and calculate that.
Or to teach gnome-shell to use 4% margin of the total screen.
I am going to try to do the latter.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to plymouth in Ubuntu.
https://bugs.launchpad.net/bugs/1872594

Title:
  Ubuntu logo shifts vertically when the login screen appears

Status in gnome-shell package in Ubuntu:
  Triaged
Status in plymouth package in Ubuntu:
  Triaged

Bug description:
  Ubuntu logo shifts upward about 1px when the purple login screen
  appears.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1872594/+subscriptions




More information about the foundations-bugs mailing list