[Bug 779169] New: Grub theme is unaligned on screen
https://bugzilla.novell.com/show_bug.cgi?id=779169 https://bugzilla.novell.com/show_bug.cgi?id=779169#c0 Summary: Grub theme is unaligned on screen Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: luizluca@tre-sc.gov.br QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0 Hello, When I installed the opensuse on a vbox machine, the grub theme looks very ugly, unaligned with the screen. I'll attach a screenshot. Reproducible: Always Steps to Reproduce: 1.installs opensuse 12.2 on a vbox 2.waits for the boot loader Actual Results: 3.grub works but the theme looks ugly Expected Results: 3.the timeout scroll bar is too much to the right -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c1
--- Comment #1 from Luiz Angelo Daros de Luca
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c2
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c3
--- Comment #3 from Luiz Angelo Daros de Luca
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c4
Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c5
Luiz Angelo Daros de Luca
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c6
Jeffrey Cheung
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c7
Luiz Angelo Daros de Luca
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c8
Luiz Angelo Daros de Luca
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c9
--- Comment #9 from Jeffrey Cheung
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c
Jeffrey Cheung
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c10
Luiz Angelo Daros de Luca
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c11
Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c12
--- Comment #12 from Michael Chang
This might not be the opensuse grub2 version but I also found similar code in a older version of grub. Grub uses a minimum size of 200px or the size needed to display the text. As it is very long "The highlighed entry...", it defines the progressbar size. Also, there is some spacing (pad?) between "The" and the beginning of the progress bar (about 30px for me), which requires a little bit more space. So, when the minimum width is greater than 40% of screen width, this bug is triggered.
You're right.
I don't know if it is possible but a permanent solution would be to define somehow the progressbar position to be hoz aligned at the center, no matter which size the progressbar would take.
Hm. I think you'd better take a look at theme file under /boot/grub2/themes/openSUSE/theme.txt and fiddle some options in it. For example I changed the font size from 12 to 10 and the result looks good at resolution 640x480. + progress_bar { .. font = "DejaVu Sans Regular 10" .. } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c13
--- Comment #13 from Michael Chang
Hm. I think you'd better take a look at theme file under /boot/grub2/themes/openSUSE/theme.txt and fiddle some options in it. For
Okay. You should aware this file already (per comment#7), somehow I overlooked it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c14
--- Comment #14 from Michael Chang
I don't know if it is possible but a permanent solution would be to define somehow the progressbar position to be hoz aligned at the center, no matter which size the progressbar would take.
It seems no way to do that from the grub2 manual. This is not a grub2 bug as the relevant properties are working as how they were implemented. My suggestions is to use per resolution theme files that are fined tune for specified resolution from art team but that would require changes to branding packages. Or we use @TIMEOUT_NOTIFICATION_SHORT@ for the progress bar text to keep the single theme file configuration to tackle this problem. Any oppose to use @TIMEOUT_NOTIFICATION_SHORT@ (or @TIMEOUT_NOTIFICATION_MIDDLE@ )?. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c15
--- Comment #15 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c16
Richard Brown
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c17
--- Comment #17 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c18
--- Comment #18 from Luiz Angelo Daros de Luca
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c19
--- Comment #19 from Luiz Angelo Daros de Luca
https://bugzilla.novell.com/show_bug.cgi?id=779169
https://bugzilla.novell.com/show_bug.cgi?id=779169#c20
Michael Chang
participants (1)
-
bugzilla_noreply@novell.com