[issue42541] Tkinter colours wrong on MacOS universal2
Kevin Walzer added the comment: Ned, I wish I knew. Marc and I are both now members of the TCT, and have had a few conversations around the release schedule, but the release schedule is more or less determined when one or two senior members of the TCT decide things are ready. We had some momentum toward an RC of 8.6.11 a few months ago, but that seems to have stalled out. -- ___ Python tracker <https://bugs.python.org/issue42541> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42541] Tkinter colours wrong on MacOS universal2
Kevin Walzer added the comment: This bug is not present in IDLE 3.9.0 when built against the tip of Tk core-8-6-branch. Marc Culler has done some work to fix the visual artifacts, and the work continues. The problem here is that Apple's API churn continually breaks parts of Tk with each new OS release, and there is large amount of work just to keep things working reasonably. -- nosy: +wordtech ___ Python tracker <https://bugs.python.org/issue42541> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42225] Tkinter hangs or crashes when displaying astral chars
Kevin Walzer added the comment: Some work has been done this year on expanding support for these types of glyphs in Tk, but I'm not sure of its current state--it's not my area of expertise. Can you open a ticket at https://core.tcl-lang.org/tk/ so one of the folks working on this can take a look? -- ___ Python tracker <https://bugs.python.org/issue42225> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38440] Possible new issues with IDLE
Kevin Walzer added the comment: On macOS, Tk 8.6.8 is considered ancient, even obsolete, on 10.14 or later. Tk has required huge re-work to accommodate changes in the Mac's drawing API's on 10.14, mostly done by Marc Culler; these issues are not observable with the current tip of 8.6 development and IDLE 3.7.4. An RC of 8.6.10 has just gone out and we are anticipating the final release by Nov. 21, which includes too many changes to enumerate here. In any case, it should be considerably more stable than what is being reported. -- ___ Python tracker <https://bugs.python.org/issue38440> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34455] Tkinter crashing when pressing Command + ^ (OSX)
Kevin Walzer added the comment: We have committed some fixes to the keyboard code in the past year that seem to have fixed this issue. I do not see it in 8.6.10, now as a RC. I believe this bug is obsolete at this point. -- ___ Python tracker <https://bugs.python.org/issue34455> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6
Kevin Walzer added the comment: Hard to say what is going on without knowing more about the specific version of Tk (not just 8.6, but 8.6.8? 8.6.9?). -- ___ Python tracker <https://bugs.python.org/issue37833> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32129] Icon on macOS
Kevin Walzer added the comment: Is there any reason not to commit the patch I submitted to address this issue?As an alternative I can submit a high-res PNG that can be used, and will submit a different patch to incorporate it, which would work from either the standard app bundle or the command line. Either way, there is no reason to continue to have this visual artifact in IDLE on the Mac. -- ___ Python tracker <https://bugs.python.org/issue32129> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32129] Icon on macOS
Kevin Walzer added the comment: Making the icon 512x512 pixels will make it look correct on Retina displays on the Mac. -- ___ Python tracker <https://bugs.python.org/issue32129> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35485] Mac: tkinter windows turn black while resized
Kevin Walzer added the comment: http://core.tcl.tk/tk/tktview?name=ef9c3730e3 has some useful information on this from the Tk side. -- ___ Python tracker <https://bugs.python.org/issue35485> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35485] Mac: tkinter windows turn black while resized
Kevin Walzer added the comment: Cannot reproduce this with the tip of Tk core-8-6-branch on Mojave and IDLE 3.7.1. Window appears normal and no flickering when resizing. -- ___ Python tracker <https://bugs.python.org/issue35485> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35387] Dialogs on IDLE are accompanied by a small black window
New submission from Kevin Walzer : The "About IDLE" and "Preferences" dialogs on IDLE are accompanied by a small black window titled "idle" when IDLE is run agains the tip of Tk 8.6 on macOS 10.14. This is likely owing to the multiple changes in Tk to accommodate the Mac's API changes on Mojave. I suspect the dialog's [wm transient] implementation is part of the issue; the parent windows for the dialog are not hidden when run against the Tk tip, and thus they have this ugly display. Hopefully the fix is not too complicated. -- assignee: terry.reedy components: IDLE messages: 330945 nosy: terry.reedy, wordtech priority: normal severity: normal status: open title: Dialogs on IDLE are accompanied by a small black window versions: Python 3.7 ___ Python tracker <https://bugs.python.org/issue35387> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34370] Tkinter scroll issues on macOS
Kevin Walzer added the comment: Release of Tk 8.6.9 very soon; includes fixes for Mac scrolling as well as support for 10.14 macOS, with Dark Mode. -- ___ Python tracker <https://bugs.python.org/issue34370> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34956] _tkinter built on macOS 10.14 does not link to Tcl and Tk in /Library/Frameworks
Kevin Walzer added the comment: Thank you, this helped. -- ___ Python tracker <https://bugs.python.org/issue34956> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34956] 3.7.0 _tkinter module links against /System/Library/Frameworks
New submission from Kevin Walzer : I'm trying to build Python 3.7.0 on macOS 10.14, and Tkinter is not linking to my installation of Tcl/Tk 8.6.8 in /Library/Frameworks. Instead it is linking to the ancient 8.5 Tk installed in /System/Library/Frameworks. My usual way of forcing Python to link to my installation is to edit setup.py and comment out all search directories except /Library/Frameworks, but that seems to be ignored here. My basic invocation is "./configure --enable-framework" which, along with omitting the system libraries from setup.py, has always been sufficient in the past. Please advise. -- components: macOS messages: 327508 nosy: ned.deily, ronaldoussoren, wordtech priority: normal severity: normal status: open title: 3.7.0 _tkinter module links against /System/Library/Frameworks versions: Python 3.7 ___ Python tracker <https://bugs.python.org/issue34956> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34864] In Idle, Mac tabs make editor status line disappear.
Kevin Walzer added the comment: The behavior outlined in the screenshot is, I believe, a component of the native Cocoa window that underlies Tk; it cannot be controlled or accessed from Tk. It's probably better to avoid altogether or re-implement somehow in IDLE. -- ___ Python tracker <https://bugs.python.org/issue34864> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34370] Tkinter scroll issues on macOS
Kevin Walzer added the comment: Ned, please hold off a bit on this--another developer is doing some final fine-tuning of the scrolling code so it fully passes Tk's test suite. I'm waiting for the final commit of this code any day now. -- status: pending -> open ___ Python tracker <https://bugs.python.org/issue34370> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34370] Tkinter scroll issues on macOS
Kevin Walzer added the comment: I just committed http://core.tcl.tk/tk/info/26a029b4a88ff97f, which fixes the scrolling issue in Tk. Running the test scripts here indicate the behavior is now correct; clicking several pixels below the bottom part of the scroll button causes the scroll to jump, instead of smoothly scrolling. (One must click the scroll button directly for smooth scrolling, which is the expected behavior.) The fix involved removing support for a small scroll button variant, which was causing the confusion; by sticking with a single variant, the normal size scroller, the behavior is correct and consistent. -- ___ Python tracker <https://bugs.python.org/issue34370> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34313] IDLE crashes with Tk-related error on macOS with ActiveTcl 8.6
Kevin Walzer added the comment: The crash reported by the OP did show up at times in recent releases of Tk 8.6.x, but a lot of work went into refactoring memory management in 8.6.8 and those problems do not seem present in the current release (8.6.7 is a year old). I'd try updating to 8.6.8 and seeing if that fixes things. -- ___ Python tracker <https://bugs.python.org/issue34313> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34275] Problems with tkinter and tk8.6 on MacOS
Kevin Walzer added the comment: Tal, your proposed revisions to the patch work fine. It's harmless to leave the older calls to MacWindowStyle there. New patch attached. -- Added file: https://bugs.python.org/file47726/calltips_w-2.diff ___ Python tracker <https://bugs.python.org/issue34275> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS
Kevin Walzer added the comment: Removing the call "self.grab_set" in configdialog.py (line 87 or so) and help_about.py (line 47 or so) appears to fix the problem with the main window freezing when the modal dialog is destroyed on macOS. "Grab" has never worked properly on Tk on the Mac, but it has additional problems in the Cocoa implementation of Tk; it causes all kinds of problems with the event loop and is best avoided altogether. If the call to grab is crucial on other platforms, it can be wrapped in a call to "tk windowingsystem ne aqua" to exclude the Mac. If other modal dialogs present similar behavior on the Mac, look for calls to grab and try omitting that call. I'll leave it to someone else to propose a thorough patch, but this should point you in the right direction. -- ___ Python tracker <https://bugs.python.org/issue34120> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34275] Problems with tkinter and tk8.6 on MacOS
Kevin Walzer added the comment: With the attached patch, the calltip now displays in the test in calltips_w.py on macOS. As I suspected, a judicious call to "update" forces the event loop to cycle on macOS. It should be harmless on other platforms, but if it causes some sort of performance slowdown, it can be wrapped in a call to "tk windowingsystem" eq "aqua" (not sure how to implement that in this module) so it only runs on the Mac. I also removed the platform call to "MacWindowStyle" as it is no longer needed on recent versions of the Mac. -- keywords: +patch Added file: https://bugs.python.org/file47725/calltip_w.diff ___ Python tracker <https://bugs.python.org/issue34275> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS
Kevin Walzer added the comment: I've observed this behavior myself, and wonder if you are hitting some edge case in Tk-Mac event processing (there used to be a lot of issues with this and we thought we had addressed them). I don't want to code-dive into Python's implementation of these dialogs, so can you provide a simple script that demonstrates the issue and I'll take a closer look? Often bugs of this sort can be addressed at the script level with some tweaks. -- nosy: +wordtech ___ Python tracker <https://bugs.python.org/issue34120> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34275] Problems with tkinter and tk8.6 on MacOS
Kevin Walzer added the comment: Please provide a short working Python script that reproduces the problem. Also, please point me to the internal implementation of tooltips in idlelib. Tooltips work just fine on Tk on the Mac, but there are many different ways to implement them and I suspect Python's implementation can likely be tweaked. It also may be related to event handling. -- nosy: +wordtech ___ Python tracker <https://bugs.python.org/issue34275> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file
Kevin Walzer added the comment: Not able to reproduce this issue using a recent build of Tk 8.6.8 plus (it's been a little while since I pulled the latest updates from core-8-6-branch, but is recent enough). Similar behavior was reported on Tk a couple of years ago but has been fixed; I closed https://core.tcl.tk/tk/tktview/1875c1f30f2d17230a3d6e8fc7c85d244e80b922 to indicate this. -- nosy: +wordtech ___ Python tracker <https://bugs.python.org/issue34047> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32129] Icon on macOS
Kevin Walzer <wordt...@users.sourceforge.net> added the comment: Adding proposed patch. -- keywords: +patch Added file: https://bugs.python.org/file47293/pyshell.diff ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32129> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32129] Icon on macOS
Kevin Walzer <wordt...@users.sourceforge.net> added the comment: wm_iconphoto is a no-op on Tk 8.5 on MacOS; the C function returns true with no action. That's why this has not cropped up before. As implemented, the command on macOS only takes the first image in the parameters to use; the Cocoa mechanism in use for displaying images as app icons does not pack multiple sizes in the image. This will be documented in the man page for the next release of Tk. That's why the image currently looks very bad, because, as you note, it's scaling up a 16px image. The 48px would look better, albeit a bit jagged. The attached patch proposes to simply bypass this call in Tk-Mac. The wm_iconphoto command is most useful for a) replacing a generic Windows or X11 icon with something more customized or b) displaying a change in application state. On Mac OS, option is already addressed by the bundled application icon that looks much more polished; most users will not be calling idle from the command line (where this call can make sense). Option b is not applicable in this context. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32129> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32129] Icon on macOS
New submission from Kevin Walzer <wordt...@users.sourceforge.net>: The trunk and 8.6.7 branch of Tk on macOS have recently implemented the wm_iconphoto command, which had not previously been supported on macOS. This means that versions of IDLE that link to this version of Tk will inherit the iconphoto behavior on Windows and X11, which results in a extremely blurry icon image in the Dock. It would probably be best to make this command conditional on macOS to just retain the standard app icon, or else add a sharper image. -- assignee: terry.reedy components: IDLE files: Screen Shot 2017-11-24 at 11.44.31 PM.png messages: 306941 nosy: terry.reedy, wordtech priority: normal severity: normal status: open title: Icon on macOS type: behavior Added file: https://bugs.python.org/file47288/Screen Shot 2017-11-24 at 11.44.31 PM.png ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32129> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24570] IDLE Autocomplete and Call Tips Do Not Pop Up on OS X with ActiveTcl 8.5.18
Kevin Walzer added the comment: I experimented with Mark's sample code (thanks for that, BTW), and found that the window with the help tag applied would display with this simple addition: raise .t I believe the equivalent call in Tinter is lift(), because raise() is for error handling? Perhaps someone can experiment with appropriate calls to lift() in the relevant sections of IDLE. The help style is excluded from becoming a frontmost window by default in OS X. Here is the relevant code in tkMacOSXWm.c: - (BOOL) canBecomeKeyWindow { TkWindow *winPtr = TkMacOSXGetTkWindow(self); return (winPtr winPtr-wmInfoPtr (winPtr-wmInfoPtr-macClass == kHelpWindowClass || winPtr-wmInfoPtr-attributes kWindowNoActivatesAttribute)) ? NO : YES; } Therefore, an explicit call to raise may be helpful in displaying the window. I realize that such calls are not present in the current IDLE code, and did not seem to be required previously--there likely was some change in recent Tk-Cocoa commits in event loop handling, memory management, window display, and drawing that caused this new bug to crop up. Tracking the actual source of the bug at the C level is likely to prove very difficult because there have been so many changes. However, since the fix at the script level is trivial, I do not think a major effort is necessary to step through the code at the C level. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24570 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24570] IDLE Autocomplete and Call Tips Do Not Pop Up on OS X with ActiveTcl 8.5.18
Kevin Walzer added the comment: Where in the IDLE source code tree is this code housed? Is it possible to provide a Python script that reproduces the issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24570 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15587] IDLE is pixelated on the Macbook Pro with Retina Display
Kevin Walzer added the comment: This can probably be fixed by setting this key in the app's info.plist file: keyNSHighResolutionCapable/key true/ Under the hood, Tkinter/Tk-Cocoa uses CoreText to render text, and I understand this to adapt to high-res displays out of the box--as long as the proper key is set in the plist file. Only pixmaps/images require special developer handling to display properly on Retina displays. As IDLE does not use any such graphics, it should be fine. Can someone file a patch for the info.plist file, or at try editing the app's info.plist file and then testing on a high-res display? I do not have access to a Retina display machine on my system. Here are more details on how to enable the key and test it: http://apple.stackexchange.com/questions/53717/how-does-eclipse-work-on-new-retina-macbook-pros -- nosy: +wordtech ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15587 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1
Kevin Walzer added the comment: editFont.config is causing the crash. The revised patch you suggest configures both the display font example and the highlight-text example. We can certainly amend my patch along those lines. I cannot reproduce the issue in simple Tcl/Tk using the equivalent [font create] and [font configure] calls. As noted, bugs involving the Tcl/Tk event loop on the Mac can be hard to reproduce. It is usually simpler, where possible, to work around the issue at the script level. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15853 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1
Kevin Walzer added the comment: The crash occurs during a self.editFont.config call, when the sample text in the font dialog is updated with new font properties. My changes re-structures the configure event to first create a tuple with new font properties, then apply that to the parent label widget's font. Same effect, works around the crash. My testing shows the crash occurs at the event loop level--somewhere in the event loop between Python, Tk, and Cocoa, this specific configuration causes Tk to barf and then crash. If you have followed the traffic on the event loop issues in Tk-Cocoa at SF and the Tcl-Mac list, you're aware that a) the event loop is fragile and complex and b) pretty much impossible to solve at this time because the only one who really understands it well, the original author of the code, is no longer involved with Tk development. As a result, it is often simpler to work around Tk-Cocoa event loop issues at the script level: that is what my patch does. There is little chance of solving the crash at the Tk level at this time. I don't understand what the problem with in requesting that IDLE users update their installation to get this patch; it's no different than any other bug fix. As far as making sure it works with the various releases of Python, that's work that you or another Python dev will have to do. It's a two-line fix so I doubt it will be that complicated to implement. And yes, in an ideal world, it would be better to fix Tk, but this patch solve the immediate problem because we are not able to address this issue at the Tk level at this time. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15853 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1
Kevin Walzer added the comment: The attached patch works around the crash for me on Python 2.7.3, Tk-Cocoa 8.5.12 (tip), on Lion. -- keywords: +patch nosy: +wordtech Added file: http://bugs.python.org/file27538/configDialog.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15853 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1
Changes by Kevin Walzer wordt...@users.sourceforge.net: Removed file: http://bugs.python.org/file27538/configDialog.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15853 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1
Changes by Kevin Walzer wordt...@users.sourceforge.net: Added file: http://bugs.python.org/file27539/configDialog.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15853 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10731] UnicodeDecodeError in OS X tkinter when binding to MouseWheel
Kevin Walzer wordt...@users.sourceforge.net added the comment: I've added some comments to this on the Tkinter-dev mailing list, but to summarize, the bug is not reproducible on the Tcl side of the bridge, and so I am not clear what changes can be made in Tk's internals. It might e better to proceed with implementing a fix in Tkinter because the bug seems to occur at the level of Tkinter/Tk interaction. -- nosy: +wordtech ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10731 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Kevin Walzer wordt...@users.sourceforge.net added the comment: Ned--thank you for reviewing, testing, and modifying the patch. I applied your revised version to my new install of Python 2.7.1 and it works fine. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10107] Quitting IDLE on Mac doesn't save unsaved code
Kevin Walzer wordt...@users.sourceforge.net added the comment: Try something like this: root.createcommand('::tk::mac::Quit', insert IDLE's shutdown function here) This will map whatever function IDLE calls to prompt the user to save data before closing, to the Apple quit event. -- nosy: +wordtech ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10107 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10107] Quitting IDLE on Mac doesn't save unsaved code
Kevin Walzer wordt...@users.sourceforge.net added the comment: Ronald--I think it works with both 8.4 and 8.5. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10107 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5262] PythonLauncher considered harmfull
Kevin Walzer wordt...@users.sourceforge.net added the comment: Ronald, I'd vote for warning if it's the default action. Would your other proposed change require users to set PythonLauncher as the opening app for each Python file, or would there be a way to manually set it as the default from Finder or elsewhere? Kevin -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5262 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Kevin Walzer wordt...@users.sourceforge.net added the comment: Apparently the extra menu entries are related to an Appkit bug on Leopard that Tk-Cocoa picks up; the bug is not present on Snow Leopard and won't be fixed on Leopard. As a result, I've closed the SF bug. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Kevin Walzer wordt...@users.sourceforge.net added the comment: Re: msg 93821, the comment about redundant entries being appended to a menu when an EditorWindow is destroyed: I've reproduced this behavior in Tk-Cocoa itself, and have concluded it's not an issue with IDLE (or my patches). I've filed bug https://sourceforge.net/tracker/? func=detailatid=112997aid=2876709group_id=12997 at SF to address this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Kevin Walzer wordt...@users.sourceforge.net added the comment: Single revised diff, tkcocoa.diff, attached, applied against Python trunk. Have not tested against Python trunk, nor do I believe it solves the issue with the extra menu items appearing when a window is closed. But hopefully this will apply more cleanly. -- Added file: http://bugs.python.org/file15096/tkcocoa.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Kevin Walzer wordt...@users.sourceforge.net added the comment: I've run into an additional problem with these patches. While they correctly set up the menus for Python Shell and editor windows, when a front-most window is closed, the menubar suddenly displays duplicate entries (for Edit, Run, and Help) at the end of the menubar, not all of which work correctly. Subsequent closing of other windows causes more duplication of menu entries. I have looked at every line of these patches, as well as some additional points in idlelib, and I cannot find what is causing the issue. As a result, I don't know where to fix it. If others are able to reproduce this bug after applying the patches and can find where the problem is occurring, suggestions (or a fix) are welcome. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6
Kevin Walzer wordt...@users.sourceforge.net added the comment: I don't understand the logic of saying that IDLE in Python 2.6.3 will not support Tk 8.5 in any fashion when you say that it runs fine with ActiveState Tk 8.5. 8.4 is obsolete. The new window hang bug is specific to the version of Tk 8.5.7. If ActiveState's build works, then why not say you need to install your own version of Tk 8.5 for it to work? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6864 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6
Kevin Walzer wordt...@users.sourceforge.net added the comment: The bug with the edit menu sounds like the same issues I noted in http://bugs.python.org/issue6463. I think it was related to something in Tk-Cocoa 8.5, which was resolved in a later build of Tk, and which is why I closed the bug. The build of Tk-Cocoa that ships with Snow Leopard may have preceded the bug fix (there has been a lot of activity on the Tk- Cocoa front in recent weeks). If that's the case, I doubt a fix will be available unless Apple updates its core Tk libraries. The best workaround might be to install an updated build from the source http://github.com/das/tcltk/tree/de-carbon-8-5 into /Library/Frameworks. -- nosy: +wordtech ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6864 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6
Kevin Walzer wordt...@users.sourceforge.net added the comment: Ronald: No, unfortunately I was never able to reproduce the bug in pure Tcl. I tried various examples with the Tk text widget. I also tried various examples with the text widget via Tkinter. Each time the text widget, cutting, pasting, etc. worked as expected. I suspect the bug is somewhere in IDLE's interaction with that iteration Tk-Cocoa, but I could not pinpoint it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6864 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Kevin Walzer wordt...@users.sourceforge.net added the comment: Tested against Tk-Cocoa (the build of Tk-8.5 that comes with Snow Leopard; I also have my own build on Leopard) and Tk-Carbon 8.5 on Leopard/10.5, and it works as expected. I no longer have any builds of 8.4 to test against. The code defaults to the current behavior of Tk-Carbon if a Cocoa build is not detected. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Changes by Kevin Walzer wordt...@users.sourceforge.net: -- nosy: +ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6463] IDLE with Tk-Cocoa: Edit, format menus hang
Kevin Walzer wordt...@users.sourceforge.net added the comment: Following active development and several bugfixes in Tk-Cocoa 8.5.7, the issue with the cut/paste events in IDLE's edit menu has resolved itself. Therefore I am closing this bug. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6463 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5262] PythonLauncher considered harmfull
Kevin Walzer wordt...@users.sourceforge.net added the comment: I disagree that this is a bad idea--it's helpful to be able to double- click a GUI script and launch it automatically. I realize one can just fire up Terminal and go python myscript.py, but I missed this functionality when it was broken and would be unhappy to see it removed. -- nosy: +wordtech ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5262 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6463] IDLE with Tk-Cocoa: Edit, format menus hang
New submission from Kevin Walzer wordt...@users.sourceforge.net: In running IDLE against a build of Tk-Cocoa (8.5.7) on OS X, the edit and format menus sometimes hang and require a force-quit of IDLE. This happens when I try to paste text, and also when trying to format selections of text with indentation, etc. I've looked closely at the code for Bindings.py, EditorWindow.py, PyShell.py, and macOSXSupport.py, and can find no obvious reason for these problems. I am confident that the problem is not with Tk-Cocoa itself, as copy, pasting, etc. in a basic Tkinter text widget presents no problems, but resides instead somewhere in IDLE's code and how it interacts with the Tk-Cocoa build. I'm testing against Python 2.6.2. -- components: IDLE messages: 90431 nosy: wordtech severity: normal status: open title: IDLE with Tk-Cocoa: Edit, format menus hang type: behavior versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6463 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6441] Tkinter cannot find *64 bit* Tcl/Tk on Mac OS X
Changes by Kevin Walzer wordt...@users.sourceforge.net: -- nosy: +wordtech ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6441 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Changes by Kevin Walzer wordt...@users.sourceforge.net: Removed file: http://bugs.python.org/file14031/macosxSupport.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Kevin Walzer wordt...@users.sourceforge.net added the comment: additional refinement to help_dialog command, makes menu consistent -- Added file: http://bugs.python.org/file14035/macosxSupport.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Changes by Kevin Walzer wordt...@users.sourceforge.net: Removed file: http://bugs.python.org/file14035/macosxSupport.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Kevin Walzer wordt...@users.sourceforge.net added the comment: typo in macosxSupport.patch--fixed -- Added file: http://bugs.python.org/file14036/macosxSupport.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
New submission from Kevin Walzer wordt...@users.sourceforge.net: In version 8.6 of Tk (now in beta stage), Tk on OS X will be built on top of the Cocoa API, replacing the deprecated Carbon API. Tk-Cocoa implements some UI behaviors (help menu, application menu) differently than Tk- Carbon. The attached files patch IDLE to detect whether Tk is built on top of Cocoa or Carbon, and implement the correct UI behavior. -- components: IDLE files: EditorWindow.patch keywords: patch messages: 88139 nosy: wordtech severity: normal status: open title: Patch for IDLE/OS X to work with Tk-Cocoa type: behavior versions: Python 2.6 Added file: http://bugs.python.org/file14026/EditorWindow.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Changes by Kevin Walzer wordt...@users.sourceforge.net: Added file: http://bugs.python.org/file14027/Bindings.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Changes by Kevin Walzer wordt...@users.sourceforge.net: Added file: http://bugs.python.org/file14028/macosxSupport.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Kevin Walzer wordt...@users.sourceforge.net added the comment: These patches were tested on Python/IDLE 2.6.2 and Tk version 8.5.7. My build of Tk, which runs on top of Cocoa, is based on a fork of Tk hosted at http://github.com/das/tcltk/tree/de-carbon-8-5. Tk-Cocoa will become the main line for Mac OS X in Tk 8.6, now in beta. I have not tested these patches with a standard build of Tk-Carbon, but the patches default to the current IDLE behavior if Tk-Cocoa is not detected. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6076] Missing title for configDialog.py
New submission from Kevin Walzer wordt...@users.sourceforge.net: The configDialog for IDLE in version 2.6.2 is missing a title in the window: this patch adds a Preferences title to the window. -- components: IDLE files: configDialog.patch keywords: patch messages: 88143 nosy: wordtech severity: normal status: open title: Missing title for configDialog.py type: behavior versions: Python 2.6 Added file: http://bugs.python.org/file14030/configDialog.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6076 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Kevin Walzer wordt...@users.sourceforge.net added the comment: This updated patch of macosxSupport.py adds a fix that addresses the preferences dialog, see http://bugs.python.org/issue5232. -- Added file: http://bugs.python.org/file14031/macosxSupport.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa
Changes by Kevin Walzer wordt...@users.sourceforge.net: Removed file: http://bugs.python.org/file14028/macosxSupport.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5232] Setting font from preference dialog in IDLE on OS X broken
Kevin Walzer wordt...@users.sourceforge.net added the comment: Added Brad's snippet to macosxSupport.py: see http://bugs.python.org/issue6075 -- nosy: +wordtech ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5232 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3883] Bottom buttons of IDLE Preferences Pane on Mac not wide enough for their text.
Kevin Walzer wordt...@users.sourceforge.net added the comment: The attached patch to configDialog.py fixes this problem--all that was needed was to remove the internal padding in the buttons. -- keywords: +patch nosy: +wordtech type: - behavior Added file: http://bugs.python.org/file12488/configDialog.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3883 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X
Changes by Kevin Walzer [EMAIL PROTECTED]: ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4017 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X
Changes by Kevin Walzer [EMAIL PROTECTED]: -- nosy: +wordtech ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4017 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2618] Tile module: Add support for themed widgets
New submission from Kevin Walzer [EMAIL PROTECTED]: The Tile module adds support for the platform-native themed widgets now available in Tk 8.5's core (ttk:: namespace in Tk terms). The module also supports the ttk:: namespace for Tk 8.4 if a separate Tk extension is installed. Adding this module to the core lib-tk library will make it simple for Tkinter developers to access the improved, modern widget set now available. The module was originally developed by Martin Franklin. I have updated and maintained it for the past two years. Martin Franklin has granted me permission to submit it for inclusion in the lib-tk core; documentation available on request. -- components: Tkinter files: Tile.py messages: 65367 nosy: wordtech severity: normal status: open title: Tile module: Add support for themed widgets type: behavior versions: Python 2.6 Added file: http://bugs.python.org/file10010/Tile.py __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2618 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2618] Tile module: Add support for themed widgets
Kevin Walzer [EMAIL PROTECTED] added the comment: No, it is not all my code. I will contact Martin Franklin about filling out contributors agreement. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2618 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1905] PythonLauncher not working correctly on OS X 10.5/Leopad
New submission from Kevin Walzer: On Mac OS X 10.5 (Leopard), using Python 2.5.1, double-clicking on a Python script in the Finder does not produce the expected behavior, i.e. launch a terminal session and then execute the script. These errors are logged in the console: 1/22/08 9:28:56 AM Python Launcher[53692] doscript: Could not activate Terminal 1/22/08 9:28:56 AM Python Launcher[53692] doscript: AESend(activate): error -600 1/22/08 9:28:56 AM Python Launcher[53692] Exit status: -600 1/22/08 9:28:56 AM com.apple.launchd[118] ([0x0- 0x434434].org.python.PythonLauncher[53692]) Stray process with PGID equal to this dead job: PID 53694 PPID 1 Terminal I did not observe these behaviors on OS X 10.4. -- components: Macintosh messages: 61506 nosy: wordtech severity: major status: open title: PythonLauncher not working correctly on OS X 10.5/Leopad type: behavior versions: Python 2.5 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1905 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1676] Fork/exec issues with Tk 8.5/Python 2.5.1 on OS X
Kevin Walzer added the comment: I already queried the Tcl-Mac mailing list about this to see if it should be reported as a bug against Tk. Daniel Steffen, the maintainer of Tcl/Tk on the Mac, thinks it may stem from Python-Tk interaction. His detailed reply is here: http://www.nabble.com/Re%3A-Fork-vs.-exec-in-RC-5-of-Tk-8.5- p14394315.html I have not seen this error when running Tcl/Tk applications against 8.5- -just Python-Tkinter. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1676 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1676] Fork/exec issues with Tk 8.5/Python 2.5.1 on OS X
New submission from Kevin Walzer: I've just updated to Tk 8.5 on OS X (Leopard, 10.5.1) and have rebuilt Python to link to the new version of Tk. I'm seeing tons of weird error messages in my logs when I run IDLE: 12/20/07 8:18:46 PM [0x0-0xa50a5].org.python.IDLE[1300] Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTION ALITY___YOU_MUST_EXEC__() to debug. 12/20/07 8:18:46 PM [0x0-0xa50a5].org.python.IDLE[1300] The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec(). I'm not sure if this is a showstopper bug or not, but I'm a bit concerned about all these error messages. Can someone investigate? -- components: Tkinter messages: 58931 nosy: wordtech severity: normal status: open title: Fork/exec issues with Tk 8.5/Python 2.5.1 on OS X type: behavior versions: Python 2.5 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1676 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com