[Python-bugs-list] [Bug #114923] ToolTip not showing text on AIX 4.3

noreply@sourceforge.net noreply@sourceforge.net
Fri, 13 Oct 2000 07:49:03 -0700


Bug #114923, was updated on 2000-Sep-20 14:27
Here is a current snapshot of the bug.

Project: Python
Category: IDLE
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 1
Summary: ToolTip not showing text on AIX 4.3

Details: IDLE0.6 runs nicely on AIX except that the tip text itself does not show when the pop up box appears. The box seems to be sized properly but is blank.

-Robin Friedrich

Follow-Ups:

Date: 2000-Sep-20 16:54
By: gvanrossum

Comment:
Could it be a Tcl version problem? It's hard to debug this... :-(
-------------------------------------------------------

Date: 2000-Sep-21 14:17
By: none

Comment:
Yes I imagine it will be hard to debug. The tclTk version is 8.3.2. I am unaware of problems with that on the X windows platforms. Has this been noticed on other unices with 2.0b1?  --Robin F.
-------------------------------------------------------

Date: 2000-Sep-21 14:23
By: gvanrossum

Comment:
BTW, where do you expect to see tooltips? The only place I can think of is when you type a function name followed by a left paren. Is that it? What function name did you use?

(And yes, this works fine for me on Linux.)

Could it have to do with font? color? Perhaps your window manager?
Source is in CallTipWindow.py if you want to play.
-------------------------------------------------------

Date: 2000-Sep-25 11:39
By: none

Comment:
The open paren binding yes. Any function like those in the string module.
OK I've played with CallTipWindow.py and the main() test routine exhibits the bug nicely. The code looks dead simple and should work. I can only blame Tk 8.3.2. I tried linking in our old Tk 8.0 libraries/headers (hoping Tkinter was still compatible with it) and the tooltip call now raises the following. We are using X/Motif with the CDE window manager.

>>> idle.CallTipWindow.main()
>>> Exception in Tkinter callback
Traceback (most recent call last):
  File "./Lib/lib-tk/Tkinter.py", line 1283, in __call__
    args = apply(self.subst, args)
  File "./Lib/lib-tk/Tkinter.py", line 1053, in _substitute
    e.delta = getint(D)
ValueError: invalid literal for int(): D




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

Date: 2000-Sep-25 12:41
By: gvanrossum

Comment:
The getint(D) problem is because earlier versions of Tkinter don't support the mousewheel delta value.

Try again with the current CVS version (or wait 1.5 days for Python 2.0b2 to be released). The getint(D) problem should be solved in the CVS version (a try/except is put around it).
-------------------------------------------------------

Date: 2000-Sep-25 13:37
By: none

Comment:
I tried to trap the error and go on but then the test still fails to show text in the tooltip window with 8.0 Tk. I'm kinda stumped at this point.   Do you know of any other AIX users which I could pester instead of you?

-Robin F.
-------------------------------------------------------

Date: 2000-Oct-13 07:49
By: gvanrossum

Comment:
Hi Robin, I don't know of any other AIX users -- Vladimir Marangozov is in the middle of a move and hasn't resurfaced yet. (You can always try python-list@python.org of course.)

You could try to upgrade to Tcl/tk 8.3 -- I'm suspecting a Tcl or Tk error at this point and AIX is a minority platform for them too...

Also, try the CVS version of _tkinter.c (or wait for 2.0final) -- yesterday I checked in a change that avoids using interp->result, which is deprecated and caused (different) problems on Windows. Who knows. Just a lark.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=114923&group_id=5470