tags 322885 + confirmed
tags 322885 + patch
forwarded 322885 [EMAIL PROTECTED]
thanks

hi Ray,

On Sat, Aug 13, 2005 at 11:58:54AM +0200, J.H.M. Dassen (Ray) wrote:
> I run raggle inside screen inside aterm. When I use 'n' to go to the next
> entry, the "Description" window doesn't get replaced completely: when a line
> in the new description is shorter than the corresponding line in the
> previous description, the new display contains a leftover string from the
> previous description, which makes it hard to read the new display. Forcing a
> redraw through ctrl-L doesn't help.
> 
> Raggle should update the complete display on 'n', e.g. by filling out lines
> with spaces.
> 
> Here's an illustration, produced using the attached feed.
> 
> l Description qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
> xLinux:  LKML Upgrade                                 x
> xLink: http://kerneltrap.org/node/5541                x
> xDate: Wed, 10 Aug 2005 05:05:19 -0700                x
> x                                                     x
> xThe server that handles the Linux Kernel Mailing     x
> xList[1] [archive[2]] recently got an upgrade. Matti  x
> mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
> 
> In the next item, the last line is one character shorter than this one's
> last line, and the "i" from "Matti" is still there on 'n':
> 
> l Description qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
> xLinux:  Git Homepage                                 x
> xLink: http://kerneltrap.org/node/5533                x
> xDate: Mon, 08 Aug 2005 06:51:31 -0700                x
> x                                                     x
> xPetr Baudis announced the creation of a homepage     x
> xfor git[1], the directory content manager used to i  x <-
> mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
>                                                    ^
>                                                    |
> 
> In the following entry, both lines are shorter than above, so there are two
> leftovers: "page" (from "homepage") and "d to i" ("d to " from "used to "
> and "i" from Matti").
> 
>                                              1111
>                                              vvvv
> l Description qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
> xLinux:  Weekly Status Summaries                      x
> xLink: http://kerneltrap.org/node/5528                x
> xDate: Fri, 05 Aug 2005 10:33:21 -0700                x
> x                                                     x
> x2.6 Linux kernel maintainer Andrew Morton [epage     x <- 1
> xinterview[1]] posted his first kernel status d to i  x <- 2
> mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
>                                               ^^^^^^
>                                               ||||||
>                                               222222

thanks for your detailed description. I was able to reproduce this
behavior with other feeds as well. Attached, a short patch which (at
least i think) fixes this issue. Pabs: http://bugs.debian.org/322885 for
the full report. :)

bye,
    - michael
--- raggle.orig 2005-08-13 14:01:20.318514816 +0200
+++ raggle.fixed        2005-08-13 14:01:40.900385896 +0200
@@ -3065,6 +3065,11 @@
 
           # draw item content
           if item['content']
+          
+            # clear the description window before drawing the text
+            win = 
$wins[Raggle::Interfaces::NcursesInterface::get_win_id('desc')]
+            win.clear
+
             y += 1
             if !item['fmt_content']
               str = item['content'] || ''

Attachment: signature.asc
Description: Digital signature

Reply via email to