[Patches] [ python-Patches-1491759 ] IDLE L&F on MacOSX

SourceForge.net noreply at sourceforge.net
Fri May 26 14:28:31 CEST 2006


Patches item #1491759, was opened at 2006-05-19 19:39
Message generated for change (Comment added) made by ronaldoussoren
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1491759&group_id=5470

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: IDLE
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Ronald Oussoren (ronaldoussoren)
Assigned to: Kurt B. Kaiser (kbk)
Summary: IDLE L&F on MacOSX 

Initial Comment:
The attached patch fixes some L&F issues on MacOSX:

- IDLE now reacts to file-open AppleEvents, which means that if a user 
associates IDLE.app with .py files IDLE will open .py files when the user 
double-clicks on them

- Hide the tcl/tk console window that gets opened by default when IDLE is 
in an application bundle (that's a misfeature of aquatk)

- Patch the menu's to make sure they better conform to the HIG.

- PyShell/EditorWindow  status_bar no longer overlaps with the resize 
widget in the lower-left corner of the window

Open issues:

- When you double-click on a file and IDLE is not yet open the file will be 
opened, but IDLE will open the default shell window just above it :-(

- I'm not terribly happy with the code changes that implement the 
updated menu structure.

- The default keybindings on OSX are the windows keybindings. I haven't 
checked yet if that can be fixed programmaticly, I also haven't verified if 
the macos keybindings are fully correct for OSX.

- The general L&F is still wrong, but that isn't really IDLE's fault: tcl/tk 
doesn't fully conform to the HIG yet (dialogs without title bars, wrong 
default dinwos background, wrong widget for tabbed windows, ...).

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

>Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-05-26 14:28

Message:
Logged In: YES 
user_id=580910

I've currently worked around the default keybindings issue by copying a mac-
specific copy of config-main.def into the library directory when doing a 
framework install of python. That's obviously not a good solution, but I wouldn't 
know how to do it better.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1491759&group_id=5470


More information about the Patches mailing list