Skip to content

I6312 fix mouse interaction symbol list#6328

Merged
feerrenrut merged 3 commits into
masterfrom
i6312-FixMouseInteractionSymbolList
Sep 19, 2016
Merged

I6312 fix mouse interaction symbol list#6328
feerrenrut merged 3 commits into
masterfrom
i6312-FixMouseInteractionSymbolList

Conversation

@feerrenrut

Copy link
Copy Markdown
Contributor

Calling Skip() on the focus events fixes the "unable to type in the replacement field when using the mouse to focus it" issue.

Updating the symbol list items as the "change symbol" fields are
changed fixes an issue where the values for the items in the list were
not updated when the mouse was used to select a new item in the list.
When the already selected (and now changed) item was reselected, then
the item in the list WAS updated.
This issue seemed to be caused by the EVT_KILL_FOCUS and the
EVT_LIST_ITEM_FOCUSED being received out of order.

Disables "change symbol" fields when no item is selected (when dialog is
first opened. Seeing the fields disabled helps to indicate that an item
must be selected first. When this happens its clear that the fields
relate to the selected item, as they can be seen to update.

Fixes #6312

Updating the symbol list items as the "change symbol" fields are
changed fixes an issue where the values for the items in the list were
not updated when the mouse was used to select a new item in the list.
When the already selected (and now changed) item was reselected, then
the item in the list WAS updated.
This issue seemed to be caused by the EVT_KILL_FOCUS and the
EVT_LIST_ITEM_FOCUSED being received out of order.

Disables "change symbol" fields when no item is selected (when dialog is
first opened. Seeing the fields disabled helps to indicate that an item
must be selected first. When this happens its clear that the fields
relate to the selected item, as they can be seen to update.

Fixes #6312
@feerrenrut

Copy link
Copy Markdown
Contributor Author

@jcsteh Could you please take a look at this when you have a chance?

Comment thread source/gui/settingsDialogs.py Outdated
@@ -1636,31 +1636,53 @@ def makeSettings(self, settingsSizer):
settingsSizer.Add(sizer)

# Translators: The label for the edit field in symbol pronunciation dialog to change the pronunciation of a symbol.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realise you didn't write this translators comment, but while you're here, can you please change "edit field" to "group of controls"?

@jcsteh

jcsteh commented Sep 5, 2016

Copy link
Copy Markdown
Contributor

I'm happy with this. Go ahead and incubate!

feerrenrut added a commit that referenced this pull request Sep 5, 2016
re #6312
Merge branch 'i6312-FixMouseInteractionSymbolList' into next
@feerrenrut feerrenrut merged commit d7d9f61 into master Sep 19, 2016
@nvaccessAuto nvaccessAuto added this to the 2016.4 milestone Sep 19, 2016
feerrenrut added a commit that referenced this pull request Sep 19, 2016
The mouse can now be used to move focus between the symbol list and the edit fields in the symbol pronunciation dialog. (#6312)
@feerrenrut feerrenrut deleted the i6312-FixMouseInteractionSymbolList branch January 17, 2020 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using the mouse in the symbol pronunciation list does not work well

3 participants