[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)
Changes by Martin v. Löwis mar...@v.loewis.de: -- priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1601 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)
Kurt B. Kaiser added the comment: Assigning to tiran since I'm not building Python on XP. Changing to Tkinter, also. Is the file open bug fixed also by the suggested change? -- assignee: kbk - tiran components: +Tkinter -IDLE __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1601 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)
Changes by Christian Heimes: -- priority: - high resolution: - fixed status: open - pending __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1601 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)
Amaury Forgeot d'Arc added the comment: I don't think this check is necessary. Some users may want to target specific windows versions, and compile their own modules with a higher WINVER. OTOH, python.org should compile with WINVER=0x0500, so that distributed binaries can run on most win32 platforms. -- priority: high - resolution: fixed - status: pending - open __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1601 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)
Amaury Forgeot d'Arc added the comment: I found that the huge font in menus is due to an error in the call to SystemParametersInfo. Digging more, vc2008 defines WINVER=0x0600, which corresponds to Windows Vista, and is too high for Windows XP: this value activates the definition of extra fields in the NONCLIENTMETRICS structure, and SystemParametersInfo on Windows XP will not accept a sizeof() greater than expected. I recompiled tk, adding WINVER=0x500 to the command line: nmake /f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 And the menu is correctly displayed. I suggest to add this to the build_tkinter script. -- nosy: +amaury.forgeotdarc __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1601 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)
Christian Heimes added the comment: Amaury Forgeot d'Arc wrote: I found that the huge font in menus is due to an error in the call to SystemParametersInfo. Digging more, vc2008 defines WINVER=0x0600, which corresponds to Windows Vista, and is too high for Windows XP: this value activates the definition of extra fields in the NONCLIENTMETRICS structure, and SystemParametersInfo on Windows XP will not accept a sizeof() greater than expected. Wow, you are a genius! :) I recompiled tk, adding WINVER=0x500 to the command line: nmake /f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 And the menu is correctly displayed. I suggest to add this to the build_tkinter script. Is 0x0500 fine for Windows 2000? Should we add WINVER=0x0500 to the Python project files, too? Christian __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1601 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)
Christian Heimes added the comment: Christian Heimes wrote: Is 0x0500 fine for Windows 2000? Should we add WINVER=0x0500 to the Python project files, too? http://msdn2.microsoft.com/en-us/library/aa383745.aspx Minimum system required Minimum value for _WIN32_WINNT and WINVER Windows Server 2008 0x0600 Windows Vista 0x0600 Windows Server 2003 SP1, Windows XP SP2 0x0502 Windows Server 2003, Windows XP 0x0501 Windows 20000x0500 0x0500 is fine for Windows 2000. Should we add something like this to PC/pyconfig.h to ensure that our build uses only Win2k compatible features and that the user is using at least 2k to compile Python? #ifdef WINVER # if WINVER 0x0400 #error Windows 2000 or newer is required # endif # define WINVER 0x0500 # define _WIN32_WINNT 0x0500 #endif Christian __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1601 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)
New submission from Mark Summerfield: (1) IDLE starts up on Windows OK, but if I press Alt+F the file menu comes up giant sized (i.e., each menu entry is almost as tall as the screen). (2) If I open a file using Ctrl+O, the Open dialog pops up fine, but when I select a file and click Open, IDLE crashes. Oh, and (no version of) IDLE respects the cursor blink setting on Windows. -- components: IDLE messages: 58486 nosy: mark severity: normal status: open title: IDLE not working correctly on Windows (Py30a2/IDLE30a1) type: behavior versions: Python 3.0 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1601 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)
Changes by Guido van Rossum: -- assignee: - kbk nosy: +kbk __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1601 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)
Changes by Kurt B. Kaiser: -- keywords: +py3k __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1601 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)
Christian Heimes added the comment: We are aware of several Windows related bugs with IDLE. I assume they are related to our Tcl/Tk build. -- nosy: +tiran __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1601 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)
Joseph Armbruster added the comment: Tiran, agreed. You can reproduce this issue quickly outside of IDLE with this snippet: from Tkinter import * import tkMessageBox class App(Frame): def __init__(self, master): Frame.__init__(self,master) self.master.title(Wierd Menu) self.configure(height=200,width=200) self.grid(padx=15, pady=15,sticky=N+S+E+W) self.menu = Menu(self) self.master.config(menu=self.menu) self.tkMenu = Menu(self.menu) self.menu.add_cascade(label=MenuItem, menu=self.tkMenu) self.tkMenu.add_command(label=Test, command=self.Test) def Test(self): tkMessageBox.showinfo(Test, Test) if __name__ == __main__: root = Tk() app = App(root) root.mainloop() -- nosy: +JosephArmbruster __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1601 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com