Speech dictionary allows blank pattern (causes replacement to be read constantly) #6412

Closed
Qchristensen opened this Issue Sep 29, 2016 · 4 comments

Comments

Projects
None yet
5 participants
@Qchristensen

To replicate:

  • Add a dictionary entry
  • Leave the pattern field blank
  • Add any text into the Replacement field.
  • OK the new entry and the dictionary dialogs.

Recommended solution: Don't allow entry to be OK'd while pattern is blank and replacement is not.

@derekriemer

This comment has been minimized.

Show comment
Hide comment
@derekriemer

derekriemer Sep 29, 2016

Collaborator

Just to clarify, we do need to allow blank replacements though.

On 9/28/2016 11:52 PM, Quentin Christensen wrote:

To replicate:

  • Add a dictionary entry
  • Leave the pattern field blank
  • Add any text into the Replacement field.
  • OK the new entry and the dictionary dialogs.

Recommended solution: Don't allow entry to be OK'd while pattern is
blank and replacement is not.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#6412, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFGivdg7kfIrYLvoou3WuLJSPNldQHAYks5qu1ItgaJpZM4KJmu8.


Derek Riemer
  • Department of computer science, third year undergraduate student.
  • Proud user of the NVDA screen reader.
  • Open source enthusiast.
  • Member of Bridge Cu
  • Avid skiier.

Websites:
Honors portfolio http://derekriemer.com
Awesome little hand built weather app!
http://django.derekriemer.com/weather/

email me at derek.riemer@colorado.edu mailto:derek.riemer@colorado.edu
Phone: (303) 906-2194

Collaborator

derekriemer commented Sep 29, 2016

Just to clarify, we do need to allow blank replacements though.

On 9/28/2016 11:52 PM, Quentin Christensen wrote:

To replicate:

  • Add a dictionary entry
  • Leave the pattern field blank
  • Add any text into the Replacement field.
  • OK the new entry and the dictionary dialogs.

Recommended solution: Don't allow entry to be OK'd while pattern is
blank and replacement is not.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#6412, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFGivdg7kfIrYLvoou3WuLJSPNldQHAYks5qu1ItgaJpZM4KJmu8.


Derek Riemer
  • Department of computer science, third year undergraduate student.
  • Proud user of the NVDA screen reader.
  • Open source enthusiast.
  • Member of Bridge Cu
  • Avid skiier.

Websites:
Honors portfolio http://derekriemer.com
Awesome little hand built weather app!
http://django.derekriemer.com/weather/

email me at derek.riemer@colorado.edu mailto:derek.riemer@colorado.edu
Phone: (303) 906-2194

@Qchristensen

This comment has been minimized.

Show comment
Hide comment
@Qchristensen

Qchristensen Sep 29, 2016

Sure, the problem here is definitely if you have no text in the pattern field but text in the replace field, it will add the replace text to everything NVDA says - I can't come up with any scenario where that would be useful?

Possibly could also not save entries which have both fields blank? That doesn't cause anything extra to be said, not sure if there's any kind of (probably minor?) performance impact by it adding to everything that is uttered?

Sure, the problem here is definitely if you have no text in the pattern field but text in the replace field, it will add the replace text to everything NVDA says - I can't come up with any scenario where that would be useful?

Possibly could also not save entries which have both fields blank? That doesn't cause anything extra to be said, not sure if there's any kind of (probably minor?) performance impact by it adding to everything that is uttered?

@derekriemer

This comment has been minimized.

Show comment
Hide comment
@derekriemer

derekriemer Sep 29, 2016

Collaborator

Yeah, this is for sore a problem.

On 9/28/2016 11:58 PM, Quentin Christensen wrote:

Sure, the problem here is definitely if you have no text in the
pattern field but text in the replace field, it will add the replace
text to everything NVDA says - I can't come up with any scenario where
that would be useful?

Possibly could also not save entries which have both fields blank?
That doesn't cause anything extra to be said, not sure if there's any
kind of (probably minor?) performance impact by it adding to
everything that is uttered?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#6412 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFGivSTfhTvmRCijT7e9fp6EK_EEoME6ks5qu1OOgaJpZM4KJmu8.


Derek Riemer
  • Department of computer science, third year undergraduate student.
  • Proud user of the NVDA screen reader.
  • Open source enthusiast.
  • Member of Bridge Cu
  • Avid skiier.

Websites:
Honors portfolio http://derekriemer.com
Awesome little hand built weather app!
http://django.derekriemer.com/weather/

email me at derek.riemer@colorado.edu mailto:derek.riemer@colorado.edu
Phone: (303) 906-2194

Collaborator

derekriemer commented Sep 29, 2016

Yeah, this is for sore a problem.

On 9/28/2016 11:58 PM, Quentin Christensen wrote:

Sure, the problem here is definitely if you have no text in the
pattern field but text in the replace field, it will add the replace
text to everything NVDA says - I can't come up with any scenario where
that would be useful?

Possibly could also not save entries which have both fields blank?
That doesn't cause anything extra to be said, not sure if there's any
kind of (probably minor?) performance impact by it adding to
everything that is uttered?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#6412 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFGivSTfhTvmRCijT7e9fp6EK_EEoME6ks5qu1OOgaJpZM4KJmu8.


Derek Riemer
  • Department of computer science, third year undergraduate student.
  • Proud user of the NVDA screen reader.
  • Open source enthusiast.
  • Member of Bridge Cu
  • Avid skiier.

Websites:
Honors portfolio http://derekriemer.com
Awesome little hand built weather app!
http://django.derekriemer.com/weather/

email me at derek.riemer@colorado.edu mailto:derek.riemer@colorado.edu
Phone: (303) 906-2194

@jcsteh jcsteh added the p1 label Oct 7, 2016

@jcsteh

This comment has been minimized.

Show comment
Hide comment
@jcsteh

jcsteh Oct 7, 2016

Contributor

P1 because this is quite problematic for users if they accidentally do it.

Contributor

jcsteh commented Oct 7, 2016

P1 because this is quite problematic for users if they accidentally do it.

feerrenrut added a commit that referenced this issue Oct 12, 2016

Dont allow blank patterns in Dic Entry
A blank pattern in a dictionary entry causes issues see, #6412

feerrenrut added a commit that referenced this issue Oct 13, 2016

incubates #6456
Fixes issue #6412
Merge branch 'i6412-EmptyPatternInDictionaryEntry' into next

@nvaccessAuto nvaccessAuto added this to the 2016.4 milestone Oct 27, 2016

feerrenrut added a commit that referenced this issue Oct 27, 2016

Update change file for PR #6456
The "pattern" field for a new dictionary entry is no longer allowed to be left blank. (Issue: #6412)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment