diff --git a/debian/changelog b/debian/changelog index 70918f6..ccdb4cb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +desktop-base (9.0.1) UNRELEASED; urgency=medium + + [ Aurélien COUDERC ] + * On Lines Plymouth splash, ensure password field doesn’t bump into the + Debian image even for smaller height screens. (Closes: #774226) + + -- Aurélien COUDERC Tue, 03 Jan 2017 21:50:10 +0100 + desktop-base (9.0.0) unstable; urgency=medium [ Aurélien COUDERC ] diff --git a/lines-theme/plymouth/lines.script b/lines-theme/plymouth/lines.script index 7366516..43ab288 100644 --- a/lines-theme/plymouth/lines.script +++ b/lines-theme/plymouth/lines.script @@ -213,6 +213,10 @@ fun TextYOffset() { if (y + text_height > min_height) y = min_height - text_height; + # Ensure we don’t bump into the Debian8 image. + # The approx height of the 3 text lines + password input is 140 px. + y = Math.Min(y, debian8_sprite.GetY() - 140); + return y; }