You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IDLE: fix Query subclass tab focus traversal order #81506
query.Query creates a popup with entry and ok/cancel buttons, in that order. Tabbing moves from the entry in that order. Currently, subclasses that add widgets add them after the 3 above, so they follow Cancel in the tab order. They do this by overriding create_widgets and initially calling super.create_widgets.
Added widgets should follow the entry box and precede the exit buttons. To do this, they should be created in between. Proposed solution: create_widgets calls 'extra_widgets' (pass for Query) after creating the Entry. Subclasses override to add widgets.
Activity
terryjreedy commentedon Jun 18, 2019
query.Query creates a popup with entry and ok/cancel buttons, in that order. Tabbing moves from the entry in that order. Currently, subclasses that add widgets add them after the 3 above, so they follow Cancel in the tab order. They do this by overriding create_widgets and initially calling super.create_widgets.
Added widgets should follow the entry box and precede the exit buttons. To do this, they should be created in between. Proposed solution: create_widgets calls 'extra_widgets' (pass for Query) after creating the Entry. Subclasses override to add widgets.
terryjreedy commentedon Jun 18, 2019
New changeset 54cf2e0 by Terry Jan Reedy in branch 'master':
bpo-37325: Fix focus traversal for 2 IDLE dialogs (bpo-14209)
54cf2e0
miss-islington commentedon Jun 18, 2019
New changeset 44d46e3 by Miss Islington (bot) in branch '3.7':
bpo-37325: Fix focus traversal for 2 IDLE dialogs (GH-14209)
44d46e3
miss-islington commentedon Jun 18, 2019
New changeset b626b11 by Miss Islington (bot) in branch '3.8':
bpo-37325: Fix focus traversal for 2 IDLE dialogs (GH-14209)
b626b11