[issue24988] IDLE: debugger context menus not working on Mac

2015-09-26 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Opened #25244 to consider changing exact right-click behavior.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24988] IDLE: debugger context menus not working on Mac

2015-09-26 Thread Roundup Robot

Roundup Robot added the comment:

New changeset bf11034f0291 by Terry Jan Reedy in branch '2.7':
Issue #24988: Idle ScrolledList context menus (used in debugger)
https://hg.python.org/cpython/rev/bf11034f0291

New changeset 85a4c95ad02f by Terry Jan Reedy in branch '3.4':
Issue #24988: Idle ScrolledList context menus (used in debugger)
https://hg.python.org/cpython/rev/85a4c95ad02f

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24988] IDLE: debugger context menus not working on Mac

2015-09-26 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
assignee:  -> terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24988] IDLE: debugger context menus not working on Mac

2015-09-03 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I just found #24801 which addressed the editor issue.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24988] IDLE: debugger context menus not working on Mac

2015-09-03 Thread Mark Roseman

Mark Roseman added the comment:

Terry, the new code I've proposed includes a "tkextras" module that is a good 
place for these sort of little convenience functions.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue24988] IDLE: debugger context menus not working on Mac

2015-09-03 Thread Terry J. Reedy

Terry J. Reedy added the comment:

The standard on Windows is to bring up a context menu on right-button-release, 
not on r-b-press.  What about linux and mac?  

Thunderbird and Notepad++ move the insertion cursor on rb-press, That is the 
paste position even if the mouse is moved before release. Notepad does not move 
the insert cursor. MS Word is confusing, erasing the cursor when the menu is 
displayed and moving it when the menu goes away.

EditorWindow.py has this code for context menu event binding:

if macosxSupport.isAquaTk():
# Some OS X systems have only one mouse button,
# so use control-click for pulldown menus there.
#  (Note, AquaTk defines <2> as the right button if
#   present and the Tk Text widget already binds <2>.)
text.bind("",self.right_menu_event)
else:
# Elsewhere, use right-click for pulldown menus.
text.bind("<3>",self.right_menu_event)

Testing with my middle button, a press and release act the same as left click 
to move the insertion cursor to the mouse cursor. Moving my mouse while holding 
the middle button down moves the text pane within the text window. The 
insertion cursor is not moved. This is pretty much redundant with using the 
scroll wheel or scroll bar.

Would it confuse Mac users to have rt-click for context menu only work in 
debugger?  Could we make rt-click work in editor windows by recording position 
or time on press and compare position or time on release?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24988] IDLE: debugger context menus not working on Mac

2015-09-02 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Ned, can you check this Idle-Mac patch?

I presume the same code is used elsewhere.  It might be nice to encapsulate it 
sometime, though I am not sure where to put a context-bind function.

--
nosy: +ned.deily
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24988] IDLE: debugger context menus not working on Mac

2015-09-02 Thread Terry J. Reedy

Terry J. Reedy added the comment:

'Goto source line' works on Win7.  Show stackframe does not do anything that I 
can see, and seems perhaps redundant.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24988] IDLE: debugger context menus not working on Mac

2015-09-02 Thread Mark Roseman

New submission from Mark Roseman:

Right menu button to invoke context menu (as well as alternative control-click) 
not set up correctly for Mac in the debugger. Patch attached.

--
components: IDLE
files: debug-mac-context-menu.patch
keywords: patch
messages: 249582
nosy: kbk, markroseman, roger.serwy, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: debugger context menus not working on Mac
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file40325/debug-mac-context-menu.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com