-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataViewIndexListModel demo double-clicking can not enter in edit mode in macOSX #2616
Comments
I have just upgraded my MacBook Pro (macOS 15.0 Sequoia) to Python 3.12.6 and wxPython 4.2.2. I then ran the wxPython demo and selected the DVC_IndexListModel demo. I confirm that double-clicking on an entry doesn't enter edit mode. However, if I single-click an entry and then press the Return key, it does enter edit mode. |
@reticulatus did this work in previous Python or wxPython versions on macOS? |
Sorry, I only tested the latest versions. |
I was just experimenting with it on linux and I noticed that it's not strictly a double-click action that it's responding to. i.e the time between clicking a row to select it and clicking a cell to enter edit mode can be as long as you like! So I went back to my MacBook and tried doing a click on a row, followed by a slight pause and then click on a cell in that row and it did then enter edit mode! EDIT: another difference I noticed is that, on linux the second click can be anywhere in a cell in order to enter edit mode, but on the macbook it has to be on the text in the cell and not on any trailing blank space. |
not works for my mac. the only way to enter edit mode is single click and enter Return key, but it only enter the first column, if you want to select next colunm, you must press tab so: So what is the right way to select a cell and enter edit mode? |
In the wxPython documentation for DataViewCustomRenderer.CreateEditorCtrl() it says:
|
Below is an animated GIF showing clicking opening edit mode on my MacBook. Click 1 gives the wxPython demo window the focus. [The GIF then loops until the 'pause' button is pressed.] |
I have two questions
|
|
@reticulatus thanks. i test again that "slowly double-clicking" can enter edit mode. but pausing greater than 1.5 seconds is too difficult to use. |
how to make double-clicking enter edit mode? |
Operating system: MacOS 14.5
wxPython version & source: 4.2.2
Python version & source: 3.12.6
Description of the problem:
in the DataViewIndexListModel demo,
double click the cell, nothing happen, not enter in edit mode
。but in windows11, the same version wxpython, DataViewIndexListModel demo can enter in editor mode.Code Example (click to expand)
# Put code sample here
The text was updated successfully, but these errors were encountered: