Bug#575252: grub-pc: black frame around the background image
Quoted 4 lines · Francesco Muzio
The last uploaded version of grub2 behaves bad with any resolution allowed by vbeinfo
The default background image
/usr/share/images/desktop-base/moreblue-orbit-grub.pngisn't showed in fullscreen but there is a black frame around the grub menu
(grub-devel: This was originally filed at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575252.)
Yes, I see the same thing. This is because grub_gfxterm_fullscreen hardcodes a 10-pixel border around the edge of the screen. If the background is just plain black, then this is fine, but it's not very helpful with a background image which tends to be designed for the full screen size.
Of course designers *could* design for the full screen size minus 10 pixels all round, but it seems a rather odd requirement to place on them; the 10-pixel border should essentially be so that text isn't drawn too close to the edge of the screen, not so much to restrict the background image. And, if you're arranging for the background image to stay on the screen and transition relatively smoothly into an OS splash screen, then the border looks actively weird: see
http://people.canonical.com/~cjwatson/tmp/fbcon-handoff.ogv around 0:13 for an example, as Plymouth repaints the whole background image without the black border.
What's the best way to fix this? Perhaps the background_image command should disregard the border?
Signature · 1 line
Colin Watson [[email protected]]
Quoted 27 lines · Colin Watson
Quoted 5 lines · Francesco Muzio
The last uploaded version of grub2 behaves bad with any resolution allowed by vbeinfo
The default background image
/usr/share/images/desktop-base/moreblue-orbit-grub.pngisn't showed in fullscreen but there is a black frame around the grub menu(grub-devel: This was originally filed at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575252.)Yes, I see the same thing. This is because
grub_gfxterm_fullscreenhardcodes a 10-pixel border around the edge of the screen. If the background is just plain black, then this is fine, but it's not very helpful with a background image which tends to be designed for the full screen size.Of course designers *could* design for the full screen size minus 10 pixels all round, but it seems a rather odd requirement to place on them; the 10-pixel border should essentially be so that text isn't drawn too close to the edge of the screen, not so much to restrict the background image. And, if you're arranging for the background image to stay on the screen and transition relatively smoothly into an OS splash screen, then the border looks actively weird: see
http://people.canonical.com/~cjwatson/tmp/fbcon-handoff.ogv around 0:13 for an example, as Plymouth repaints the whole background image without the black border.
Quoted 4 lines
What's the best way to fix this? Perhaps the
background_imagecommand should disregard the border?
The clean way would be to show image on the whole screen. It would require some code restructuring. It's just not high enough on the list of my priorities but I'll gladly accept the patch
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko