Closed Bug 1905214 Opened 3 months ago Closed 25 days ago

"Read Aloud" in reader activates on reopening last closed window with keyboard shortcut

Categories

(Toolkit :: Reader Mode, defect, P3)

Firefox 127
defect

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: waiwai95, Assigned: robaholdsworth, Mentored)

Details

(Whiteboard: [good first bug][lang=js])

Attachments

(1 file, 2 obsolete files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:127.0) Gecko/20100101 Firefox/127.0

Steps to reproduce:

On macOS:

  1. Open a page which supports Reader mode (e.g. https://en.wikisource.org/wiki/The_Case_Book_of_Sherlock_Holmes_(1927)/The_Adventure_of_the_Mazarin_Stone)
  2. Open Reader mode
  3. Hit Cmd-Shift-N, the keyboard shortcut to open the last closed window

Actual results:

In addition to the last closed window opening as expected, Read Aloud is activated, presumably because its keyboard shortcut is N.

Expected results:

Read Aloud mode should not have been activated when using a keyboard shortcut.

The Bugbug bot thinks this bug should belong to the 'Toolkit::Reader Mode' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Reader Mode
Product: Firefox → Toolkit

Right - I guess a simple solution here would be to update this event listener to ignore the n character if any modifiers (like Shift or the meta key) are pressed.

Mentor: mconley
Severity: -- → S4
Priority: -- → P3
Whiteboard: [good first bug][lang=js]
Assignee: nobody → robaholdsworth
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9420608 - Attachment is obsolete: true
Attachment #9420610 - Attachment is obsolete: true
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cd7cdf26f310 Read Aloud in reader activates on reopening last closed window with keyboard shortcut r=mconley
Status: ASSIGNED → RESOLVED
Closed: 25 days ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: