Terry J. Reedy <tjre...@udel.edu> added the comment:

This affects the popup tool tip in IDLE also.  Raymond, am I correct in 
thinking that the labels appearing in dialogs (Preferences, Search) still work?

A IDLE tool tip is a Toplevel.  Its parent is a Text widget.  It contains a 
non-blank Label widget. It is normally positioned on the lines below, with the 
left edge under the opening '('.  IDLE also does the following, where tw is the 
python Toplevel instance (tooltip window) and tw._w its tk counterpart.

try:
    # This command is only needed and available on Tk >= 8.4.0 for OSX
    # Without it, call tips intrude on the typing process by grabbing
    # the focus.
    tw.tk.call("::tk::unsupported::MacWindowStyle", "style", tw._w,
               "help", "noActivates")
except TclError:
    pass

To determine whether the popup is entirely missing or just the label, this 
might work.  Enter the following in an IDLE editor.

range
0123456789abcdef...
0123456789abcdef...

Go back up and enter '(' after 'range'.  A blank box should obscure '5' and to 
the right.

----------
assignee:  -> terry.reedy
components: +IDLE, macOS
nosy: +rhettinger, ronaldoussoren, terry.reedy
type:  -> behavior
versions: +Python 2.7, Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33241>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to