Bug 711616

Summary: report's newt interface is too wide for terminal
Product: [Fedora] Fedora Reporter: Jeff Bastian <jbastian>
Component: reportAssignee: Gavin Romig-Koch <gavin>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 15CC: gavin
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 711539 Environment:
Last Closed: 2012-08-07 19:19:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
patch to change upload destinations to a list none

Description Jeff Bastian 2011-06-07 22:38:22 UTC
+++ This bug was initially created as a clone of Bug #711539 +++

Description of problem:
If you add extra upload destinations with long names to report, the long names make the list of options too wide to fit in 80-char-wide terminal.

This is particularly a problem with Anaconda when installing in text mode since you cannot see all of the available options in an 80x24 screen.

Version-Release number of selected component (if applicable):
report-0.20-2.fc15

How reproducible:
every time

Steps to Reproduce:
1. Create /etc/report.d/foo.conf as shown:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~snip~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Example Incorporated Global Support (ftp1)]
priority=1
plugin=ftp
description="Plugin to send file to ftp1.example.com"
urldir=ftp://ftp1.example.com/

[Example Incorporated Global Support (ftp2)]
priority=2
plugin=ftp
description="Plugin to send file to ftp2.example.com"
urldir=ftp://ftp2.example.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~snip~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2. xterm -geometry 80x24 -e report --newt /etc/hosts

Actual results:
The list of upload destinations looks like:
──┐   ┌────────────────────────────────────────────┐   ┌───────┐   ┌───────────
) │   │ Example Incorporated Global Support (ftp2) │   │ local │   │ bugzilla.r
──┘   └────────────────────────────────────────────┘   └───────┘   └───────────

Expected results:
Switch to a vertical list with scrollbar

Comment 1 Jeff Bastian 2011-06-07 22:49:26 UTC
Created attachment 503583 [details]
patch to change upload destinations to a list

With this patch, the list is no longer cut off (although a small portion of the Example Inc names are cut-off, so maybe it should be wider):


                  ┌┤ Where do you want to send this report: ├┐
                  │                                          │
                  │ Example Incorporated Global Support (  ↑ │
                  │ Example Incorporated Global Support (  ▮ │
                  │ local                                  ▒ │
                  │ bugzilla.redhat.com                    ▒ │
                  │ scp                                    ▒ │
                  │ ftp                                    ▒ │
                  │                                        ▒ │
                  │                                        ↓ │
                  │      ┌────┐            ┌────────┐        │
                  │      │ OK │            │ Cancel │        │
                  │      └────┘            └────────┘        │
                  │                                          │
                  │                                          │
                  └──────────────────────────────────────────┘

Comment 2 Fedora End Of Life 2012-08-07 19:19:28 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping