New issue
Advanced search Search tips

Issue 638954 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Closed: Nov 16
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Feature



Sign in to add a comment

Inspector - Sensors - The alpha, beta and gamma Input fields should have sliders.

Reported by catalinb...@gmail.com, Aug 18 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

Steps to reproduce the problem:
1. Open Developer Tools
2. Open Sensors tab
3. Enable Orientation

What is the expected behavior?
The alpha, beta and gamma fields should have sliders to conveniently tweak values (or some drag to change values behavior). 
It is difficult to tweak the values by dragging the phone model in its three dimensional space, as it tends to move in at least two axis, while dragging.
Also, using the fields' arrows to tweak values is inconvenient, as the values are slowly updated, and we waste time clicking and waiting.

What went wrong?
Whenever I test device orientation, in general, I need to test only one axis at a time.  The current methods to interact with the device orientation simulator are not convenient to change only specific axes.

Did this work before? No 

Chrome version: 52.0.2743.116  Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 22.0 r0
 

Comment 1 by l...@chromium.org, Aug 19 2016

Cc: l...@chromium.org
Labels: -Type-Bug Type-Feature
Owner: chowse@chromium.org
Status: Assigned (was: Unconfirmed)
Thank you for the report, catalinberta@.

The closest thing we have right now on Canary is either holding Shift+dragging the 3D model (rotates along just y-axis) or scrolling inside the input.

To help us better understand, could you please explain how sliders would support your use case?  Do you care about being able to set precise numbers for alpha/beta/gamma?  Have you used the dropdown list of preset orientations?  Those presets put the phone in orientations with angles that are multiples of 90.

You also mentioned using device orientation for testing.  Would you benefit from being able to save and replay transitions between two fixed orientations?
Thank you for the prompt reply.

Good to know about the Shift+Dragging shortcut, it will come in handy!

Maybe this is a bad reference, but in the Unity Inspector UI for example, if you hold click on the field labels and drag left to right, you increase and decrease the values of its field conveniently and fast.
While I reckon that the Chrome UI does not have such functionality, maybe some regular fixed sliders from 0 to 360 would also suffice (though infinite dragging would really hit the spot where you can drag to keep looping full rotations).

Use case:
I create mobile creatives and whenever I also implement device orientation, I need to test how it behaves when only the alpha axis is updated, or gamma or beta.
My last case scenario was testing the gamma axis (z-axis I believe), and dragging the phone model only on the Z axis from the Chrome Inspector was painful.

Regarding the idea of saving and replaying custom transitions and values sounds phenomenal, as it will make testing much easier.
This would help me (and many I hope) to create a use-case and repeat until satisfied with the results.
Labels: -Pri-2 Pri-3
Making the labels draggable (similar to Unity, Sketch, and a few other apps) is something we can look into. It's a pretty undiscoverable interaction, but if it could be generalized easily throughout the product (similar to the arrow key behavior), we could add it for special use cases like these.
Owner: ----
Status: Available (was: Assigned)
Owner: l...@chromium.org
Status: Assigned (was: Available)
Status: Archived (was: Assigned)

Sign in to add a comment