No accented letters in window title bars, dash and hud.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| BleachBit |
Undecided
|
Unassigned | ||
| unity (Ubuntu) |
Medium
|
Unassigned |
Bug Description
Hi,
I've noticed problems with accented letters since few days in 16.04 Unity :
- in window title bar, accented letters are replaced with « square symbols ». It happens in all softwares when windows are not maximized. Once maximized, accented letters are correctly shown ( in top panel, for example : Vidéos, Téléchargements… ). Wrong display of accented letters comes back once window is un-maximized.
- in dash, accented letters are ignored. If I type « démarrage » on keyboard I get « dmarrage » in dash
- [edit] same behaviour in HUD, no accented letters there either, which is very annoying in french.
I did not have those behaviours some days ago.
https:/
http://
http://
→ here title bar depends on website and is sometimes right.
http://
→ here launched through quicklist, title bar is ok - but problem with accent comes back once browsing folders.
Language is French FR_fr keyboard is Français (variante)
Core i7 w/ Intel HD graphics
_______
2016-07-26 : re-install from 16.04.1 iso → accented letters are back !
_______
2016-07-27 : accented letters are gone - replaced with "squares" :-/
_______
2016-08-10 : help…
_______
2016-08-22 : maybe someone else here facing same problem https:/
_______
2016-08-31 I now have the same problem with Ubuntu 14.04.5 LTS
http://
_______
2016-09-06 solved in both ubuntu 16.04 & 14.04
bleachbit most probably deleted too many files regarding localizations
see comment #38 and following
Coeur Noir (coeur-noir) wrote : | #2 |
Coeur Noir (coeur-noir) wrote : | #3 |
Here is another example with firefox and the same window, non-maximised (accents not ok) and maximised (ok)
http://
description: | updated |
Coeur Noir (coeur-noir) wrote : | #4 |
HUD suffers same problem as Dash :
if « sélection » is typed on keyboard, it becomes « slection » in HUD.
summary: |
- Accented letters not shown in window title bars and dash + No accented letters in window title bars, dash and hud. |
Changed in unity (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Coeur Noir (coeur-noir) wrote : | #5 |
well it's not only esthetic problem, but a real usability issue : you can not use accented letters in dash & hud search - which is a real pain for many languages…
…glad it's triaged but what am I supposed to do now ? I'm still having the issue on my up-to-date 16.04 - so probably 16.04.1 by now…
Any log or else I may provide ?
description: | updated |
Coeur Noir (coeur-noir) wrote : | #6 |
I did a reinstall from 16.04.1 iso and problem is solved…
…but that does not help knowing what caused it though.
description: | updated |
Coeur Noir (coeur-noir) wrote : | #8 |
Added Pango in the list because of those last lines here on that screenshot…
no longer affects: | compiz-core-ubuntu |
description: | updated |
Andrea Azzarone (azzar1) wrote : | #9 |
Can you post the output of:
$ locale -a
$ env | grep LC
$ env | grep LANGUAGE
Changed in unity (Ubuntu): | |
status: | Triaged → Incomplete |
Changed in hud: | |
status: | New → Incomplete |
Changed in pango: | |
status: | New → Incomplete |
Changed in hud: | |
status: | Incomplete → Invalid |
Changed in pango: | |
status: | Incomplete → Invalid |
Coeur Noir (coeur-noir) wrote : | #10 |
Of course, thanks for your interest.
test@Asgard:~$ locale -a
C
C.UTF-8
en_US.utf8
fr_BE.utf8
fr_CA.utf8
fr_CH.utf8
fr_FR.utf8
fr_LU.utf8
POSIX
test@Asgard:~$ env | grep LC
test@Asgard:~$ env | grep LANGUAGE
LANGUAGE=fr_FR
test@Asgard:~$
I confirm env | grep LC returned nothing.
Coeur Noir (coeur-noir) wrote : | #11 |
test@Asgard:~$ cat /etc/default/locale
# File generated by update-locale
LANG="fr_FR.UTF-8"
test@Asgard:~$
test@Asgard:~$ locale
LANG=fr_FR.UTF-8
LANGUAGE=fr_FR
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
test@Asgard:~$
Should I run :
setenv LC_ALL fr_FR
?
no longer affects: | pango |
no longer affects: | hud |
Coeur Noir (coeur-noir) wrote : | #12 |
( just a question : following your invalid notices I removed the other project in bug description. I wonder why it is invalid for HUD as this bug actually affects HUD - accented letters can't be typed in )
Changed in unity (Ubuntu): | |
status: | Incomplete → New |
description: | updated |
Coeur Noir (coeur-noir) wrote : | #13 |
test@Asgard:~$ cat /etc/environment
PATH="/
test@Asgard:~$
Shouldn't be there also
LANG="fr_FR.UTF-8"
in that file ?
Coeur Noir (coeur-noir) wrote : | #14 |
Added LANG="fr_FR.UTF-8" to /etc/environment → no change…
Andrea Azzarone (azzar1) wrote : | #15 |
1. No, your /etc/environment looks just fine.
2. Unity is responsible to render the HUD, so Unity (Ubuntu) is the correct project to blame
3. env | grep LC looks suspicious, I'll look into it
Coeur Noir (coeur-noir) wrote : | #16 |
Thank you.
Out of inspiration I did
env | grep LC
on my running fine 14.04 installation and it also returned nothing.
Coeur Noir (coeur-noir) wrote : | #17 |
« 2. Unity is responsible to render the HUD, so Unity (Ubuntu) is the correct project to blame »
Ok with that - but it's neither Unity nor HUD that render the window-title-bar ? Compiz ?
Andrea Azzarone (azzar1) wrote : | #18 |
Unity renders the window title bar too.
Coeur Noir (coeur-noir) wrote : | #19 |
Ah, my ignorance, sorry ;-) Thanks.
Coeur Noir (coeur-noir) wrote : | #20 |
Don't know if it can help… I've just notices accented letters appear right in chromium window title bar - while it's still wrong in firefox title bar…
Coeur Noir (coeur-noir) wrote : | #21 |
Maybe same problem here https:/
description: | updated |
Andrea Azzarone (azzar1) wrote : | #22 |
@Coeur, on a session where you can reproduce the problem give the following command and post here the output:
$ args --null --max-args=1 < /proc/$(pidof compiz)/environ
Also it would be useful the content of ~/.cache/
Changed in unity (Ubuntu): | |
status: | New → Incomplete |
Sébastien Cany (s-cany) wrote : | #23 |
I have the same problem :
Coeur Noir (coeur-noir) wrote : | #24 |
test@Asgard:~$ cat ~/.cache/
WARN 2016-08-24 14:44:08 unity.windowman
test@Asgard:~$
But args does not work as expected ?
test@Asgard:~$ args --null --max-args=1 < /proc/$(pidof compiz)/environ
*** args: --null: unknown command option
test@Asgard:~$ args --help
Usage: args [options] arguments...
Echo command line arguments
Options:
-h, --help display this list
-d .., --delim=char set deliminter between arguments
-D, --directory expand directory into file arguments
-l, --lines list arguments on separate lines
-q .., --quote=string set quote for each argument
-R, --recursive recursive directory scan
-F, --follow follow symlinks
-r, --reverse reverse order of arguments
Report bugs to <email address hidden>
test@Asgard:~$
Coeur Noir (coeur-noir) wrote : | #25 |
Can this help ?
test@Asgard:~$ cat /proc/$(pidof compiz)/environ
PATH=/usr/
Coeur Noir (coeur-noir) wrote : | #26 |
It seems some files from KDE/plasma remain → I had installed a plasma session to check if problem with accented letters would happen → it did not happen in plasma → I removed plasma session.
Andrea Azzarone (azzar1) wrote : | #27 |
Sorry it was xargs.
Coeur Noir (coeur-noir) wrote : | #28 |
No problem ;-)
test@Asgard:~$ xargs --null --max-args=1 < /proc/$(pidof compiz)/environ
PATH=/usr/
XDG_VTNR=7
PAM_KWALLET5_
XDG_SESSION_ID=c2
CLUTTER_
XDG_GREETER_
SHELL=/bin/bash
QT_LINUX_
GTK_MODULES=
USER=test
QT_ACCESSIBILITY=1
XDG_SESSION_
XDG_SEAT_
DEFAULTS_
XDG_CONFIG_
DESKTOP_
QT_IM_MODULE=ibus
QT_QPA_
PWD=/home/test
XDG_SESSION_
XMODIFIERS=@im=ibus
LANG=fr_FR.UTF-8
MANDATORY_
GDM_LANG=fr_FR
IM_CONFIG_PHASE=1
COMPIZ_
GDMSESSION=ubuntu
SESSIONTYPE=
GTK2_MODULES=
SHLVL=0
XDG_SEAT=seat0
HOME=/home/test
LANGUAGE=fr_FR
XDG_SESSION_
LOGNAME=test
QT4_IM_MODULE=ibus
XDG_DATA_
XDG_RUNTIME_
DISPLAY=:0
GTK_IM_MODULE=ibus
XDG_CURRENT_
XAUTHORITY=
DBUS_SESSION_
SSH_AUTH_
GNOME_KEYRING_
GNOME_KEYRING_PID=
GPG_AGENT_
GNOME_DESKTOP_
SESSION=ubuntu
JOB=unity-
INSTANCE=
UPSTART_
XDG_MENU_
SESSION_
UPSTART_JOB=unity7
UPSTART_INSTANCE=
UPSTART_
test@Asgard:~$
Coeur Noir (coeur-noir) wrote : | #29 |
test@Asgard:~$ cat ~/.cache/
WARN 2016-08-24 16:27:31 unity.windowman
WARN 2016-08-24 16:27:48 unity.windowman
Using PPAPI flash.
[WARNING:
Vector smash protection is enabled.
[1:1:0824/
[1:1:0824/
[1:1:0824/
[1:1:0824/
[1:1:0824/
[1:1:0824/
[1:1:0824/
[1:1:0824/
[1:1:0824/
[1:1:0824/
[1:1:0824/
[1:1:0824/
[1:1:0824/
test@Asgard:~$
Coeur Noir (coeur-noir) wrote : | #30 |
Question : can this bug also affect language displayed in some dialog boxes like for example « open a media » in VLC, which remains in english ?
picture http://
other people affected https:/
description: | updated |
Coeur Noir (coeur-noir) wrote : | #31 |
Same problem since today with Ubuntu 14.04.5 LTS
http://
Just before noticing this problem with accented letters I had a problem with some dead keys used in french for ^ and ¨
I was then unable to type ê or ï ( only ^e or ¨i )
I had to go to system-settings → language → and re-enable ibus as input method - I say « re-enable » because I think it was enabled by default.
Something may have changed this setting ?
Coeur Noir (coeur-noir) wrote : | #32 |
It seems Ibus has nothing to do with ê-keys. I put back none as input method and ê or ï or î work as expected.
Coeur Noir (coeur-noir) wrote : | #33 |
I used bleachbit 1.12 that day on ubuntu 14.04
→ https:/
and I also used it on ubuntu 16.04 - version 1.10-1 from ubuntu universe repository.
Gunnar Hjalmarsson (gunnarhj) wrote : | #34 |
Andrea Azzarone wrote:
> 3. env | grep LC looks suspicious, I'll look into it
Not a problem. LANG is set, so the LC_* categories inherit their values from LANG.
@Coeur: You'd better remove the 'LANG="
Seems like the common denominator is Bleachbit. I have no idea what that tool removes, but fear that it removes too much. :(
Can you please show us the output from these commands:
gsettings get org.gnome.
gsettings get org.gnome.
Coeur Noir (coeur-noir) wrote : | #35 |
On ubuntu 14.04 ( where I'm facing the same problem now )
gerald@Asgard:~$ gsettings get org.gnome.
[('xkb', 'fr+oss'), ('xkb', 'fr')]
gerald@Asgard:~$ gsettings get org.gnome.
uint32 0
gerald@Asgard:~$
I think my environment file is ok :
gerald@Asgard:~$ cat /etc/environment
PATH="/
gerald@Asgard:~$
Coeur Noir (coeur-noir) wrote : | #36 |
On ubuntu 16.04 ( where I first noticed the problem )
test@Asgard:~$ gsettings get org.gnome.
[('xkb', 'fr+oss')]
test@Asgard:~$ gsettings get org.gnome.
uint32 0
test@Asgard:~$ cat /etc/environment
PATH="/
…all same as in 14.04
Gunnar Hjalmarsson (gunnarhj) wrote : | #37 |
Ok, thanks, it confirms that the "French (alternative)" keyboard layout is effective.
I just realized that's it's not a (pure) typing problem, but a display problem, which indicates that it's font related. You may want to rebuild the font cache using this command:
fc-cache -fr
(it takes a few seconds to execute)
Coeur Noir (coeur-noir) wrote : | #38 |
fc-cache -fr
…no, does not fix.
About bleachbit I ask a question on its forum https:/
Changed in unity (Ubuntu): | |
status: | Incomplete → New |
Coeur Noir (coeur-noir) wrote : | #39 |
Here is a list of items to delete from bleachbit 1.0-1 on one « working fine » ubuntu 14.04 machine.
Coeur Noir (coeur-noir) wrote : | #40 |
Now on the same machine, I installed bleachbit 1.12 from bleachbit website and run with the same settings, here is the huge list of items to delete.
( this time I did not go further and so did not delete those files - my ubuntu still works fine )
Gunnar Hjalmarsson (gunnarhj) wrote : | #41 |
OMG! Some things are just utterly stupid. Is there a way to "undo" whatever bleachbit messed up?
It sounds as if you have confirmed by now that it's not a problem with the default Ubuntu installation. So if I was you, I'd simply reinstall and forget about bleachbit.
Don't know what else to say.
Andrew Ziem (ahziem1) wrote : | #42 |
If you can narrow it down to specific files that were deleted by BleachBit, you can have apt-get reinstall the affected package to undelete the files.
Also if you can figure out which files should not be deleted, I can work on whitelisting them to prevent them from being deleted again.
Gunnar Hjalmarsson (gunnarhj) wrote : | #43 |
On 2016-09-05 05:00, Andrew Ziem wrote:
> If you can narrow it down to specific files that were deleted by
> BleachBit, you can have apt-get reinstall the affected package to
> undelete the files.
Indeed, but that person won't be me. In this case it seems to have affected both typing (there shouldn't be a need to clear all IM related environment variables on Ubuntu - the default setting "IBus" should work fine) and displaying of certain characters, and this makes it extra complicated.
> Also if you can figure out which files should not be deleted, I can
> work on whitelisting them to prevent them from being deleted again.
Not sure where I'd start. Generally it's a bad idea to delete selected package owned files instead of the packages, since they will be reinstalled at next package upgrade, so the whole concept with bleachbit is fragile and controversial.
I can mention two examples, which I find extra weird:
* The ubuntu-docs package only installs English content pages, together with symlinks to pages in other languages. Content pages in other languages are installed via language-
* Bleachbit seems to remove locale definition files in /usr/share/
Another thing which struck me is that several directories in /usr/share/
My principal contribution to Ubuntu is about helping out with various localization issues. I monitor and patch a few packages and provide l10n/i18n related support. I suspect that various subtle issues which are reported are due to the use of bleachbit, and this bug report seems to be an example of it. Bleachbit probably causes quite some headache out there.
So I have my reasons for advising against the use of bleachbit, and I'm not inclined to spend more time on it.
--
Gunnar Hjalmarsson
https:/
Coeur Noir (coeur-noir) wrote : | #44 |
…ok… I'll go for reinstall as I am not skilled and talented enough to narrow down the specific files that are needed / not necessary to delete.
16.04 was only for testing, quite empty.
14.04 is my actual place of working and will be tougher to reinstall.
But at least I know how to do that.
Thanks Andrea & Gunnar for time, (trying to) help, explanations and pieces of advices.
Coeur Noir (coeur-noir) wrote : | #45 |
16.04 → get back to normal situation ( with accented letters ) thanks to Bertrand0 here https:/
which also confirms BleachBit is to blame.
sudo aptitude reinstall apt chromium-browser chromium-
I'm still struggling with 14.04…
Coeur Noir (coeur-noir) wrote : | #46 |
…and finally found how to fix in 14.04 too !
Helped by the command provided by bertrand0
dpkg-query -S \*/{translation
I've finally noticed that xkb-data and xkb-data-i18n were not at their initial trusty version. Months ago I had manually upgraded them to fix a problem with somehow inactive Right Ctrl key. So I've forced back those packages to their actual trusty version, and now accented letters are back in title bars, dash and hud ( after relogging ).
Gunnar Hjalmarsson (gunnarhj) wrote : | #47 |
Great that you are about to resolve it! Wish I understood which files affect this, but I don't.
Changed in unity (Ubuntu): | |
status: | New → Invalid |
Changed in bleachbit: | |
status: | New → Confirmed |
Coeur Noir (coeur-noir) wrote : | #48 |
I assume xkb-data and xkb-data-i18n are good candidates, since as soon as I reinstalled them, accented letters were back.
description: | updated |
Gunnar Hjalmarsson (gunnarhj) wrote : | #49 |
On 2016-09-07 00:36, Coeur Noir wrote:
> I assume xkb-data and xkb-data-i18n are good candidates, since as
> soon as I reinstalled them, accented letters were back.
Yeah, sounds like a hint to the BleachBit folks.
(hadn't seen your comment #46 when I posted my comment #47)
As regards those two packages, and based on your latest comments, I assume that reinstalling was a no-op in 14.04, since you had a higher version number installed than was available in the archive. That in turn would explain why the files removed by BleachBit were back only when you downgraded.
Andrew Ziem (ahziem1) wrote : | #50 |
October 2016 there was a major commit in BleachBit to how localizations are cleaned. This came out in BleachBit 2.0. Is this still an issue?
Git reference 6a56170c66effff
Another screenshot showing the « bug » with accented letters : img15.hostingpi cs.net/ pics/722577Capt uredu2016070801 2213.png
http://
I've also noticed that bug does not happen if « folders » are opened using the bookmarks in Nautilus.