Bug 4992 - Slimtray Tooltip issue with non-western text on western regional system
: Slimtray Tooltip issue with non-western text on western regional system
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Windows Service
: 6.5.2
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Squeezebox QA Team email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-11 12:28 UTC by Mickey Gee
Modified: 2008-12-18 11:12 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
Tooltip Gibberish in German (3.96 KB, image/gif)
2007-05-11 14:12 UTC, Mickey Gee
Details
SlimTray Hebrew ok (2.82 KB, image/png)
2007-05-16 11:22 UTC, Michael Herger
Details
Use EN if HE selected on western Windows (1.50 KB, patch)
2007-05-22 13:05 UTC, Michael Herger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mickey Gee 2007-05-11 12:28:01 UTC
This bug may have been fixed by change 11959 in May 11 2007 build, but I just wanted to make sure it didn't get lost.

For Hebrew and other possibly languages, one of the tooltip balloons for the Slimtray icon would display gibberish characters.

This is was reported by the contractors in Israel, so I don't have first-hand knowledge.
Comment 1 Mickey Gee 2007-05-11 12:34:49 UTC
No screenshot for this one.
Comment 2 Mickey Gee 2007-05-11 14:12:13 UTC
Created attachment 1947 [details]
Tooltip Gibberish in German

Taken from ??? build, but before May 11 2007
Comment 3 Mickey Gee 2007-05-11 14:13:15 UTC
Verified in May 11 2007 build in German.
Comment 4 Michael Herger 2007-05-12 14:28:38 UTC
Please give the next nightly build (05-13) a try. Looking good in EN and HE
Comment 5 Michael Herger 2007-05-14 15:52:28 UTC
This should be fixed as of 05-15.
Comment 6 Chris Owens 2007-05-15 15:27:09 UTC
Tomer can't reproduce this.
Comment 7 Mickey Gee 2007-05-15 17:17:36 UTC
Seen by Wallace on Windows XP English with Hebrew installed, and by Chris on Windows XP Hebrew with May 15 2007 build.

Tomer thought that rebooting would be a workaround, but Chris tried it and still saw gibberish where it should have been "Running SlimServer" in Hebrew. Didn't check Starting or Stopping SlimServer.

We thought it was fixed ....
Comment 8 Michael Herger 2007-05-15 22:27:59 UTC
Can you confirm that this is always with machines configured to run both in English and Hebrew? I start thinking this might be our problem. Will see whether I can reproduce later (off to work now).
Comment 9 Mickey Gee 2007-05-16 09:37:08 UTC
I was able to repro on my Windows XP system which is set up for English and German only. I had tried installing Hebrew support, but that failed since I didn't have the XP CD.

I'm not sure how I can repro on my system, but I originally had only changed within SlimServer the language to Hebrew. I then had turned off my system and went home for the evening. The next morning, SlimServer automatically started and I noticed the tooltip was gibberish, and the SlimTray's menu was in Hebrew. SlimServer was still in Hebrew, and I then switched the language within SlimServer to English. The tooltip continue to display gibberish, and the menu language was Hebrew. I then stopped SlimServer, and then restarted it. The Hebrew on the SlimTray's menu and tooltip was gone and now English, and I haven't seen Hebrew on the SlimTray's menus or tooltips since.
Comment 10 Mickey Gee 2007-05-16 09:40:03 UTC
Here's more on this from Tomer. I'm not sure I followed all of the steps, but hopefully someone else does:

Hi Michael

I did some testing related to this issue and i did found that if you run a clean install of SlimServer in hebrew on windows XP (english version with regional settings set to hebrew) it will show the Slimtray in hebrew, if i then change the languge to English the Slimtray will change back to english (just after restart), then if i go back and change it to Hebrew and restart it will still show in English and the only way it will change back to hebrew is if i run a clean install of SlimServer.

Another thing i notice when i install the hebrew version the first time on top of an exsisting English version of slimserver the Slimtray didnt show in hebrew and the only way i manage to make to show in hebrew was to remove all parts of the old version and run a clean install, then it came in hebrew.

I hope it's helps to clear this issue, let me konw if there is other test you want me to do,

Tomer
Comment 11 Michael Herger 2007-05-16 10:41:18 UTC
> I did some testing related to this issue and i did found that if you run a
> clean install of SlimServer in hebrew on windows XP (english version with
> regional settings set to hebrew) it will show the Slimtray in hebrew, if i then

That's correct: if the installer can't find a slimserver.prefs file, it will create one and set the language to the language chosen for the installation. If it can find that file (from a former installation), it won't touch the language setting, even if the language set in SlimServer is different from the one selected during installation.

> change the languge to English the Slimtray will change back to english (just
> after restart), 

Ok. At startup SlimTray (the tray icon) will again read the language setting from the slimserver configuration. But only when starting. The language will therefore _not_ change in SlimTray, when you change it in SlimServer.

> then if i go back and change it to Hebrew and restart it will

