Bug#370389: [Pkg-xfce-devel] Bug#370389: xfce4: ~/.menu content not
displayed in the "Xfce Menu" after installing a program in
french with wine
MaX
knuckles at wanadoo.fr
Mon Jun 5 11:58:49 UTC 2006
Simon Huggins wrote:
> On Mon, Jun 05, 2006 at 12:26:22AM +0200, KnuX wrote:
>
>> This bug occured on Xfce 4.2 and since it is still present in the 4.4,
>> I submit it.
>>
>
>
>> First, I had a perfect Xfce Menu. I run the "PhotoFiltre" installer
>> with wine, it adds some entries in the ~/.menu/wine file and
>> simultaneously, the debian entry menu called "Applications", and entry
>> from CrossOver Office disappeared from the Xfce Menu. I used wine, and
>> not crossover, for installing photofiltre ;)
>>
>
>
>> (xfdesktop:5137): libxfcegui4-WARNING **: XfceAppMenuItem: 'name'
>> failed utf8 validation for .desktop file
>> '/home/knux/.local/share/applications//menu-xdg/X-Debian-Wine-Programmes-PhotoFiltre-d\xe9sinstaller_photofiltre.desktop'
>>
>
>
>> ** (xfdesktop:5137): WARNING **: XfceDesktopMenu: Error parsing xfdesktop menu file (0): Erreur à la ligne 185 caractère 1 : Texte codé en UTF-8 non valide
>>
>
>
>> - http://www.ownz.us/~max/xfce/menu_bad.tar.bz2
>>
>
>
>> If I remove the "~/.menu/wine" file or replace the accentued
>> characters, it's ok. I hope this mail will help you to resolve this
>> bug :$
>>
>
> If you replace the accented characters with utf-8 I assume it works fine
> too?
>
> We can ask upstream for you but when I unpacked the file, the xpm file
> had an accent in the filename. Given it seems to be trying to parse it
> as utf-8, I'd suggest you convert the filename to utf-8 or remove the
> accent.
>
> It's possible that the xfce menu system shouldn't be trying to parse it
> as utf-8 though. I'll check with upstream later.
>
>
Renaming the file is not enough, I have to rename the "title" field too
since it has an accent to ;)
The problem is that wine doesn't write its menu file using UTF-8
encoding. Since other applications can use the same behavior, Xfce
should, at least, ignore the eventually malformed entries and show the
others instead of stopping the file parsing ;)
I don't know if file in ~/.menu have to be wrote using UTF-8 encoding,
but the fact that the entire menu below the "xfce" entry can be
destroyed can be a problem :$
Thanks to you for according your intention in this report ;)
KnuX.
More information about the Pkg-xfce-devel
mailing list