Bugzilla – Bug 4992
Slimtray Tooltip issue with non-western text on western regional system
Last modified: 2008-12-18 11:12:12 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.
No screenshot for this one.
Created attachment 1947 [details] Tooltip Gibberish in German Taken from ??? build, but before May 11 2007
Verified in May 11 2007 build in German.
Please give the next nightly build (05-13) a try. Looking good in EN and HE
This should be fixed as of 05-15.
Tomer can't reproduce this.
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 ....
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).
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.
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
> 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.
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.
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.
> 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.
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.
question was posted to AS forums, but no response as yet: http://support.activestate.com/forum-topic/perltray-tooltip-utf-8-su
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.
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.
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.
Michael - patch works for me.
That sounds like the best solution, Michael. Feel free to commit it to 6.5.3 at your convenience.
Change 12095 (6.5) and 12096 (trunk)