Kicker adds _: Entries in K-menu: to certain programs

Bug #135084 reported by thedalailama
42
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: kicker

Running Gutsy, Tribe 5 on a 32 bit Intel processor. After upgrading to Gutsy from Feisty, "_: Entries in K-menu:" appeared in Kicker next to most of the menu entries.

Changed in kdebase:
status: New → Confirmed
Revision history for this message
Ryan Kavanagh (ryanakca) wrote :

Confirmed, see screenshot. Locale: US English.

Changed in kdebase:
importance: Undecided → Medium
Revision history for this message
Ryan Kavanagh (ryanakca) wrote :
Revision history for this message
Mahdi (mmirzaza) wrote :

Also occures in a fresh installation of Kubuntu, Gutsy Tribe 5.

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

I can't reproduce this - but freeflying can as well.

Revision history for this message
ZhengPeng Hou (zhengpeng-hou) wrote :

confirmed in a fresh install with beta livecd
to re-produce:
boot into livecd--> add other language --> choose Chinese Simplified--> restart

Revision history for this message
Anthony Mercatante (tonio) wrote :

Can't reproduce either....
For those you can see the problem, what if you change the default language (use something completly different like french or spanish) ??

Also reloading the session with a deleted ~/.kde/share/config/kmenueditrc and ~/.local/menus wold help understading what happens.

Revision history for this message
Philip Falkner (philafel) wrote :

I don't have either of those files, and I get the _: stuff in the K-Menu if I use LANG=en_CA.UTF-8. Changing to LANG=en_US.UTF-8 makes it go away.

BUT, this isn't restricted to the K-menu! If I start e.g. KTorrent with en_CA, the first two entries in both the Downloads menu and a right-click menu on a torrent are
  _: to start Start
  _: to stop Stop

This is an install upgraded from Feisty; I've not yet confirmed on a live CD or fresh install.

Revision history for this message
Philip Falkner (philafel) wrote :

Confirmed on kubuntu gutsy beta desktop cd. Set LANG to en_CA.UTF-8, kill and reload kicker, and the k-menu should now be wrong. Also works with ktorrent, possibly other programs.

Revision history for this message
Shaved Wookie (shavedwookie) wrote : Re: [Bug 135084] Re: Kicker adds _: Entries in K-menu: to certain programs

I used to have this, but I just changed back to Name -Description, and
it now seems to work for me.

On 9/29/07, Philip Falkner <email address hidden> wrote:
> Confirmed on kubuntu gutsy beta desktop cd. Set LANG to en_CA.UTF-8,
> kill and reload kicker, and the k-menu should now be wrong. Also works
> with ktorrent, possibly other programs.
>
> --
> Kicker adds _: Entries in K-menu: to certain programs
> https://bugs.launchpad.net/bugs/135084
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
Barthelemy D. (bart-cs) wrote :

> I used to have this, but I just changed back to Name -Description, and it now seems to work for me.

What do you mean? How do you set "Name - Description"?

Revision history for this message
Shaved Wookie (shavedwookie) wrote :

I you right click the Kmenu then choose Panel Menu->Configure Panel->Menus

You'll see four radio box options that let you choose which
combination and order to show the program name and description in the
menu:
1. Name only
2. Name-description
3. Description only
4. Description (Name)

As far as I'm aware this bug only ever affacted the Name-Description
and Description (name) options, but given that one of those is the
default it affected quite a few people.

If I switched to either Name only or Description only options it
always worked fine for me. I suspect it would be the same for you. I
was just commenting that I no longer seem to have the problem as I can
now choose Name-description and have it work.

Revision history for this message
Barthelemy D. (bart-cs) wrote :

Thanks a lot,

"Name only" and "Description only" works for me on Gutsy.

The two other options, Name - Description and Description (Name), produce _: Entries gibberish.

Revision history for this message
Shaved Wookie (shavedwookie) wrote :

You're welcome. :)

On 9/30/07, Barthelemy D. <email address hidden> wrote:
> Thanks a lot,
>
> "Name only" and "Description only" works for me on Gutsy.
>
> The two other options, Name - Description and Description (Name),
> produce _: Entries gibberish.
>
> --
> Kicker adds _: Entries in K-menu: to certain programs
> https://bugs.launchpad.net/bugs/135084
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
Lie Ex (lie-ex) wrote :

I've fix the problem in gutsy branch for Simplified Chinese locale.This is a translation bug from kicker's po file.If someone translate the following field with the comment in msgid,problem appears.We should ignore it when translating.

#: ui/service_mnu.cpp:314
msgid ""
"_: Entries in K-menu: %1 app name, %2 description\n"
"%1 - %2"
msgstr ""

#: ui/service_mnu.cpp:324
msgid ""
"_: Entries in K-menu: %1 description, %2 app name\n"
"%1 (%2)"
msgstr ""

Maybe some other locale's users will encounter similar problem,but I think translator can solve it in like manner.

Revision history for this message
White Rabbit (davidlaunchpad-net) wrote :

I am Canadian. It seems to be a problem on any system that is non-US (or specifically sets their location to Canada?)
I have had this issue on the tribe, rc, and final releases of Kubuntu 7.10

I solved it nicely by:
-click K-menu, System Settings
-click Regional and Language.
-click SelectSystemLanguage button
-change from "English (Canada)" to "English (United States of America)"
-click Set System Language
-Log Out
-(I also restarted the x-server, thought I do not know if that is necessary)
It should be fixed now.

Revision history for this message
Aaron Klotz (dblohm7) wrote :

Also being Canadian, I had the exact same experience. I reconfigured my panel menu to use name only.

It was very disappointing to see a GUI mess like this come up on the first boot of my brand new gutsy installation.

Revision history for this message
Lie Ex (lie-ex) wrote :

Try:msgunfmt /usr/share/locale-langpack/<Your_Locale>/LC_MESSAGES/kicker.mo -o ~/kicker.po

Then use any UTF-8 text editor to open the kicker.po,search the keyword "_: Entries" in file.If you find the comment from msgid field was involved in msgstr field(refer to my preivous comment here),please delete the line and save file.After that execute the command:

msgfmt ~/kicker.po -o /usr/share/locale-langpack/<Your_Locale>/LC_MESSAGES/kicker.mo

Restart kicker,maybe it will be OK.

I think en_CA team's translators can find out the problem and try to fix it.

If someone change menus display mode or language,the bug will disappear,but won't be solved authentically.

Revision history for this message
Blaiz (blaiz) wrote :

I have this problem on a fresh install of Kubuntu Gutsy, final version, AMD64.

Revision history for this message
sewerraccoon (sewerraccoon) wrote :

I've got it on a fresh install of Gutsy X86

Revision history for this message
Blaiz (blaiz) wrote :

I forgot to add that I'm in Canada, so I've chosen Canada as the location, and then the locale was English (Canada).

I did this and it solved the bug:

"I am Canadian. It seems to be a problem on any system that is non-US (or specifically sets their location to Canada?)
I have had this issue on the tribe, rc, and final releases of Kubuntu 7.10

I solved it nicely by:
-click K-menu, System Settings
-click Regional and Language.
-click SelectSystemLanguage button
-change from "English (Canada)" to "English (United States of America)"
-click Set System Language
-Log Out
-(I also restarted the x-server, thought I do not know if that is necessary)
It should be fixed now."

Revision history for this message
Kortsen (larsen8937) wrote :

I am a Canadian and had the same problem, but I seem to have found a work-around.

I followed White Rabbit's suggestion, but I found my "Region and Language" set to default. I set it to "America, North > United States of America" and restarted the x-server. The cryptic "_: Entries . . " was gone. Out of curiosity i went back to System Settings and changed my Region and language to "America, North > Canada". This added British English above US English in the list of languages. I then removed US English from the list of languages. Lastly I restarted the x-server.

All is still well.

Revision history for this message
Evan Leibovitch (evan-telly) wrote :

This problem may be limited to the kicker.mo file for the en_CA locale (and possibly others).

I had the same problem on two recently-upgraded Gutsy systems. In response to the above thread I uncompiled the kicker.mo file using msgunfmt. As I also had the en_GB locale installed, I examined the kicker.mo file for that locale.

It appears that the kicker.mo file for the local en_CA, in the currently shipping Gutsy, needs some examination. In addition to its "_: Entries in K-menu" problem, I also note errors in some other fields.

A full diff between the en_CA and en_GB versions of (uncompiled) kicker.mo is reproduced below:

-------------------------------

$ diff /tmp/kickerCA.po /tmp/kickerGB.po
3,4c3,4
< "Project-Id-Version: kdebase\n"
< "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
---
> "Project-Id-Version: kicker\n"
> "Report-Msgid-Bugs-To: \n"
6,8c6,8
< "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
< "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
< "Language-Team: English (Canada) <email address hidden>\n"
---
> "PO-Revision-Date: 2007-06-12 15:02+0000\n"
> "Last-Translator: Malcolm Parsons <email address hidden>\n"
> "Language-Team: British English <email address hidden>\n"
12c12
< "X-Launchpad-Export-Date: 2007-10-11 23:57+0000\n"
---
> "X-Launchpad-Export-Date: 2007-10-10 02:53+0000\n"
336c336
< msgstr "Not Authorized to Read Folder"
---
> msgstr "Not Authorised to Read Folder"
366c366
< msgstr "Put Into Run Dialog"
---
> msgstr "Put Into Run Dialogue"
494c494
< msgstr ",,<email address hidden>,<email address hidden>"
---
> msgstr "<email address hidden>,,,,"
499,501c499
< msgstr ""
< "_: Entries in K-menu: %1 app name, %2 description\n"
< "%1 - %2"
---
> msgstr "%1 - %2"
506,508c504
< msgstr ""
< "_: Entries in K-menu: %1 description, %2 app name\n"
< "%1 (%2)"
---
> msgstr "%1 (%2)"
513c509
< msgstr ",Launchpad Contributions:,Andrew Hunter,Jonathan Zeppettini"
---
> msgstr "Andrew Coles,,Launchpad Contributions:,Malcolm Hunter,Malcolm Parsons"

Revision history for this message
Evan Leibovitch (evan-telly) wrote :

The problem (with kicker, at least) is addressed by installing the latest version of the package "language-pack-en", version "1:7.10+20071120".

This does not fix all of the issues, however. I find that the problem still continues with ktorrent; other apps may also not be updated.

Lie Ex (lie-ex)
Changed in kdebase:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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