Bugs item #1878897, was opened at 2008-01-24 14:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1878897&group_id=132078

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jure Repinc (jrepin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Tooltip doesn't show for system with non-ASCII named object

Initial Comment:
Steps:
1. Make sure you have a system which conatins a fleet or other objects which 
has non-ASCII characters in the name
2. Mouse over the system (like the )

Result:
No tooltip is displayed. I get this in the console:
Drawing Arrow!
Drawing took 0.000000 seconds of CPU time
Traceback (most recent call last):
  File "./extra/wxFloatCanvas/FloatCanvas.py", line 2468, in MotionEvent
    self.GUIMode.OnMove(event)
  File "./extra/wxFloatCanvas/GUIMode.py", line 307, in OnMove
    GUIMouse.OnMove(self, event)
  File "./extra/wxFloatCanvas/GUIMode.py", line 154, in OnMove
    self.parent.MouseOverTest(event)
  File "./extra/wxFloatCanvas/FloatCanvas.py", line 2401, in MouseOverTest
    Object.CallBackFuncs[EVT_FC_ENTER_OBJECT](Object)
  File "./windows/main/overlays/Overlay.py", line 362, in SystemEnter
    self.ObjectHoverEnter(icon, pos)
  File "./windows/main/overlays/Systems.py", line 348, in ObjectHoverEnter
    SystemLevelOverlay.ObjectHoverEnter(self, icon, pos)
  File "./windows/main/overlays/Overlay.py", line 420, in ObjectHoverEnter
    self.Popup.SetText(text)
  File "./windows/main/overlays/Overlay.py", line 466, in SetText
    self.st = StaticFancyText(self.Window, -1, text, pos=(self.Padding, 
self.Padding))
  File 
"usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/lib/fancytext.py", 
line 395, in __init__
  File 
"usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/lib/fancytext.py", 
line 356, in RenderToBitmap
  File 
"usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/lib/fancytext.py", 
line 346, in GetFullExtent
  File 
"usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/lib/fancytext.py", 
line 329, in RenderToRenderer
UnicodeEncodeError: 'ascii' codec can't encode characters in position 153-154: 
ordinal not in range(128)
Drawing Arrow!

Expected:
Tooltip should show for the systems containing objects with Unicode characters.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1878897&group_id=132078
_______________________________________________
tp-bugs mailing list
[email protected]
http://mail.thousandparsec.net/cgi-bin/mailman/listinfo/tp-bugs

Reply via email to