Terry J. Reedy added the comment:
Serhiy, thanks for the review. I bungled the issue number on the commit
message, so here are the commit notices. Will correct for NEWS.
New changeset b79dd0d7dc98 by Terry Jan Reedy in branch '2.7':
Issue #24570: Right-click for context menus now work on Mac
Mark Roseman added the comment:
Have attached macpopup-revised.patch, incorporating Serhiy's very helpful
suggestions. Unless there are any other thoughts, this one is probably ready to
go.
--
Added file: http://bugs.python.org/file40208/macpopup-revised.patch
Mark Roseman added the comment:
There is no notion of middle button on Mac, hence right button is B2. It's
documented. Current Tk 8.6 has even removed the PasteSelection binding from
B2 on Aqua because of this (I've filed a Tk bug report to backport this to
8.5). 8.6 also defines a
Serhiy Storchaka added the comment:
Looks as right button on Mac corresponds to middle button on X Window (paste
selection and scroll if moved). This behavior is standard for all Tk
applications. I don't think we should break this.
--
nosy: +serhiy.storchaka
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24801
___
___
Serhiy Storchaka added the comment:
Ah, so this is a workaround of 8.5- bug. Then looks reasonable to me.
Added comments on Rietveld.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24801
Mark Roseman added the comment:
Have attached macpopup.patch which removes the incorrect Tk behaviour and makes
it so that right click on Mac will bring up the context menu as appropriate.
--
keywords: +patch
Added file: http://bugs.python.org/file40148/macpopup.patch
Mark Roseman added the comment:
If you have your mouse set up to have two buttons, right-clicking in the editor
window doesn't bring up the context menu it's supposed to.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24801
Terry J. Reedy added the comment:
From your description, I an not sure what it is that does not work.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24801
___
Changes by Mark Roseman m...@markroseman.com:
--
components: +IDLE
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24801
___
___
Python-bugs-list
New submission from Mark Roseman:
For popup menus, control-click works, but right-click on mouse buttons that
support it, doesn't work.
This is a followup to #10404, last addressed in 2010.
As noted there, right click behaviour should be supported.
The right click Tk text bindings on Mac
11 matches
Mail list logo