Do you restart SlimServer? Your machine? Or just SlimTray?

> still show in English and the only way it will change back to hebrew is if i
> run a clean install of SlimServer.

I can't reproduce this.

- Start Slimserver
- select English
- start the SlimTray 
-> SlimTray is in English

- change the language in SlimServer to Hebrew (or any of the other languages)
-> SlimTray is still English as it only reads the configuration when starting

- Exit SlimTray
- start SlimTray
-> SlimTray is now in HE (or whatever).

Are you able to confirm this?

> Another thing i notice when i install the hebrew version the first time on top
> of an exsisting English version of slimserver the Slimtray didnt show in hebrew
> and the only way i manage to make to show in hebrew was to remove all parts of
> the old version and run a clean install, then it came in hebrew.

Correct, as the setting in SlimServer is only set by the installer if there was no SlimServer installed.
Comment 12 Wallace Lai 2007-05-16 10:59:44 UTC
Have the tooltips problems on other languages been fixed yet?
Besides Dutch and English, all "SlimServer Running" tool tips for SlimTray had problems.  The good news was, "SlimServerSTarting" and "SlimServer Stopped" look OK on all European languages.

Hebrew had the biggest problem.  "SlimServer Starting", "SlimServer Stopped", and "SlimServer Running" did not look right.


Comment 13 Mickey Gee 2007-05-16 11:09:05 UTC
I think I have a reproducible case. My system is Windows XP with English and German installed. No Hebrew installed.

Here's what I did.

0. Uninstall SlimServer.
1. Download May 16th 6.5.2.
2. Install it in Spanish.
3. Started up SlimServer.
4. SlimTray tooltips and menus are in Spanish.
5. With SlimServer in Spanish, I switch to Hebrew.
6. I stop SlimServer using SlimTray menu. The menu is in Spanish.
7. I restart Windows XP.
8. If you look at the tooltip immediately, the tooltip displays "PerlTray" in English. I know, this is probably another bug.
9. If you wait a little bit, the tooltip displays gibberish and the SlimTray menu displays Hebrew.
Comment 14 Michael Herger 2007-05-16 11:21:00 UTC
> I think I have a reproducible case. 

Which means it's working as designed. 

> 0. Uninstall SlimServer.
> 1. Download May 16th 6.5.2.
> 2. Install it in Spanish.
> 3. Started up SlimServer.
> 4. SlimTray tooltips and menus are in Spanish.
> 5. With SlimServer in Spanish, I switch to Hebrew.

Everything fine so far.

> 6. I stop SlimServer using SlimTray menu. The menu is in Spanish.

You'll have to restart SlimTray, not SlimServer. Shut it down ("Exit") and restart it from the program folder.

> 7. I restart Windows XP.
> 8. If you look at the tooltip immediately, the tooltip displays "PerlTray" in
> English. I know, this is probably another bug.
> 9. If you wait a little bit, the tooltip displays gibberish and the SlimTray
> menu displays Hebrew.

It would be ok if your Windows was a Hebrew Windows. I don't know how we can handle this.
Comment 15 Michael Herger 2007-05-16 11:22:06 UTC
Created attachment 2013 [details]
SlimTray Hebrew ok

The issue remaining is SlimTray displaying gibberish text when SlimServer is set to use Hebrew, but running on a non-Hebrew Windows. It's fine on my all Hebrew XP.
Comment 16 KDF 2007-05-18 14:05:54 UTC
question was posted to AS forums, but no response as yet:
http://support.activestate.com/forum-topic/perltray-tooltip-utf-8-su

Comment 17 Michael Herger 2007-05-20 02:55:15 UTC
According to the information received in the ActiveState forums this is currently not possible:

http://support.activestate.com/forum-topic/perltray-tooltip-utf-8-su

This issue is limited to running SlimServer in Hebrew on western systems. Hebrew on Windows installed in Hebrew should be fine (you know what I mean :-))

We could probably enforce usage of English in the tooltip when slimserver is run on an English Windows.
Comment 18 KDF 2007-05-20 10:12:09 UTC
Well spotted.  If it's possible to for EN, then let's do that for 6.5.3 and we can leave this open after that for the future when utf8 becomes possible.
Comment 19 Michael Herger 2007-05-22 13:05:25 UTC
Created attachment 2026 [details]
Use EN if HE selected on western Windows

As western Windows installations can't correctly display the Hebrew tooltip, I'd propose using the English tooltip instead, when SlimServer is set to HE, but run on a western system. 

When run on Hebrew systems, it should correctly display the Hebrew tooltip.
Comment 20 Adrian Smith 2007-05-22 13:32:33 UTC
Michael - patch works for me.
Comment 21 Chris Owens 2007-05-22 15:13:42 UTC
That sounds like the best solution, Michael.  Feel free to commit it to 6.5.3 at your convenience.
Comment 22 Michael Herger 2007-05-23 01:38:11 UTC
Change 12095 (6.5) and 12096 (trunk)