Hi Russell,
On 5/15/15 2:38 PM, Russell Owen wrote:
I built Tcl/Tk core_8_5_branch from the 2015-04-28 commit (in the git
mirror) on OS X 10.9 with MACOS_X_DEPLOYMENT_TARGET=10.6. Visually the
results are not as nice as code using the 2015-03-24 commit. It seems
that many widgets, including labels and texts, take up far more room
than they used to, with the extra room used for unnecessary
whitespace. The results is far more different from Unix than it used
to be.
One improvement is that button text is now displayed with some
padding, making them much more readable, and more like unix (in a good
way, since it is easier to write cross-platform code; I had been
adding padding on OS X). But it seems that too many other controls got
the same treatment, even if they didn't need it.
We've done a lot of work on the metrics for buttons, and I think we are
pretty much done tweaking them. They are pretty close to the standard
metrics for the Mac, and I don't want to fiddle with them further.
Also, both versions of Tcl/Tk have a bug whereby windows are often
impossible to close. Clicking the close control and typing cmd-W both
do nothing. Fortunately they can still be minimized, but it's
disturbing not to be able to close them. Unfortunately this is
intermittent, though common, making it hard to present a small
example. Has anyone else seen this?
Marc Culler (the developer of SnapPy) also observed this and did a lot
of work on patches to Tk to fix the issue. As far as I know the problem
is licked. Can you run the script below in your version of Wish and see
if you can reproduce the zombie window issue? (If the issue is present
the "TopLevel" window will not close when the close button is clicked.)
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
https://mail.python.org/mailman/listinfo/tkinter-discuss