-
Notifications
You must be signed in to change notification settings - Fork 218
The volume slider from immersive mode remains displayed even after moving the pointer away from its active controller area #2948
The volume slider from immersive mode remains displayed even after moving the pointer away from its active controller area #2948
Comments
…ving the pointer away - #2948 1. updated code to use the x location of the volume button as the starting point for hover to show/hide slider. Per design doc the slider should show from the beginning of the volume button to the end of the slider 2. added code to handle hide the slider when the x location is outside of the media controls. On oculus quest the x coord is always negetive when pointer is outside control area
…r 1 second of no hover over volume. Fixes #2948
…r 1 second of no hover over volume. Fixes #2948
…code for volume slider and moved it to volume button and slider respectively. Fixes #2948
…f no hover over volume. Fixes #2948
…code for volume slider and moved it to volume button and slider respectively. Fixes #2948
…ume button and slider was not hiding sliderFixes #2948
here is a video of the fix. As long as the pointer hovers inside the volume button or the slider the slider will stay visible. Every where else it will hide (note there is a 1 second timer before it hide) |
* The volume slider from immersive mode remains displayed even after moving the pointer away - MozillaReality#2948 1. updated code to use the x location of the volume button as the starting point for hover to show/hide slider. Per design doc the slider should show from the beginning of the volume button to the end of the slider 2. added code to handle hide the slider when the x location is outside of the media controls. On oculus quest the x coord is always negetive when pointer is outside control area * Fixes MozillaReality#2948 Added Handler that automatically hides volume slider after 1 second of no hover over volume. Fixes MozillaReality#2948 * Fixes MozillaReality#2948 Added Handler that automatically hides volume slider after 1 second of no hover over volume. Fixes MozillaReality#2948 * Fixes MozillaReality#2948 Updated change per Manuel that removed widget wide hover code for volume slider and moved it to volume button and slider respectively. Fixes MozillaReality#2948 * Fixes MozillaReality#2948 Updated change per Manuel that removed widget wide hover code for volume slider and moved it to volume button and slider respectively. Fixes MozillaReality#2948 * The volume slider from immersive mode remains displayed even after moving the pointer away - MozillaReality#2948 Fixes MozillaReality#2948 Updated change per Manuel that removed widget wide hover code for volume slider and moved it to volume button and slider respectively. Fixes MozillaReality#2948 * Fixes MozillaReality#2948 Updated change per Manuel that removed widget wide hover code for volume slider and moved it to volume button and slider respectively. Fixes MozillaReality#2948 Fixes MozillaReality#2948 Added Handler that automatically hides volume slider after 1 second of no hover over volume. Fixes MozillaReality#2948 * Added Handler that automatically hides volume slider after 1 second of no hover over volume. Fixes MozillaReality#2948 * Fixes MozillaReality#2948 Fixed unit testing defect where the space between the volume button and slider was not hiding sliderFixes MozillaReality#2948 Co-authored-by: daronwalters <[email protected]>
…f no hover over volume. Fixes #2948
…ume button and slider was not hiding sliderFixes #2948
…f no hover over volume. Fixes #2948
I have verified this issue with the latest Firefox Reality version 10 RC1 (6db2f60) installed on the Oculus Go, HTC Vive Focus Plus, Pico Neo2 and Pico G2 4K headsets. |
I think we only want to fix major and blocking issues for v10 at this point so moving this to v11. |
…le case when over exits outside of controls
So from the video Gelu posted the issue is that the when dragging the volume slider to the max and min position sometimes the pointer would be dragged outside of the volume control area and the hover would never fire because the hover is outside of the controls area. Added a hover listener for the whole media control that if hover event is outside of control area we would fire a timer to hide c volume control. here is the video of the test from my local (tested on Oculus Quest) |
…le case when over exits outside of controls (#3386)
I have verified this issue with the latest Firefox Reality version 11-141492311 (a9b58ee) installed on the Oculus Go, Pico Neo2 and Pico G2 4K headsets. |
still researching and will discuss with team Monday just wanted to include my findings (in case i forget) so the problem is in the Pico Platform Activity when the user clicks the slider and drags it outside of the area they keyup fires and this error gets hit in the onKeyUp of the VRActivity. here is log statement Here is a code snippet where it causes the problem Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_MEDIA_PAUSE, scanCode=0, metaState=0, flags=0x28, repeatCount=0, eventTime=19242479, downTime=19242479, deviceId=-1, source=0x101 } |
@daron-walters I think we should be able to handle the ACTION_CANCEL case here: FirefoxReality/app/src/common/shared/org/mozilla/vrbrowser/ui/views/VolumeControl.java Lines 51 to 56 in 3f1172f
And hide the view in that case. |
reply @keianhzo thanks for that Manuel I thouight something similar on my local but I wasnt confident it would be the best solution |
…ANCELLED (which seems to get triggered in pico) for when a user drags the volume seekbar outside of the area
…ANCELLED (which seems to get triggered in pico) for when a user drags the volume seekbar outside of the area
…ANCELLED (which seems to get triggered in pico) for when a user drags the volume seekbar outside of the area Fixes #2948 - updated volume control delegate to handle when ACTION_CANCELLED (which seems to get triggered in pico) for when a user drags the volume seekbar outside of the area
…ANCELLED (which seems to get triggered in pico) for when a user drags the volume seekbar outside of the area Fixes #2948 - updated volume control delegate to handle when ACTION_CANCELLED (which seems to get triggered in pico) for when a user drags the volume seekbar outside of the area Fixes #2948 - updated volume control delegate to handle when ACTION_CANCELLED (which seems to get triggered in pico) for when a user drags the volume seekbar outside of the area
…ANCELLED (which seems to get triggered in pico) for when a user drags the volume seekbar outside of the area
…e clients can handle action cancelled event.
…e clients can handle action cancelled event. (#3500)
I have verified this issue with the latest Firefox Reality version 11-141672019 (418d959) installed on the Oculus Go, HTC Vive Focus Plus, Pico Neo2 and Pico G2 4K headsets. |
[Affected Versions]:
[Affected Platforms]:
[Prerequisites]:
[Steps to reproduce]:
[Expected results]:
[Actual results]:
[Notes]:
The text was updated successfully, but these errors were encountered: