On Linux, when I bring up the Open Imported Module dialog , no control has the focus. This means I can't use the arrow keys to select a module. I have to click the dialog to get it to work.
Works OK on Windows.
Thank you for reporting. This Linux stuff. I didn't test it on Linux. I fear, that open imported module is maybe not the only dialog, which has not initially the focus. I think, that is a difference in gtk and windows. I have already saw it a few months ago on a linux pc, where I ran DrPython. Hm, does a d.SetFocus() on line about 2296 (after creating that dialog) in drpython.py help?
Could you report, what helped, so I can add that codeline to svn?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I reopened that bug. That is annoying on gtk. We would add that command (which should be anyway have the focus, I think) to several dialogs. Maybe asking in the wxpython user list. Could that be a bug? I cannot imagine, that that behaviour is intended.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=772872
Originator: NO
Thank you for reporting. This Linux stuff. I didn't test it on Linux. I fear, that open imported module is maybe not the only dialog, which has not initially the focus. I think, that is a difference in gtk and windows. I have already saw it a few months ago on a linux pc, where I ran DrPython. Hm, does a d.SetFocus() on line about 2296 (after creating that dialog) in drpython.py help?
Could you report, what helped, so I can add that codeline to svn?
Logged In: YES
user_id=2018792
Originator: YES
Adding self.SetFocus() to the end of of drSingleChoiceDialog.__init__ fixes the problem.
Haven't tested this on Windows yet though.
Logged In: YES
user_id=772872
Originator: NO
thanks, it is checked in.
Logged In: YES
user_id=2018792
Originator: YES
The "Source Browser Go To" has the same problem.
Other dialogs that have this problem:
Insert Separator
Everything on Options menu
Logged In: YES
user_id=772872
Originator: NO
I reopened that bug. That is annoying on gtk. We would add that command (which should be anyway have the focus, I think) to several dialogs. Maybe asking in the wxpython user list. Could that be a bug? I cannot imagine, that that behaviour is intended.
fixed in 3.11.1