Skip to content

Shortcut ignores word scheme settings #423

@pdulich

Description

@pdulich

Description
Randomness ignores the "Quick Switch Word Scheme" settings, when using a shortcut to generate a word.

Steps to reproduce
Assumption: You have multiple schemes (with different words/dicts) defined in "Preferences > Tools > Randomness > Words"

Register a shortcut for "Random Word"

  1. Go to 'Preferences > KeyMap'
  2. Assign a shortcut to 'Plugins > Randomness > Random Word' (e.g. Option + W)
  3. Close the dialog with 'OK'

Using the shortcut

  1. Open any file where you can generate a word (e.g. plain text)
  2. Change the scheme by using "Quick Switch Word Scheme" (Option + R > Random Word > Quick Switch Word Scheme)
  3. Use the shortcut again
  4. Notice, that the newly generated word is taken from the old and not the scheme, to which you switched before
  5. Use the "Random Word" action from the "Quick View" (Option + R > Random Word)
  6. Notice, that the correct scheme is used

Expected behavior
The "Random Word" action should behave the same way as when using the "Quick View".

Version information

  • Randomness version: 2.7.3
  • IDE version: IntelliJ Ultimate 2021.3
  • Operating system: macOS 12.0.1
  • Java version 15.0.5

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions