Bug 816522 - grub menu entry editor confused by tabs in config
Summary: grub menu entry editor confused by tabs in config
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F17-accepted, F17FinalFreezeExcept
TreeView+ depends on / blocked
 
Reported: 2012-04-26 10:26 UTC by Michal Schmidt
Modified: 2012-04-30 23:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-30 23:10:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Schmidt 2012-04-26 10:26:00 UTC
Description of problem:
It appears that the GRUB menu gets confused by tab characters in the config. Long lines overflow the editing box and it is very difficult to edit the entries, because the cursor position appears in places inconsistent with the text edited.

Version-Release number of selected component (if applicable):
grub2-1.99-19.fc17

How reproducible:
always

Steps to Reproduce:
1. Make sure you are actually using the current GRUB version: grub2-install /dev/vda
2. Reboot
3. Press 'e' in the GRUB menu.
4. Use the cursor keys, try to get to the end of a line. Try editing something.
  
Actual results:
You won't reach the visible end of the line.
When you start typing something, you're actually editing text that does not lie exactly at the place where the cursor appears.

Expected results:
Consistently usable menu editor.

Additional info:
This may present a difficulty for debugging boot problems. We often need people to edit their kernel command line.
Fixing this post-release may be a problem, because AFAIK updating the grub2 package does not actually cause the new version to be used for the next boots.

I built grub2-2.0-0.23 from Fedora git and it seems to be fixed there. Can we get it into F17?

Comment 1 Michal Schmidt 2012-04-26 10:30:12 UTC
I forgot to mention that it affects the default installation. No configuration changes are necessary to reproduce the bug.

Comment 2 Mads Kiilerich 2012-04-30 23:10:06 UTC
grub2-2.0-0.24.beta4.fc17 has been pushed to f17 stable - closing


Note You need to log in before you can comment on or make changes to this bug.