After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 126857 - Inbox Monitor destroys locales of launched programs
Inbox Monitor destroys locales of launched programs
Status: RESOLVED DUPLICATE of bug 107468
Product: gnome-panel
Classification: Other
Component: libpanel-applet
2.4.x
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-11-13 02:00 UTC by Janne Hägglund
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Janne Hägglund 2003-11-13 02:00:38 UTC
Description of Problem:
                                                                          
     
  Programs launched by double clicking the Inbox Monitor have their
locale settings totally destroyed.
 This is *really, really* bad if you send/receive mail in non-English
languages!
                                                                          
     
                                                                          
     
Steps to reproduce the problem:
                                                                          
     
1. Have a language (like Finnish), that has lots of non-ascii letters.
Use the locale for that language (like fi_FI@euro).
                                                                          
     
2. At the "Inbox Monitor Preferences" -> "Commands" -> 
"When double clicked", write a command to read your mail. Mine was:

gnome-terminal --title="Mail" --geometry=80x42 --command=/usr/bin/mutt
                                                                          
     
3. Launch your program by double clicking the Inbox Monitor applet.
                                                                          
     
                                                                          
     
Actual Results:
                                                                          
     
  The program launched by the Inbox Monitor does not have a correct
locale.
  This will result in your non-English e-mail becoming more or less
unreadable.
                                                                          
     
                                                                          
     
Expected Results:
                                                                          
     
  The launched program should inherit the correct locale.
                                                                          
     

How often does this happen?
                                                                          
     
  Always.
                                                                          
     
  (In the above example, you will of course have to kill all other
Gnome terminals. Otherwise, the launched terminal will inherit a
correct locale from them. But that is a property of the Gnome terminal,
not Gnome Inbox Monitor.)
                                                                          
     
                                                                          
     
Additional Information:
                                                                          
     
  I have a workaround that illustrates the problem nicely.
At the "When double clicked" box, I have written:
                                                                          
     
env LC_ALL=fi_FI@euro gnome-terminal --title="Mail" \
 --geometry=80x42 --command=/usr/bin/mutt
                                                                          
     
  This works perfectly, and shows what's broken.
                                                                          
     
My system:
  I'm running Fedora Core 1 on a PC, with out-of-the-box Gnome 2.4.
Comment 1 Vincent Untz 2003-11-13 09:00:36 UTC
Thanks for the bug report. This particular bug has already been
reported into our bug tracking system, but please feel free to report
any further bugs you find.

*** This bug has been marked as a duplicate of 107468 ***