This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients terry.reedy
Date 2015-09-26.23:12:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443309139.01.0.264782757887.issue25244@psf.upfronthosting.co.za>
In-reply-to
Content
Spinoff from #24988, where I noted "The standard on Windows is to bring up a context menu on right-button-release, not on r-b-press." and asked "What about linux and mac?"

The question is relevant for 'Go to File/Line'.  Look at text where pressed or where released?

Current code in multiple places is
        if macosxSupport.isAquaTk():
            listbox.bind("<ButtonPress-2>", self.popup_event)
            listbox.bind("<Control-Button-1>", self.popup_event)
        else:
            listbox.bind("<ButtonPress-3>", self.popup_event)

Also for paste: where insert?

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.

Additional note: 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.
History
Date User Action Args
2015-09-26 23:12:19terry.reedysetrecipients: + terry.reedy
2015-09-26 23:12:19terry.reedysetmessageid: <1443309139.01.0.264782757887.issue25244@psf.upfronthosting.co.za>
2015-09-26 23:12:18terry.reedylinkissue25244 messages
2015-09-26 23:12:18terry.reedycreate