Bug 437197 - [PATCH] download progress bars scroll down in windows less than 80 characters wide
Summary: [PATCH] download progress bars scroll down in windows less than 80 characters...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-urlgrabber
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: James Antill
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 412711 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-12 20:16 UTC by Orion Poplawski
Modified: 2009-06-10 00:29 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-10 00:29:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
A patch to allow urlgrabber to take the terminal width into account (2.21 KB, patch)
2008-04-21 17:13 UTC, Mary Ellen Foster
no flags Details | Diff
Revised patch (2.92 KB, patch)
2008-04-21 17:24 UTC, Mary Ellen Foster
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 159208 0 None None None Never

Description Orion Poplawski 2008-03-12 20:16:14 UTC
Description of problem:

When running yum in a konsole window, I get output like:


Downloading Packages:
(1/1): libX11-debuginfo-1   0% |                         | 8.0 kB    05:00 ET
(1/1): libX11-debuginfo-1   0% |                         |  16 kB    04:57 ET
(1/1): libX11-debuginfo-1   0% |                         |  24 kB    04:42 ET
(1/1): libX11-debuginfo-1   1% |                         |  40 kB    04:15 ET

i.e., it scrolls down the page rather than overwritng the same line.  Works fine
in xterm.


Version-Release number of selected component (if applicable):
kdebase-4.0.2-2.fc9.i386

Comment 1 Rex Dieter 2008-03-12 21:47:05 UTC
I can't reproduce this.

Comment 2 Than Ngo 2008-03-13 11:07:28 UTC
i also can't reproduce it. I'm pretty sure it's a problem in your setting. 
Could you please try with new user? Or please check the konsole 
Settings->Input

Comment 3 Orion Poplawski 2008-03-13 15:30:52 UTC
I can reproduce with a new user.

Under Settings -> Edit Current Profile -> Input, Key Bindings is set to "Default
(XFree 4)".  Interestingly, all of the icons for the entries in the list are "?"s.

Also to note, I am doing "su -" before running yum.  TERM is set to xterm.

wget progress bars are fine.  Still looking for another program with progress
bars that does it...

Comment 4 Orion Poplawski 2008-03-13 18:23:15 UTC
Note that this is really the output of "urlgrabber".  I get the same with:

urlgrabber <url>



Comment 5 Steven M. Parrish 2008-04-09 17:38:26 UTC
Changed to component python-urlgrabber

Comment 6 Kevin Kofler 2008-04-09 17:44:31 UTC
That's because konsole was just short of the 80 char width urlgrabber expects, 
this is fixed in the latest kdebase.

*** This bug has been marked as a duplicate of 439638 ***

Comment 7 Orion Poplawski 2008-04-09 20:52:23 UTC
I don't think this should be a duplicate.  This is a problem in
python-urlgrabber not supporting windows less than 80 characters wide.  If the
python-urlgrabber maintainer wants to close "WONTFIX", that's fine by me - it's
not a big deal.

Comment 8 Mary Ellen Foster 2008-04-21 17:13:38 UTC
Created attachment 303171 [details]
A patch to allow urlgrabber to take the terminal width into account

Here's a patch that should make urlgrabber take the terminal width into account
...

Comment 9 Mary Ellen Foster 2008-04-21 17:24:01 UTC
Created attachment 303174 [details]
Revised patch

Oops, forgot that it prints something out at the end too.

Note that this dies horribly on terminals < 58 columns wide ...

Comment 10 Bug Zapper 2008-05-14 05:59:59 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 11 James Antill 2008-05-14 17:22:27 UTC
*** Bug 412711 has been marked as a duplicate of this bug. ***

Comment 12 Fedora Update System 2008-05-17 17:55:10 UTC
python-urlgrabber-3.0.0-8.fc9 has been submitted as an update for Fedora 9

Comment 13 Fedora Update System 2008-05-21 11:03:35 UTC
python-urlgrabber-3.0.0-8.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update python-urlgrabber'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-4241

Comment 14 Fedora Update System 2008-05-29 02:33:31 UTC
python-urlgrabber-3.0.0-8.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2008-07-10 22:02:01 UTC
python-urlgrabber-3.0.0-9.fc8 has been submitted as an update for Fedora 8

Comment 16 Fedora Update System 2008-07-17 14:19:16 UTC
python-urlgrabber-3.0.0-9.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Bug Zapper 2009-06-09 23:44:40 UTC
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '9'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 9's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 9 is 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 please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

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

Comment 18 Kevin Kofler 2009-06-10 00:29:19 UTC
The fix was already pushed to stable months ago according to Bodhi.


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