[issue4961] Inconsistent/wrong result of askyesno function in tkMessageBox

2009-04-22 Thread Guilherme Polo
Changes by Guilherme Polo : -- stage: -> test needed ___ Python tracker <http://bugs.python.org/issue4961> ___ ___ Python-bugs-list mailing list Unsubscri

[issue1525806] Tkdnd mouse cursor handling patch

2009-04-22 Thread Guilherme Polo
Guilherme Polo added the comment: I just created a sample listbox with drag & drop support and it indeed looks better if the "hand2" cursor or whatever cursor is set only shows up when motion starts. But, for the sample included with Tkdnd, I find it better to show up the differe

[issue1074333] input from numeric pad always dropped when numlock off

2009-04-23 Thread Guilherme Polo
Guilherme Polo added the comment: Unfortunately this is not that easy for us, while we could add some code like this: import Tkinter text = Tkinter.Text() text.event_add("<>", "") text.event_add("<>", "") text.bind_class("Text"

[issue1074333] input from numeric pad always dropped when numlock off

2009-04-23 Thread Guilherme Polo
Guilherme Polo added the comment: > When numlock is on, it would still > move one line up. We could change it to fix this problem, but then we > would be using tk::TextUpDownLine which is marked as unsupported > (basically everything that could help us in such situations

[issue3493] No Backslash (\) in IDLE 1.2.2

2009-04-23 Thread Guilherme Polo
Guilherme Polo added the comment: Can you verify if it is possible to type '\' in a standard Tkinter.Text ? -- nosy: +gpolo type: feature request -> ___ Python tracker <http://bugs.pyth

[issue1794] Hot keys must work in any keyboard layout

2009-04-23 Thread Guilherme Polo
Guilherme Polo added the comment: That bug report is talking about gtk and modifiers affecting bindings (in the first comments at least), or maybe it even talks about your problem but it is so long that I would ask to include the relevant parts here. Nevertheless, after reading your comments I

[issue1111130] tkSimpleDialog broken on MacOS X (Aqua Tk)

2009-04-24 Thread Guilherme Polo
Guilherme Polo added the comment: I had temporary access to a mac to verify this, and it is really sad to see things like that. Anyway, I found out that by calling self.entry.update_idletasks in _QueryDialog.body right after calling self.entry.insert(0, self.initialvalue) solved the problem. I

[issue4985] Idle hangs when given a nonexistent filename.

2009-04-25 Thread Guilherme Polo
Guilherme Polo added the comment: Ah, retried this bug a bit more and found out that to hang you have to run idle with the -e option and a non-existing filename. Anyway, this was all introduced by r57998. -- ___ Python tracker <h

[issue4985] Idle hangs when given a nonexistent filename.

2009-04-25 Thread Guilherme Polo
Changes by Guilherme Polo : -- nosy: +kbk ___ Python tracker <http://bugs.python.org/issue4985> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5783] IDLE cannot find windows chm file

2009-04-25 Thread Guilherme Polo
Guilherme Polo added the comment: Kurt, I'm not sure if you misunderstood Martin but there is no such "closing bot" here (only if you consider people as bots :) Anyway, are you porting these to py3k and release30-maint or can som

[issue5559] IDLE Output Window 's goto fails when path has spaces

2009-04-26 Thread Guilherme Polo
Guilherme Polo added the comment: Wouldn't it be better to actually write tests for it ? Also, the issue's title is a bit misleading, it is not only spaces that causes troubles. Isn't fixing how GrepDialog <-> OutputWindow works an acceptable solution ? Instead of just writ

[issue3344] IDLE - use enumerate instead of zip(count(), ...)

2009-04-26 Thread Guilherme Polo
Guilherme Polo added the comment: I would prefer to rename it, why waste the "chance" to rename something badly named ? I agree on the rstrip use. -- ___ Python tracker <http://bugs.python.

[issue5559] IDLE Output Window 's goto fails when path has spaces

2009-04-26 Thread Guilherme Polo
Guilherme Polo added the comment: > Do you have a case the corrected code doesn't handle? Create a file that starts with a space and search for something that returns it, for example. -- ___ Python tracker <http://bugs.python.or

[issue3286] IDLE opens window too low on Windows

2009-05-03 Thread Guilherme Polo
Guilherme Polo added the comment: > It is a bug for a window manager to ignore the Taskbar; this is rare to > unique in my experience.  In fact, most Windows apps reopen at the size > and position closed.  But I am no longer bothered enough to find, > register with, and post to ano

[issue6157] Tkinter.Text: changes for bbox, debug, and edit methods.

2009-05-31 Thread Guilherme Polo
New submission from Guilherme Polo : Hi, While testing Tkinter.Text I've found some problems and it would be good to fix them in trunk. The methods edit_redo, edit_reset, edit_separator and edit_undo doesn't return anything, so I would suggest to remove the return statements there.

[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns

2009-05-31 Thread Guilherme Polo
New submission from Guilherme Polo : The attached patch removes the return statements from proxy_forget and proxy_place since these methods aren't supposed to return anything. It also fixes the docstring for the identify and paneconfigure methods. While fixing the docstring in paneconfig

[issue6160] Tkinter.Spinbox: fix for bbox and removed some uninteresting returns

2009-05-31 Thread Guilherme Polo
New submission from Guilherme Polo : The current bbox method for Tkinter.Spinbox is very likely to never return a tuple. The attached patch uses _getints to always return a tuple of integers. The other changes in the patch are about removing unneeded return statements. -- components

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2009-06-01 Thread Guilherme Polo
New submission from Guilherme Polo : Hi, I've noticed some minor problems in Tkinter.Scrollbar that would be good to be addressed. The activate method never returns a value and it also doesn't accept to be called without an element -- which is accepted by tcl. When an element is not

[issue6180] Tkinter.Entry: fix for xview and some doc clarifications

2009-06-02 Thread Guilherme Polo
New submission from Guilherme Polo : The xview method in Tkinter.Entry doesn't indicate that index may be None, which is used to query the Entry xview. I also considered that the docstrings in the selection_range and selection_present methods needed some clarifications, so the attached

[issue6181] Tkinter.Listbox several minor issues

2009-06-02 Thread Guilherme Polo
New submission from Guilherme Polo : Hi there, I've found several minor issues in Tkinter.Listbox which are all fixed by the attached patch. I'm considering the bbox method should be clear in relation to the amount of accepted arguments, which is always one. So I dropped the *args u

[issue6225] Fixing several minor bugs in Tkinter.Canvas and one in Misc._configure

2009-06-06 Thread Guilherme Polo
New submission from Guilherme Polo : Hi, While testing Tkinter.Canvas I've found several minor bugs that I would prefer to see fixed. Many of them change the current Canvas api a bit, but for better. For example, the methods "focus", "gettags", "icursor",

[issue798058] IDLE / PyOS_InputHook

2009-06-06 Thread Guilherme Polo
Guilherme Polo added the comment: Closing as promised. -- ___ Python tracker <http://bugs.python.org/issue798058> ___ ___ Python-bugs-list mailing list Unsub

[issue3573] IDLE hangs when passing invalid command line args (directory(ies) instead of file(s))

2009-06-06 Thread Guilherme Polo
Guilherme Polo added the comment: Idle has changed a bit since the initial message, so it no longer hangs when it is configured to open an edit window by default, but now it hangs when running it as: idle -e (which the patch fixes). -- ___ Python

[issue798058] IDLE / PyOS_InputHook

2009-06-08 Thread Guilherme Polo
Guilherme Polo added the comment: Uh oh, awesome. Thanks ;) -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue798058> ___ ___ Python-

[issue798058] IDLE / PyOS_InputHook

2009-06-08 Thread Guilherme Polo
Changes by Guilherme Polo : -- resolution: -> rejected ___ Python tracker <http://bugs.python.org/issue798058> ___ ___ Python-bugs-list mailing list Unsubscri

[issue6244] Support for tcl 8.6

2009-06-08 Thread Guilherme Polo
Guilherme Polo added the comment: This is a bit misleading. Python supports compiling with Tcl 8.6 and Tkinter (and _tkinter) will work (or at least should work) with it, what is not supported are tcl/tk versions below 8.3.1. I'm ok with with patching setup.py to add this "su

[issue1252236] Simplying Tkinter's event loop

2009-06-14 Thread Guilherme Polo
Guilherme Polo added the comment: Michiel, the patch on #1049855 has been rejected so there is no longer a fix for the first problem to be solved. Also, the fourth problem you described is not entirely true, it is possible to run tkinter apps on IDLE without calling the mainloop function (see

[issue5492] Error on leaving IDLE with quit() or exit() under Linux

2009-06-14 Thread Guilherme Polo
Guilherme Polo added the comment: I can get a similar error from time to time, just try it a couple of times and I believe you should hit it too. When that error isn't thrown IDLE prints the traceback of a SystemExit exception inside IDLE right before closing, so it may be hard to notice.

[issue1230] Tix HList class missing method implementation for info_bbox

2009-06-14 Thread Guilherme Polo
Guilherme Polo added the comment: Please include a diff of this modified Tix.py instead. -- nosy: +gpolo ___ Python tracker <http://bugs.python.org/issue1

[issue5450] test_tcl testLoadTk fails if DISPLAY defined but connect fails, instead of being skipped

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Finally I'm looking into this again. So, for now, I decided to only move the tk load tests to Lib/lib-tk/test/test_tkinter under a new module named test_loadtk. Lib/test/test_tcl remains almost the same, except it no longer it contain those tests related

[issue5450] test_tcl testLoadTk fails if DISPLAY defined but connect fails, instead of being skipped

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Running tk tests through both Lib/test/test_tk.py and Lib/test/regrtest.py show the desired behaviour (from what I understood from your description and from what I tested). It has been committed now, r73495 (trunk). Should 2.6 and 3.0 really receive this

[issue5450] test_tcl testLoadTk fails if DISPLAY defined but connect fails, instead of being skipped

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Fine, closing then. Committed as r73497 on py3k. -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue1356969] Tix.py class HList missing info_bbox

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Should info_dragsite and info_dropsite be added too ? (I guess I would be too lucky to get an answer after ~3 years). I'm preparing a patch but I don't tend to use Tix, so it would be good if someone else wrote tests and at least tested the

[issue1356969] Tix.py class HList missing info_bbox

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: There you go. -- Added file: http://bugs.python.org/file14330/missing_tixhlist_info_subcomands.diff ___ Python tracker <http://bugs.python.org/issue1356

[issue1356969] Tix.py class HList missing info_bbox, info_dragsite and info_dropsite

2009-06-21 Thread Guilherme Polo
Changes by Guilherme Polo : -- title: Tix.py class HList missing info_bbox -> Tix.py class HList missing info_bbox, info_dragsite and info_dropsite ___ Python tracker <http://bugs.python.org/issue1

[issue1230] Tix HList class missing method implementation for info_bbox

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Closing in favour of issue1356969. -- resolution: -> duplicate status: open -> closed superseder: -> Tix.py class HList missing info_bbox, info_dragsite and info_dropsite ___ Python track

[issue3062] Turtle speed() function has no effect under Mac OS X

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Although turtle.py lives inside the tkinter package, this doesn't seem to be related to tkinter at all. I've set the "no selection" option for the Components now. -- components: -Tkinter nosy: +gpolo __

[issue1600182] Tix ComboBox entry is blank when not editable

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: I don't have access to this file "issue_1600182.py" but it seems you are forgetting to instantiate Tix.Tk (which will load the 'tix' package) before creating the Tix.ComboBox. I'm closing this as it is not a bug in the python tix

[issue869780] curselection() in Tkinter.py should return ints

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Closing this in favour of issue6181 as it contains several other minor fixes in Listbox that now have been tested in the tk_and_idle_maintenance branch. -- status: open -> closed superseder: -> Tkinter.Listbox several minor

[issue1522587] Tix.Grid patch

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Weird.. I guess no one ever used Tix.Grid ? -- nosy: +gpolo ___ Python tracker <http://bugs.python.org/issue1522587> ___ ___

[issue802310] tkFont may reuse font names

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Uhm, now I'm getting it at around 3 iterations with python-trunk. So, can't we just use a simple generator for this ? Patch attached. The same could be done for widget and callback naming. -- keywords: +patch Added file: http://bugs.

[issue4961] Inconsistent/wrong result of askyesno function in tkMessageBox

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: I guess this will have to be accepted without any tests, unless someone can come up with a way to test tk_messageBox under Windows and Mac. -- keywords: +patch Added file: http://bugs.python.org/file14333/stringify.diff

[issue1250469] Tix: PanedWindow.panes nonfunctional

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Is there some reason to prefer .split over .splitlist ? It is very likely that .split would still return a string if you had a single pane, while .splitlist would return a tuple with an item on it. Patch attached. -- keywords: +patch nosy: +gpolo

[issue1250469] Tix: PanedWindow.panes nonfunctional

2009-06-21 Thread Guilherme Polo
Changes by Guilherme Polo : -- versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue1250469> ___ ___ Python-bugs-list m

[issue1259434] Tix CheckList 'radio' option cannot be changed

2009-06-21 Thread Guilherme Polo
Guilherme Polo added the comment: Just adding patch as a .diff -- keywords: +patch nosy: +gpolo versions: +Python 2.7, Python 3.1 -Python 2.6 Added file: http://bugs.python.org/file14335/issue1259434.diff ___ Python tracker <http://bugs.python.

[issue775544] Tk.quit leads to crash in python.exe

2009-06-29 Thread Guilherme Polo
Guilherme Polo added the comment: I've tried reproducing this on Windows XP using both Python 2.3.5 and 2.2.3 (and also some newer ones) and couldn't duplicate the issue. I also tested the file attached on issue837234 and got nothing, changed it a bit and still got nothing. I can rep

[issue1522587] Tix.Grid patch

2009-06-29 Thread Guilherme Polo
Guilherme Polo added the comment: I've reviewed it now and produced a patch based on it, but it doesn't include undocumented Tix features that were added. I'm separating this new patch into two parts, the first part isn't supposed to affect Tix users, so it should be safe t

[issue1522587] Tix.Grid patch

2009-06-29 Thread Guilherme Polo
Guilherme Polo added the comment: I forgot to include the new Grid constants, but I'm ok on adding them. -- ___ Python tracker <http://bugs.python.org/issu

[issue1447222] tkinter Dialog fails when more than four buttons are used

2009-06-29 Thread Guilherme Polo
Guilherme Polo added the comment: Interesting.. I tried testing Dialog for that bug, but generating keypress (you can combine with keyrelease too) doesn't trigger the problem (very weird to me). I will be simulating mouse clicks to see if, for some reason, the bug gets noticed. Attachin

[issue2053] IDLE - standardize dialogs

2010-07-10 Thread Guilherme Polo
Guilherme Polo added the comment: > Tal Einat added the comment: > > ... > > The process of discussing this patch has taken far, far too long. I can't > stand such discussions spanning months (and years!). Please just accept this > patch or close it. I'm fed up

[issue9262] IDLE: Use ttk.Notebook for tabbed windows

2010-07-14 Thread Guilherme Polo
Guilherme Polo added the comment: It is possible to create a tabbed window without ttk.Notebook. This is already being done in the configuration dialog. The real issue goes much beyond ttk.Notebook, check the patch "tabs_ttk_and_co.diff" at http://code.google.com/p/python-ttk/down

[issue9222] IDLE: Fix open/saveas 'Files of type' choices

2010-07-16 Thread Guilherme Polo
Guilherme Polo added the comment: I remember about another issue regarding extensions and save-as/open dialog boxes. Let me try to find it, just to be sure that the problem described here is different. -- ___ Python tracker <h

[issue9222] IDLE: Fix open/saveas 'Files of type' choices

2010-07-16 Thread Guilherme Polo
Guilherme Polo added the comment: I was thinking of issue4832. The patch provided here seems fine to me, although the behavior remains the same in Mac. -- ___ Python tracker <http://bugs.python.org/issue9

[issue4832] idle filename extension

2010-07-20 Thread Guilherme Polo
Guilherme Polo added the comment: Sorry but this is just bikeshedding, whoever commits can make this change or if it had been committed without this "improvement" then anyone could adjust without needing a new issue. -- ___ Python trac

[issue4345] Implement nb_nonzero for PyTclObject

2010-08-04 Thread Guilherme Polo
Guilherme Polo added the comment: Mark, If you want to expand it to handle other data types, I'm ok with it but I predict troubles for you. The problem is that in Tcl there is only one "real" data type -- string. Depending on how you operate over a value it is then, interna

[issue4345] Implement nb_nonzero for PyTclObject

2010-08-04 Thread Guilherme Polo
Guilherme Polo added the comment: > I assume that Tcl_GetCharLength works for any object, regardless of > its internal representation? I didn't look at its code but I assume it will create a string representation for the object in question if there isn't one in place when

[issue17945] tkinter/Python 3.3.0: peer_create doesn't instantiate Text

2013-05-09 Thread Guilherme Polo
Guilherme Polo added the comment: Uh.. well observed. It sounds like you are the first actual user of peer_create. Now I wish Tk had done this in a different way: when creating a text widget, specificy that it is a peer of some other text widget via an option ("-peer w" for exa

[issue17945] tkinter/Python 3.3.0: peer_create doesn't instantiate Text

2013-05-09 Thread Guilherme Polo
Guilherme Polo added the comment: Here is a quick patch for it: http://pastebin.com/m1XQBGqU (I forgot my password for the tracker, and leaving home right now). Does it work for you ? -- ___ Python tracker <http://bugs.python.org/issue17

[issue17945] tkinter/Python 3.3.0: peer_create doesn't instantiate Text

2013-05-11 Thread Guilherme Polo
Guilherme Polo added the comment: If someone decides to commit this, please check that the name of the widget in Tcl is always adequate. -- ___ Python tracker <http://bugs.python.org/issue17

<    2   3   4   5   6   7