Debian Bug report logs - #499596
mutt-patched: sidebar does not display properly with some contents in message pane

version graph

Package: mutt-patched; Maintainer for mutt-patched is (unknown);

Reported by: sean finney <seanius@debian.org>

Date: Sat, 20 Sep 2008 12:39:09 UTC

Severity: normal

Tags: confirmed

Merged with 499985

Found in versions mutt/1.5.21-3, mutt/1.5.18-4, mutt/1.5.22-1, mutt/1.5.21-6.2+deb7u1

Fixed in version mutt/1.6.2-1

Done: Faidon Liambotis <paravoid@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Christoph Berg <myon@debian.org>:
Bug#499596; Package mutt-patched. (Sat, 20 Sep 2008 12:39:13 GMT) (full text, mbox, link).


Acknowledgement sent to sean finney <seanius@debian.org>:
New Bug report received and forwarded. Copy sent to Christoph Berg <myon@debian.org>. (Sat, 20 Sep 2008 12:39:13 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: sean finney <seanius@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mutt-patched: sidebar does not display properly with some contents in message pane
Date: Sat, 20 Sep 2008 11:48:37 +0200
[Message part 1 (text/plain, inline)]
Package: mutt-patched
Version: 1.5.18-4
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

it seems that some contents in the message pane result in blanking the
contents of the respective line in the sidebar.  it's kind of hard to
describe, so i've attached two screenshots.  the second screenshot is
after hitting enter like 5-6 times, and you can see that the list of 
mailboxes is blanked out and the frame border is also erased for a span
of about 6 lines.  hitting ctrl-L redraws them correctly, so i think the
sidebar patch needs to be a little smarter about when/how to redraw
its contents.


  sean

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mutt-patched depends on:
ii  libc6                 2.7-13             GNU C Library: Shared libraries
ii  libcomerr2            1.41.1-3           common error description library
ii  libgdbm3              1.8.3-4            GNU dbm database routines (runtime
ii  libgnutls26           2.4.1-1            the GNU TLS library - runtime libr
ii  libidn11              1.9-1              GNU libidn library, implementation
ii  libkrb53              1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
ii  libncursesw5          5.6+20080906-1     shared libraries for terminal hand
ii  libsasl2-2            2.1.22.dfsg1-23    Cyrus SASL - authentication abstra
ii  mutt                  1.5.18-4           text-based mailreader supporting M

mutt-patched recommends no packages.

mutt-patched suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFI1MbzynjLPm522B0RAt3kAJ48b17CubrGPBvkcwAMCbyqExHVfgCfYo9b
+Dl9jpAMXJkydFGIpbgcT+M=
=cImC
-----END PGP SIGNATURE-----
[mutt-sidebar-bug.1.png (application/octet-stream, attachment)]
[mutt-sidebar.bug.2.png (application/octet-stream, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Antonio Radici <antonio@dyne.org>:
Bug#499596; Package mutt-patched. (Sun, 10 Apr 2011 03:33:15 GMT) (full text, mbox, link).


Acknowledgement sent to Julien Valroff <julien@debian.org>:
Extra info received and forwarded to list. Copy sent to Antonio Radici <antonio@dyne.org>. (Sun, 10 Apr 2011 03:33:15 GMT) (full text, mbox, link).


Message #10 received at 499596@bugs.debian.org (full text, mbox, reply):

From: Julien Valroff <julien@debian.org>
To: Debian Bug Tracking System <499596@bugs.debian.org>
Subject: Re: sidebar does not display properly with some contents in message pane
Date: Sat, 9 Apr 2011 22:20:09 +0200
Package: mutt-patched
Version: 1.5.21-3
Followup-For: Bug #499596

I am experiencing the same problem. I have found that this is linked to the
wrapped lines (ie. the sidebar is "mangled" where the first wrapped line of
an email is displayed in the pager).

Further more, this glitch only appears when using the mini index
(pager_index_lines).

I have tried and set different values for related configuration variables
without success.

However, I have tried building the package against slang and I cannot
reproduce the issue.

Cheers,
Julien

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mutt-patched depends on:
ii  libc6                     2.11.2-13      Embedded GNU C Library: Shared lib
ii  libcomerr2                1.41.12-2      common error description library
ii  libgnutls26               2.10.5-1+b1    the GNU TLS library - runtime libr
ii  libgpg-error0             1.10-0.3       library for common error values an
ii  libgpgme11                1.2.0-1.2      GPGME - GnuPG Made Easy
ii  libgssapi-krb5-2          1.9+dfsg-1     MIT Kerberos runtime libraries - k
ii  libidn11                  1.20-1         GNU Libidn library, implementation
ii  libk5crypto3              1.9+dfsg-1     MIT Kerberos runtime libraries - C
ii  libkrb5-3                 1.9+dfsg-1     MIT Kerberos runtime libraries
ii  libncursesw5              5.8+20110307-1 shared libraries for terminal hand
ii  libsasl2-2                2.1.23.dfsg1-8 Cyrus SASL - authentication abstra
ii  libtokyocabinet8          1.4.37-6       Tokyo Cabinet Database Libraries [
ii  mutt                      1.5.21-3       text-based mailreader supporting M

mutt-patched recommends no packages.

mutt-patched suggests no packages.

-- no debconf information

-- 
  .''`.   Julien Valroff ~ <julien@kirya.net> ~ <julien@debian.org>    
 : :'  :  Debian Developer & Free software contributor
 `. `'`   http://www.kirya.net/
   `-     4096R/ E1D8 5796 8214 4687 E416  948C 859F EF67 258E 26B1





Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#499596; Package mutt-patched. (Sat, 30 Apr 2011 22:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Antonio Radici <antonio@dyne.org>:
Extra info received and forwarded to list. (Sat, 30 Apr 2011 22:36:03 GMT) (full text, mbox, link).


Message #15 received at 499596@bugs.debian.org (full text, mbox, reply):

From: Antonio Radici <antonio@dyne.org>
To: 499596@bugs.debian.org, 499985@bugs.debian.org
Subject: mutt-patched: sidebar does not display properly with some contents in message pane
Date: Sat, 30 Apr 2011 22:38:26 +0000
forcemerge 499596 499985
thanks

force-merging 499985 on 499596 as they are siilar issues both related to
displaying continuation chars when the lines are wrapped.

Cheers
Antonio




Forcibly Merged 499596 499985. Request was from Antonio Radici <antonio@dyne.org> to control@bugs.debian.org. (Sat, 30 Apr 2011 22:36:08 GMT) (full text, mbox, link).


Added tag(s) confirmed. Request was from Antonio Radici <antonio@dyne.org> to control@bugs.debian.org. (Sat, 30 Apr 2011 22:45:02 GMT) (full text, mbox, link).


Marked as found in versions mutt/1.5.22-1. Request was from Evgeni Golov <evgeni@debian.org> to control@bugs.debian.org. (Sat, 08 Mar 2014 22:09:04 GMT) (full text, mbox, link).


Marked as found in versions mutt/1.5.21-6.2+deb7u1. Request was from Evgeni Golov <evgeni@debian.org> to control@bugs.debian.org. (Sat, 08 Mar 2014 22:09:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Antonio Radici <antonio@dyne.org>:
Bug#499596; Package mutt-patched. (Wed, 26 Mar 2014 20:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to mancha <mancha1@zoho.com>:
Extra info received and forwarded to list. Copy sent to Antonio Radici <antonio@dyne.org>. (Wed, 26 Mar 2014 20:39:05 GMT) (full text, mbox, link).


Message #28 received at 499596@bugs.debian.org (full text, mbox, reply):

From: mancha <mancha1@zoho.com>
To: 499596@bugs.debian.org
Cc: antonio@dyne.org
Subject: Fix attached (bug #499596)
Date: Wed, 26 Mar 2014 20:14:02 +0000
[Message part 1 (text/plain, inline)]
Hello.

As mentioned in message #10, the problem arises when wrapping lines and
pager_index_lines>0.

The reason is there's no sidebar divider refresh when redraw does not 
have the index redraw bit set and there's a mini-index.

These sidebar patch-sets would benefit from more comprehensive TLC but
for the time being, the attached patches-on-patches against:

a) patches/mutt-patched/sidebar (in 1.5.21-6.2+deb7u2)
b) patches/mutt-patched/sidebar.patch (in 1.5.23-1)

ensure a redraw occurs with or without a mini-index.

Feel free to adopt them.

--mancha
[mutt-1.5.21.sidebar.diff (text/plain, attachment)]
[mutt-1.5.23.sidebar.patch.diff (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Antonio Radici <antonio@dyne.org>:
Bug#499596; Package mutt-patched. (Mon, 12 Oct 2015 10:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Edward Betts <edward@4angle.com>:
Extra info received and forwarded to list. Copy sent to Antonio Radici <antonio@dyne.org>. (Mon, 12 Oct 2015 10:51:04 GMT) (full text, mbox, link).


Message #33 received at 499596@bugs.debian.org (full text, mbox, reply):

From: Edward Betts <edward@4angle.com>
To: 499596@bugs.debian.org, 499596-submitter@bugs.debian.org
Subject: Test case for sidebar redraw bug
Date: Mon, 12 Oct 2015 11:32:16 +0100
I've written a test case in Python to reproduce this bug. It could easily be
turned into a DEP 8 automatic package test.

The output looks like this:

q:Exit  -:PrevPg  <Space>:NextPg v:View Attachm.  d:Del  r:Reply  j:Next ?:Help 
 m0     0|   1 N   Oct 10 test@test       (  24) test                           
 m1     0|-*-Mutt: =tmppaeZ8M [Msgs:1 2.3K]---(threads/date)------------(all)---
 m2     0|wwwwwwww ggggg lllllll u aaaaaaaaa llllllll aaaaa                     
 m3     0|ffffffffff x aaaaaa yyyy fffff aaa lllll ggg fffff h vvvvvv qq        
 m4     0|+zzzzzzzzz dddd ssssssss yyyyy                                        
 m5     0|rrrr ppppppppp wwwwww p gggggggg kk oooooooo rrrr llllll uuuuuu kkkkk 
 m6     0|+a ssssssssss pppp eeeeee zzzzzzzz ooooooooo gggggg                   
 m7     0|ppppp hhhhhh y uuuuuuuuu xxxxxxxx vvvvvv ooooo bbbbbbbbb oo nnnnn jjjj
          +ooooooo ppppp aaa eeeeee wwwwwwww uuuuuuuuu ggggggggg r a            
          gg qqqq bb nn hhhhhhhh llll m kkkkk ee xxxxxx fffffff v aa ss sssssss 
          +ooo zzzzzzzz                                                         
          fffffff kkkkkk iiiiiii bbb zzzzzzzzz hhhhhhhhh iiiiiiiiii ttttt g w   
 m12    0|+vvvvvvvvvv oo wwwwwwwwww                                             
 m13    0|nnnn jjj rrrrr ff rrr mmmm wwwwwwwww aaa iiiiiiiiii uuuu fffffff      
 m14    0|+vvvvvvvvvv iiiiiiiii rrrrr zzz s                                     
 m15    0|xxx ttttttt vvvv iii wwwwwww yyyyyyyyy dddddd                         
 m16    0|b wwwwwwww vvvv pppppppp jjjjjj f                                     
 m17    0|xxxxxx yyyyy hhhhhhhh v r ccccccccc bbb zzzzz dd                      
 m18    0|tt xxxx zzzzzzzzzz hhh mm q aaaaaaaaaa hhhhhh                         
 m19    0|i xxxxxxxxxx zz fffffff zzzzzz rrrrrrr gggggg hhh ccc zzzzz qqqqqqq   
 m20    0|+yyyy                                                                 
 m21    0|-N  - 1/1: test@test              test                        -- (41%)

You can see a gap in the list of mailboxes in the sidebar.

Here is the code. The python-pyte and python-pexpect packages need to be
installed.

import pyte
import pexpect
from random import seed, randint
from tempfile import NamedTemporaryFile
import os

def write_muttrc(f):
    f.write('''
set folder=/tmp
set sidebar_visible
set sidebar_width=10
set pager_index_lines=4

mailboxes ''')

    for i in range(30):
        f.write(' =m{}'.format(i))

def write_mbox(f):
    for line in ('From test@test Sat Oct 10 10:00:00 2015',
                 'Subject: test', 'To: test@test', 'From: test@test', ''):
        print >> f, line
    seed(1)
    for i in range(25):
        print >> f, ' '.join(chr(ord('a') + randint(0, 25)) * randint(1, 10)
                             for i in range(randint(5, 20)))

def run_mutt(muttrc, mbox):
    stream = pyte.ByteStream()
    screen = pyte.Screen(80, 24)
    stream.attach(screen)
    mutt = pexpect.spawn('/usr/bin/mutt-patched', ['-F', muttrc, '-f', mbox])
    mutt.send('\n' * 5)
    while True:
        try:
            buf = mutt.read_nonblocking(mutt.maxread, timeout=1)
        except pexpect.TIMEOUT:
            break
        stream.feed(buf)
    mutt.send('q')
    return screen

def main():
    f = NamedTemporaryFile(delete=False)
    muttrc = f.name
    write_muttrc(f)
    f.close()

    f = NamedTemporaryFile(delete=False)
    mbox = f.name
    write_mbox(f)
    f.close()

    for line in run_mutt(muttrc, mbox).display:
        print line

    os.remove(muttrc)
    os.remove(mbox)

if __name__ == '__main__':
    main()



Message sent on to sean finney <seanius@debian.org>:
Bug#499596. (Mon, 12 Oct 2015 10:51:06 GMT) (full text, mbox, link).


Reply sent to Faidon Liambotis <paravoid@debian.org>:
You have taken responsibility. (Fri, 29 Jul 2016 16:21:25 GMT) (full text, mbox, link).


Notification sent to sean finney <seanius@debian.org>:
Bug acknowledged by developer. (Fri, 29 Jul 2016 16:21:25 GMT) (full text, mbox, link).


Message #41 received at 499596-close@bugs.debian.org (full text, mbox, reply):

From: Faidon Liambotis <paravoid@debian.org>
To: 499596-close@bugs.debian.org
Subject: Bug#499596: fixed in mutt 1.6.2-1
Date: Fri, 29 Jul 2016 16:20:58 +0000
Source: mutt
Source-Version: 1.6.2-1

We believe that the bug you reported is fixed in the latest version of
mutt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 499596@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Faidon Liambotis <paravoid@debian.org> (supplier of updated mutt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 29 Jul 2016 16:43:06 +0300
Source: mutt
Binary: mutt
Architecture: source
Version: 1.6.2-1
Distribution: unstable
Urgency: medium
Maintainer: Mutt maintainers <pkg-mutt-maintainers@lists.alioth.debian.org>
Changed-By: Faidon Liambotis <paravoid@debian.org>
Description:
 mutt       - text-based mailreader supporting MIME, GPG, PGP and threading
Closes: 499596 688970 741853 777127 821748 823142 823454 823654 823655 830692 830695 832761
Changes:
 mutt (1.6.2-1) unstable; urgency=medium
 .
   * New upstream release.
   * New upstream NeoMutt release, 2016-07-23.
     - Adds SMIME encrypt to self patch. (Closes: #688970)
   * Backport a fix for the sidebar from neomutt git/mutt hg, patch
     imap-sidebar-update-bug.patch.
   * Update NEWS.Debian and (unfortunately) rewrite history in order to make it
     a little more consistent and easier to read for users upgrading from
     jessie. (Closes: #832761)
   * The sidebar patch has been stabilized with this release, with the option
     names also having been stable enough to be included into upstream mutt
     (what will become 1.7.0). All the known Debian bugs have been fixed and
     changes have been documented in NEWS. (Closes: #499596, #741853, #777127,
     #821748, #823142, #823454, #823654, #823655)
   * Remove the /etc/Muttrc.d/sidebar.rc conffile which enabled sidebar by
     default. Sidebar is now OFF by default, in order to stick with upstream's
     defaults and what most mutt users expect. Document this in NEWS.Debian.
   * Ship our patched Muttrc instead of the stock, non-generated Muttrc,
     a regression from 1.6.1-2. (Closes: #830692, #830695)
   * Remove the assumed_charset-compat.patch and inform users of the renamed
     option ("file_charset" -> "attach_charset") via NEWS.Debian.
Checksums-Sha1:
 41a02562f6f9c959c24d158d7be06fcfceae1414 2181 mutt_1.6.2-1.dsc
 67910ea4025a7f5ac8808e34bd55519200e08bcf 3956745 mutt_1.6.2.orig.tar.gz
 c3c42be152ab7eaa9ab0dd8c5593d410cc584666 232568 mutt_1.6.2-1.debian.tar.xz
Checksums-Sha256:
 e8d8dbc9c6dbe6b03a70dcafdc462dd83005accc8a42c6f9e951028c2b478f91 2181 mutt_1.6.2-1.dsc
 c5d02ef06486cdf04f9eeb9e9d7994890d8dfa7f47e7bfeb53a2a67da2ac1d8e 3956745 mutt_1.6.2.orig.tar.gz
 8f16231ec66560529b2ead9bd35ff77893482e2601197cccb696c41908ae02b1 232568 mutt_1.6.2-1.debian.tar.xz
Files:
 a1331cced4bbb22cab43ed69b0217a23 2181 mail optional mutt_1.6.2-1.dsc
 9f0f9cc35878987d7cdc7df6a1967376 3956745 mail optional mutt_1.6.2.orig.tar.gz
 c2f22b84b5eff74808dd7fb94654bcb6 232568 mail optional mutt_1.6.2-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXm14eAAoJEJ0LXlse7I8OFHgP/2BogArzqDCQhpSN6Pz08YMO
uC+b2E1JfGhPia1sVQVxezhz9lMbP6lZpnka/jQW9hWjQ7RdBYnNSmBD02rQoh5e
eviOwO9naJHcJYqkpl58QwXwLP0/kB4eKzn3OB/QjljK/9OfhG4XFmhgUZPF5qVF
IOijMkTBbPe//6UlYTbwnBSQEG6n2ROoINcBaf7Dqf67PVq2IWaUM86/q9xjpjsr
DQiMBwbgjrFqsg4PlRijeZhjCnZKbDOCFXZPO68oBHV5etaSPxyZJk84GHE7+Ogv
vyzRQvroBsxOwNmJ1CVZn8rrP5+oHJyYXIn29dy1/hNH3J14n8IhPp3zcnFkjYpi
60shrbG/3L0BHB6K6rctWvPeEyGB5K7wsCnUVb2RfSCNAqAPA+Qcm5GIRJLccaAt
oGm1OVhRCCd7uzmu9TMeG44j1yEBy4VpJSeM4VepvnmUYwu6mro2XltZJfG9OUyn
mBtT/3JcwyG7WbM4dYsf0870w3WnL9jcocyhRpUBuxQOp/7QFcskik7TDLeRbfdN
m1rPKCJ3eLt6S5xrE5+CvaTKh2nxbeJaoc+uDg+v9kDNRHEoazuyOCOBcQAX+Ac1
zjP52FCdL+5uPw6CmiX9sIqW35pqM8f+KwbSOQWC/Q++Ve+hajyYGu6tUT8JRfT5
7pF1nEKwtbnebQ51CYI0
=Gqgn
-----END PGP SIGNATURE-----




Reply sent to Faidon Liambotis <paravoid@debian.org>:
You have taken responsibility. (Fri, 29 Jul 2016 16:21:26 GMT) (full text, mbox, link).


Notification sent to sean finney <seanius@debian.org>:
Bug acknowledged by developer. (Fri, 29 Jul 2016 16:21:26 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 27 Aug 2016 07:34:58 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 30 21:24:52 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.