Closed
Bug 1257953
Opened 7 years ago
Closed 7 years ago
Modelessify the narrate popup
Categories
(Toolkit :: Reader Mode, defect)
Toolkit
Reader Mode
Tracking
()
VERIFIED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | verified |
People
(Reporter: ehsan.akhgari, Assigned: eeejay)
References
Details
Attachments
(3 files)
Right now dismissing the narrate popup stops narration. This is extremely annoying as it often times overlays the content being read out lot, making it impossible to both see and listen to the content at the same time. We should try to make this popup modeless, I think.
Assignee | ||
Comment 1•7 years ago
|
||
The reason it is that way now is because the user would have no way of knowing what is speaking and why when the dialog goes away. I think we need to have an "active" version of the narrate icon to show the user that it is being used. Phillipp, perhaps someone on your team could help with this? Give input?
Flags: needinfo?(philipp)
Comment 2•7 years ago
|
||
Yeah, an active state for the icon should do the trick here. Stephen, could you provide one?
Flags: needinfo?(philipp) → needinfo?(shorlander)
Comment 3•7 years ago
|
||
(In reply to Out of office until March 28! Philipp Sackl [:phlsa] (Firefox UX) please use needinfo from comment #2) > Yeah, an active state for the icon should do the trick here. > Stephen, could you provide one? It would be nice if the active state for the icon were actually animated.
Assignee | ||
Comment 4•7 years ago
|
||
(In reply to Tim Nguyen [:ntim] (busy, email me instead) from comment #3) > (In reply to Out of office until March 28! Philipp Sackl [:phlsa] (Firefox > UX) please use needinfo from comment #2) > > Yeah, an active state for the icon should do the trick here. > > Stephen, could you provide one? > > It would be nice if the active state for the icon were actually animated. Yes! I wanted to make throbby bars, but I'll leave it to someone with actual talent to design.
Comment 5•7 years ago
|
||
This patch adds an active animated state for the narrate icon. Also updates the other icons to be more inline with the rest of our iconography. What it looks like: http://cl.ly/1Z451z2J2O0g Animated narrate icon: http://people.mozilla.org/~shorlander/narration-animation/narrate-active.svg
Flags: needinfo?(shorlander) → needinfo?(eitan)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → eitan
Flags: needinfo?(eitan)
Assignee | ||
Comment 6•7 years ago
|
||
Markus, as the person who gave the original UX feedback on the narrate feature. Can you try this build and see that it works the way it should? I made it that scrolling doesn't hide the dialog, but clicking anywhere does. The speech continues after the dialog goes away. https://treeherder.mozilla.org/#/jobs?repo=try&revision=4e2756591dfa
Flags: needinfo?(mjaritz)
Comment 7•7 years ago
|
||
Hi Eitan, being able to hide the dialog feels like a great improvement to me. And I love that the icon indicate that it is still active with such a nice animation. :-) I love using the feature, and the hiding made it even better. (One detail crossed my mind while using it with the dialog hidden. I somehow expected to get back to stopping the playback quicker after the dialog is hidden. I wonder if the dialog should re-open on hover while active... No strong feeling on that one though, and it's hard to tell if that would actually improve something.)
Flags: needinfo?(mjaritz)
Assignee | ||
Comment 8•7 years ago
|
||
(In reply to Markus Jaritz [:maritz] (UX) from comment #7) > Hi Eitan, > being able to hide the dialog feels like a great improvement to me. And I > love that the icon indicate that it is still active with such a nice > animation. :-) I love using the feature, and the hiding made it even better. > Great! > (One detail crossed my mind while using it with the dialog hidden. I somehow > expected to get back to stopping the playback quicker after the dialog is > hidden. I wonder if the dialog should re-open on hover while active... No > strong feeling on that one though, and it's hard to tell if that would > actually improve something.) Mouse hover interactions are tricky for accessibility. I think it would be cool to have a minimized control (maybe even just a stop button) that appears when speaking and the dialog is dismissed. It would take 0 to little horizontal space, so it wouldn't obscure the article.
Assignee | ||
Comment 9•7 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/48545/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/48545/
Attachment #8744443 -
Flags: review?(gijskruitbosch+bugs)
Attachment #8744444 -
Flags: review?(gijskruitbosch+bugs)
Assignee | ||
Comment 10•7 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/48547/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/48547/
Comment 11•7 years ago
|
||
Comment on attachment 8744443 [details] MozReview Request: Bug 1257953 - Update Reader Mode Icons and Add an Active State for Narrate. r=Gijs https://reviewboard.mozilla.org/r/48545/#review45463 ::: toolkit/themes/shared/narrate/narrate-active.svg:7 (Diff revision 1) > + #glyph-waveform { > + fill: #58bf43; > + } This can be an attribute as well. ::: toolkit/themes/shared/narrate/narrate.svg:8 (Diff revision 1) > + - License, v. 2.0. If a copy of the MPL was not distributed with this > + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> > +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24"> > + <style> > + #glyph-waveform { > + fill: #808080; You can just use the fill attribute and omit the `<style>` element.
Attachment #8744443 -
Flags: review?(gijskruitbosch+bugs) → review+
Comment 12•7 years ago
|
||
Comment on attachment 8744444 [details] MozReview Request: Bug 1257953 - Update narrate to use new animated icon when speaking. r=Gijs https://reviewboard.mozilla.org/r/48547/#review45467 r=me with the test comment addressed. ::: toolkit/components/narrate/test/browser_narrate.js:99 (Diff revision 1) > > - promiseEvent = ContentTaskUtils.waitForEvent(content, "paragraphend"); > toggle.click(); > - yield promiseEvent; > ok(!NarrateTestUtils.isVisible(popup), "popup is dismissed while speaking"); > - ok(true, "speech stopped when popup is dismissed"); > + ok(true, "speech still continues after popup is dismissed"); This used to test something because of the yield for paragraphend, but now it's just a dead ok(true) - can we actually test that speech is still ongoing? We should also make sure that the end of the test stops any other speech, it feels like.
Attachment #8744444 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 13•7 years ago
|
||
Comment on attachment 8744443 [details] MozReview Request: Bug 1257953 - Update Reader Mode Icons and Add an Active State for Narrate. r=Gijs Review request updated; see interdiff: https://reviewboard.mozilla.org/r/48545/diff/1-2/
Attachment #8744443 -
Attachment description: MozReview Request: Bug 1257953 - Update Reader Mode Icons and Add an Active State for Narrate. r?Gijs → MozReview Request: Bug 1257953 - Update Reader Mode Icons and Add an Active State for Narrate. r=Gijs
Attachment #8744444 -
Attachment description: MozReview Request: Bug 1257953 - Update narrate to use new animated icon when speaking. r?Gijs → MozReview Request: Bug 1257953 - Update narrate to use new animated icon when speaking. r=Gijs
Assignee | ||
Comment 14•7 years ago
|
||
Comment on attachment 8744444 [details] MozReview Request: Bug 1257953 - Update narrate to use new animated icon when speaking. r=Gijs Review request updated; see interdiff: https://reviewboard.mozilla.org/r/48547/diff/1-2/
Comment 15•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/fd649eca8ea9 https://hg.mozilla.org/integration/mozilla-inbound/rev/4fc5be17759a
Comment 16•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fd649eca8ea9 https://hg.mozilla.org/mozilla-central/rev/4fc5be17759a
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Comment 17•7 years ago
|
||
Verified fixed on Windows 7 64bit, Ubuntu 14.04 64bit and Mac OSX 10.10.5 using latest Aurora 49.0a2, buildID: 20160623004024.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•