Bug 19733 - doesn't complete evince with all suitable filetypes: no .dvi, .djvu, .ps.bz2
Summary: doesn't complete evince with all suitable filetypes: no .dvi, .djvu, .ps.bz2
Status: CLOSED FIXED
Alias: None
Product: Branch 5.0
Classification: Distributions
Component: bash-completion (show other bugs)
Version: unspecified
Hardware: all Linux
: P3 normal
Assignee: murygin@altlinux.org
QA Contact: qa-5.0@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-23 15:15 MSD by Ivan Zakharyaschev
Modified: 2017-07-24 12:21 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2009-04-23 15:15:21 MSD
bash-completion-20060301-alt06
evince-2.24.2-alt1

How to reproduce: 

[ivan@dell bash-compl]$ mkdir test-evince-compl
[ivan@dell bash-compl]$ cd test-evince-compl/
[ivan@dell test-evince-compl]$ ln -s /usr/share/doc/djvu-doc-3.5.17/doc/djvu3spec.djvu ./
[ivan@dell test-evince-compl]$ ln -s /usr/share/texmf/doc/latex/amsmath/amsldoc.dvi ./
[ivan@dell test-evince-compl]$ ln -s /usr/share/texmf/doc/generic/xypic/xyguide.pdf ./
[ivan@dell test-evince-compl]$ ln -s /usr/share/texmf/doc/latex/general/guide.ps ./
[ivan@dell test-evince-compl]$ cat guide.ps | gzip - > guide.ps.gz
[ivan@dell test-evince-compl]$ cat guide.ps | bzip2 - > guide.ps.bz2
[ivan@dell test-evince-compl]$ for f in *; do echo "$f"; evince "$f"; done
amsldoc.dvi
djvu3spec.djvu
guide.ps
guide.ps.bz2
guide.ps.gz
xyguide.pdf
[ivan@dell test-evince-compl]$ 

Evince successfully shows all these file types. But the completion doesn't list them all:

[ivan@dell test-evince-compl]$ evince 
guide.ps     guide.ps.gz  xyguide.pdf  
[ivan@dell test-evince-compl]$ evince 

Expected:

dvi, .djvu, .ps.bz2 are also listed when completing an "evince " command. Te current behavior is inconvenient: it is confusing because it often makes you think that there are no such files under the given dir.
Comment 1 ildar 2017-07-24 12:21:51 MSK
Похоже, починилось.