mozilla-extensions / firefox-voice

Firefox Voice is an experiment in a voice-controlled web user agent
Mozilla Public License 2.0
287 stars 121 forks source link

[Intermittent] "Doorhanger" displays a glitch when using the shortcut keys #239

Open alexandra-martin opened 4 years ago

alexandra-martin commented 4 years ago

Prerequisites:

Have mic permissions enabled.

STR:

  1. Press "Command-." on Mac.
  2. Observe the "Doorhanger".

Expected result:

The "Doorhanger" opens without display issues and a vocal or written command can be made.

Actual result:

Sometimes the display of the "Doorhanger" will be darkened for a second, then the display will be back to normal.

Notes:

Reproduced on Mac 10.14.6 with Firefox Nightly 71.0a1 (64-bit). This is an intermittent bug. I managed to reproduce it 1/10, but sometimes it was reproduced 2/10 or even 3/10 times.

voice 28

awallin commented 4 years ago

@alexandra-martin you've only observed this bug when using the shortcut keys as the trigger? Never from the icon in the toolbar?

alexandra-martin commented 4 years ago

@awallin yes, only with the shortcut, but only on Mac. Clicking the icon on both Mac and Win never gave me this issue.

ianb commented 4 years ago

@alexandra-martin does this only happen if you are using Dark Mode?

If so, I'm wondering if browserStyle briefly comes into play.

alexandra-martin commented 4 years ago

@ianb I've run into this bug also in Light Mode.

voice 30

alexandra-martin commented 4 years ago

I found the following update for this bug: after using the shortcut keys, the glitch can remain in the "Doorhanger". To get rid of it, the "Doorhanger" needs to be closed and opened again. I still reproduce it 1/10, 2/10 or even 3/10 times.

voice 42

alexandra-martin commented 4 years ago

Update:

Currently the glitch can be reproduced intermittently also if the "Back" button is clicked after a command is displayed in the "Doorhanger". The current issue is reproduced 1, 2 or 3 times out of 10 on Mac 10.14.6 with Firefox Nightly 72.0a1 (64-bit). An "Internal error: Error: communicate is not defined" error was also displaying in the "Doorhanger" like in #600.

11 21