ID:1741323
 
Resolved
The D-pad move button didn't work in some browsers.
BYOND Version:507.1270
Operating System:Windows 7 Home Premium 64-bit
Web Browser:Firefox 34.0
Applies to:Webclient
Status: Resolved (507.1271)

This issue has been resolved.
Descriptive Problem Summary: Clicking the Dpad rotater button does not rotate the dpad's position while using Firefox.

Numbered Steps to Reproduce Problem:
1) Open a game in the webclient while using Firefox.
2) Open the Dpad menu.
3) Click the rotater button.
4) Observe that the Dpad is still along the left hand side.

Expected Results: For the Dpad to be rotated to the top, or the next position in line.

Actual Results: the Dpad's position is not changed when the rotater button is clicked.

Does the problem occur:
Every time? Or how often? Everytime.
In other games? Yes.
In other user accounts? Untested.
In other browsers? No.

When does the problem NOT occur? When using Google Chrome or Internet Explorer.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Yes, last version currently untested.

Workarounds: Unknown.

Just curious, do you get any console errors?

They could help if it does output anything.
In response to A.T.H.K
I'm not really sure what to look for, but there are some errors/warnings/messages in the console.

Nothing jumps out to me as being related, but I posted the console log here for what it may help. No errors or messages are created when I click the rotater button, all of them are generated while loading the game.
That's ... a shit load of drops on styling..

But you're right, nothing really stands out so far for me.

Is there a game where this can be tested? hosted or not.

Unknown property 'user-select'. Declaration dropped. play:7
Unknown property 'user-select'. Declaration dropped. play:35
Unknown property 'user-select'. Declaration dropped. play:48
Unknown property 'user-select'. Declaration dropped. play:24
Unknown property 'user-select'. Declaration dropped. play:10
Unknown property 'user-select'. Declaration dropped. play:57

May be useful for Lummox.
Lummox JR resolved issue with message:
The D-pad move button didn't work in some browsers.
In response to Lummox JR
Lummox JR wrote:
Lummox JR resolved issue with message:
The D-pad move button didn't work in some browsers.


Sorry to question your fix, but I'm curious and want to know what the issue actually was!
The svg element that contains the actual icon has pointer-events:none in its style. The div that contains it, and actually receives the click, had no set width or height and was dropping down to zero size. Setting width and height for the div (and the svg, for good measure) fixed the issue.

While I was at it I improved the button code for the control and added a toggle to turn other macro keys on only if they're wanted, so they don't clutter anything visually.
Ahhh I see, awesome stuff.

Thanks for explaining the fix!