Bug ID 951707
Summary zypper search hangs due to text formatting
Classification openSUSE
Product openSUSE Factory
Version 2015*
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter ronisbr@gmail.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Hi.

I am having a problem with zypper search function in some cases.
If I execute, for example:

    $ zypper search nautilus

in a terminal (like mate-terminal) in which 60px <= width <= 86px, then it
loops printing empty characters:

$ zypper search nautilus
Carregando os dados do reposit��rio...
Lendo os pacotes instalados...

S | Nome                                 | Resumo                   | Tipo      
--+--------------------------------------+--------------------------+-----------
  | Nautilus-Actions Configuration Tool  | Configure items to be -> |
aplicativo
i | brasero-nautilus                     | Brasero CD/DVD burning-> | pacote    
  | folder-color-nautilus                | Change a directory col-> | pacote    
  | gnome-shell-search-provider-nautilus | File Manager for the G-> | pacote    
i | libnautilus-extension1               | File Manager for the G-> | pacote    
  | libnautilus-extension1-32bit         | File Manager for the G-> | pacote    
i | nautilus                             | File Manager for the G-> | pacote    
  | nautilus-actions                     | Nautilus extension to -> | pacote    
  | nautilus-actions-devel               | Nautilus extension to -> | pacote    
  | nautilus-actions-lang                | Languages for package -> | pacote    
i | nautilus-deja-dup                    | D��j�� Dup Plugin for Na
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
.... (eternal loop)

I can see the same behavior using LANG=C:

$ LANG=C zypper search nautilus 
Loading repository data...
Reading installed packages...

S | Name                                 | Summary                 | Type       
--+--------------------------------------+-------------------------+------------
  | Nautilus-Actions Configuration Tool  | Configure items to be-> |
application
i | brasero-nautilus                     | Brasero CD/DVD burnin-> | package    
  | folder-color-nautilus                | Change a directory co-> | package    
  | gnome-shell-search-provider-nautilus | File Manager for the -> | package    
i | libnautilus-extension1               | File Manager for the -> | package    
  | libnautilus-extension1-32bit         | File Manager for the -> | package    
i | nautilus                             | File Manager for the -> | package    
  | nautilus-actions                     | Nautilus extension to-> | package    
  | nautilus-actions-devel               | Nautilus extension to-> | package    
  | nautilus-actions-lang                | Languages for package-> | package    
i | nautilus-deja-dup                    | D��j�� Dup Plugin for N
                                                                               
                                                                               
                                                                               
.... (eternal loop)

However, for LANG=C the width interval in which the problem can be seen is
different. Notice that if I resize the terminal such that the width is outside
the aforementioned interval, then everything works. Thus, I think it is related
with a text formatting function or something.

Below, I am appending additional information about my system.

���  ~  cat /etc/os-release 
NAME=openSUSE
VERSION="Tumbleweed"
VERSION_ID="20151017"
PRETTY_NAME="openSUSE Tumbleweed (20151017) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:20151017"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"

���  ~  zypper --version
zypper 1.12.16


You are receiving this mail because: