Storm-1077 Change "Voice Enabled/Disabled" to "Speak Button"
Review Request #229 - Created March 23, 2011 and submitted
Jonathan Yap | Reviewers | ||
2.6 | viewer | ||
STORM-1077 | |||
None | viewer-development |
1) Change Voice Enabled to Speak Button when you right click on the bottom bar and get a menu. 2) Eliminate the separator bar in this menu. 3) Have a hint appear for the Speak button (see image in jira) the first time you use the viewer, have voice on (the default), and successfully connect to a voice server.
Posted (March 24, 2011, 6:04 a.m.)
I think that pressing the Speak button or the fly-out button should hide the hint: this is the way how e.g. the Move button hint works. Otherwise the hint obscures the NEARBY VOICE panel which looks pretty weird.
-
indra/newview/skins/default/xui/en/notifications.xml (Diff revision 1) -
I guess you meant that *voice* is enabled by default, not microphone. Mic only gets enabled explicitly by pressing the Speak button or middle mouse button.
Review request changed
Updated (March 24, 2011, 9:10 a.m.)
-
- added Diff r2
Updated hint wording -- the speak button is NOT on by default. Disable hint if speak or flyout button is pressed.
Posted (March 24, 2011, 9:29 a.m.)
Looks good now. I only have one question, see below.
-
indra/newview/llcallfloater.cpp (Diff revision 2) -
redundant change
-
indra/newview/llspeakbutton.cpp (Diff revision 2) -
Why do you do this again on mouse up as well? Isn't it enough to dismiss the hint on mouse down only?
Posted (March 24, 2011, 11:04 a.m.)
I deleted the line in the mouse-up speak button code that turns off the speak button hint. That line was there when I incorrectly though the speak button might be on at viewer startup. I could not get the diff to update so am commenting in here.
No more objections. Thanks, Jonathan! To avoid problems with uploading modified diffs, try using cumulative diffs, i.e. each uploaded diff includes all changes from the previous one. Thus you can use Review Board to see differences between the diffs, and each diff is perfectly useful and self-contained.
Other reviews