Cyrillic symbols looks strange when using autocompletion

Bug #1360005 reported by shkiper325
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
New
Undecided
Unassigned
gnome-terminal (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

You need use autocompletion (via TAB button) to folder/file/etc to cyrillic symbols and at least one space in its name to reproduce this bug. Then symbols in name look strange, but your command works correct.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: gnome-terminal 3.6.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-9.14-generic 3.16.1
Uname: Linux 3.16.0-9-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.6-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Aug 22 02:52:51 2014
ExecutablePath: /usr/bin/gnome-terminal
InstallationDate: Installed on 2014-06-01 (81 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
ProcEnviron:
 PATH=(custom, no user)
 LANGUAGE=ru
 XDG_RUNTIME_DIR=<set>
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-terminal
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
shkiper325 (shkiper325-deactivatedaccount) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-terminal (Ubuntu):
status: New → Confirmed
Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

Is this specific to gnome-terminal, does it work as expected in other terminals (e.g. xterm, konsole, urvxt)?

If it's buggy in all of them then it's probably a problem with bash or bash-completion.

Revision history for this message
shkiper325 (shkiper325-deactivatedaccount) wrote :

Egmont Koblinger, I tried to use autocompletion in guake terminal - problem repeated.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

guake builds on the same codebase as gnome-terminal (namely vte), so it might not be relevant.
Could you please try with xterm, konsole, rxvt-unicode and/or pterm?

Revision history for this message
shkiper325 (shkiper325-deactivatedaccount) wrote :

Egmont Koblinger, tried xterm and rxvt-unicode - problem remains.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

So it is a bash or bash-completion problem (not sure which), but not gnome-terminal.

Revision history for this message
shkiper325 (shkiper325-deactivatedaccount) wrote :

Waiting for bash-completion maintainer/developer reaction

Changed in gnome-terminal (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Peter Cordes (peter-cordes) wrote :

Does the completed filename look different from the output of ls?

Can you copy/paste a test-case? I don't know how to type cyrillic characters without busting out gucharmap, but I have no problem pasting mkdir / touch 'some UTF8' into a shell to test it out.

e.g.
touch cyrillic with spaces
echo ./cyr[TAB] => ?
ls
<output>

Revision history for this message
Dmitry Lapshin (lapshin-dv) wrote :

Tried on trusty, works fine:

touch Файл\ с\ кучей\ пробелов
echo ./Фа[TAB pressed]йл\ с\ кучей\ пробелов

All symbols look perfectly fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.