Closed Bug 878496 Opened 11 years ago Closed 5 years ago

Shooting in the Epic demo has stopped working

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ehsan.akhgari, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [games:p?])

Shooting by clicking in the Epic demo apparently doesn't work any more.  Brendan can fill you more on the details.

It would be nice if somebody from QA could bisect this and see where the regression range is.
It's intermittent and seems related to fullscreen and/or pointer lock. I always go fullscreen first, although sometimes I may page-up to start the flythrough before I click the "allow fullscreen" popup.

When click-to-shoot works (as during my keynote at Fluent) it works from the start, although I think it may at times have stopped working later.

But when click-to-shoot doesn't work, I've found that ESC to exit fullscreen gets it working again -- although then after some small delay, a dialog offering to hide the cursor while pointer-lock is engaged appears. If I go fullscreen again, click-to-shoot again stops working.

This is reproducible in Nightly and Aurora, with the latest Sanctuary I got from Vlad.

We need manual QA of Sanctuary (you'll get mad gaming skills, unlike me) until we have some automation. Cc'ing bmoss for help delegating that.


/be
I'll take charge of this for now until I better understand the scope of the testing required. I'll follow up via email.
OS: Mac OS X → All
QA Contact: anthony.s.hughes
Hardware: x86 → All
I see this in Aurora and Nightly on my rMBP. I believe Alon runs Firefox on Linux on a Thinkpad, so the All/All Platform settings seem ok for now.

/be
Um, please provide a URL for the Epic demo and detailed STR.
Brendan, does the problem reproduce on the public demo site?  Clicking should drop a marker and move you to that location.

smichaud, the actual demo Brendan was testing isn't public.. ashughes has a link, and I can get you a link as well.  From my testing, it all works fine on Windows which at least means that it's probably an issue on our end.
(In reply to Steven Michaud from comment #4)
> Um, please provide a URL for the Epic demo and detailed STR.

I forwarded you the email with the details that I have.
Whiteboard: [games:p1]
I have tested the Citadel Demo on Windows 7, release, beta, aurora and nightly. All works find.  I was able to click around and also launch the benchmark mode.  I was using the version found here:

http://www.unrealengine.com/html5/

Sanctuary demo, which is not publicly available, does not work currently anywhere.  I'm using the version that is currently in Vlad's drop box folder for the Sanctuary demo.  Looks like someone may have deleted resources looking at the log.
Here is what is in the log:

"In Epic Demos, Vladimir Vukicevic deleted the file UDKGame_Data.js~.	1 hr ago"
Here is a link to a video that is a tutorial for the demo.  This should provide a good smoke test to see what functionality should be present.

https://dl.dropboxusercontent.com/u/46741177/Sanctuary%20Demo/Sanctuary-Tutorial.mp4

Changes since the video was done:

You can now use , and . keys to add and remove bots which is a bit easier than using the console however it's worth testing that the console works.

Left click to shoot, space bar to jump, these are the most important issues to test as they are reported as not working.
(In reply to Martin Best (:mbest) from comment #8)
> Here is what is in the log:
> 
> "In Epic Demos, Vladimir Vukicevic deleted the file UDKGame_Data.js~.	1 hr
> ago"

That's the Dropbox log, I mean the JS log.  The one that might show what the errors are! :)
Here is what I see before hitting the play button:
[18:52:33.890] Error in parsing value for 'font'.  Declaration dropped. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/css/reset.css:85
[18:52:33.890] Unknown property '-moz-box-shadow'.  Declaration dropped. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/css/reset.css:125
[18:52:33.890] Unknown pseudo-class or pseudo-element 'selection'.  Ruleset ignored due to bad selector. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/css/reset.css:136
[18:52:33.890] Unknown pseudo-class or pseudo-element 'selection'.  Ruleset ignored due to bad selector. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/css/style.css:33
[18:52:33.890] Unknown property '-moz-border-radius'.  Declaration dropped. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/css/style.css:170
[18:52:33.890] Unknown property 'box-sizing'.  Declaration dropped. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/css/style.css:184
[18:52:33.891] Unknown property 'zoom'.  Declaration dropped. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/css/style.css:326
[18:52:33.893] Error in parsing value for 'display'.  Declaration dropped. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html
[18:52:33.893] Unknown property 'box-flex'.  Declaration dropped. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html
[18:52:33.956] Expected media feature name but found 'touch-enabled'. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:1
[18:52:33.956] Expected media feature name but found '-webkit-touch-enabled'. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:1
[18:52:33.956] Expected media feature name but found '-o-touch-enabled'. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:1
[18:52:33.956] Expected media feature name but found '-ms-touch-enabled'. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:1
[18:52:33.956] Expected media feature name but found '-khtml-touch-enabled'. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:1
[18:52:33.956] Expected media feature name but found 'modernizr'. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:1
[18:52:33.958] Unknown property '-moz-opacity'.  Declaration dropped. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html
[18:52:33.958] Error in parsing value for 'background-image'.  Declaration dropped. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html
[18:52:33.958] Expected color but found 'left'.  Error in parsing value for 'background-image'.  Declaration dropped. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html
[18:52:33.958] Expected media feature name but found 'transform-3d'. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:1
[18:52:33.958] Expected media feature name but found '-webkit-transform-3d'. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:1
[18:52:33.958] Expected media feature name but found '-moz-transform-3d'. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:1
[18:52:33.958] Expected media feature name but found '-o-transform-3d'. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:1
[18:52:33.958] Expected media feature name but found '-ms-transform-3d'. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:1
[18:52:33.958] Expected media feature name but found '-khtml-transform-3d'. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:1
[18:52:33.958] Error in parsing value for 'src'.  Skipped to next declaration. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html
[18:52:33.987] Unknown property '-moz-border-radius'.  Declaration dropped. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:150
[18:52:33.987] Unknown property 'box-sizing'.  Declaration dropped. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html:164
[18:52:33.989] Invalid URI. Load of media resource  failed. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html
[18:52:33.989] All candidate resources failed to load. Media load paused. @ file:///D:/Dropbox/Data/Mozilla%20Large/Mis/Mozilla/Epic%20Demos/Sanctuary/index.html
The demo is now working, fire is working in nightly but jump is not working.
Hmm, now it seems to be halting mid download or while preparing code.
I'm running 32 bit versions BTW.
Spacebar not jumping is known -- it's broken in the latest code itself, probably needs Josh to look at.

The 32-bit browser is not good for Sanctuary -- your halts mid-load are likely OOMs.  Sanctuary requires a good bit more memory than Citadel (I think I have the heap set to 512MB; fine in 32-bit for one or two loads, but after that it can be rough if GC didn't happen).

Also, you may want to press the CSS button in the web console to turn off showing CSS warnings... they're going to be just noise :)

So I still don't think that there is an issue here, at least not on Windows.  I haven't tested on OSX yet, but I will look at the office tomorrow.
Clicking works fine here on the Mac.
Question about testing on the Mac:

The tutorial from comment #9 talks about using the PageUp and PageDown keys.  But these keys aren't available on a laptop, so how are people typing them there?  By attaching an external full-size keyboard?  By means of an extension?  Some other way?
(In reply to comment #17)
> Question about testing on the Mac:
> 
> The tutorial from comment #9 talks about using the PageUp and PageDown keys. 
> But these keys aren't available on a laptop, so how are people typing them
> there?  By attaching an external full-size keyboard?  By means of an extension?
>  Some other way?

Try Fn+Up/Down.
> Try Fn+Up/Down.

You mean Fn+UpArrow or Fn+DownArrow?
(In reply to comment #19)
> > Try Fn+Up/Down.
> 
> You mean Fn+UpArrow or Fn+DownArrow?

Correct.
Has the Epic demo been updated since this bug was filed?  Do you still see this problem, Brendan?
Flags: needinfo?(brendan)
I'm able to reproduce this issue intermittently on Linux 64-bit with Firefox 24.0a1 2013-06-17. I'm on a Thinkpad x230 if that matters. It's really quite intermittent so I don't think I'll be able to reliably determine steps to reproduce but it happens often enough that I should be able to track down a regression window.
FWIW, I'm using the dropbox demo that Ehsan shared with me back on June 3rd.
After some initial cross-version testing I can reproduce this behaviour on Firefox 22.0b5 through 24.0a1. I cannot reproduce this on Firefox 21.0 or earlier. One difference I noticed is that Firefox 22 is the first version that prompts me to hide the pointer. Perhaps "pointer hiding" has something to do with this as I can only reproduce with the pointer hidden.

Please let me know if you'd like me to regress this further using Firefox 22 Nightly.
Flags: needinfo?(brendan)
Blocks: gecko-games
(In reply to Anthony Hughes, QA Mentor (:ashughes) [On vacation, Nov 15-Dec 3] from comment #24)
> Perhaps "pointer hiding" has something to do with this as I can only 
> reproduce with the pointer hidden.

There is a bug with pointer lock at least on OS X: Bug 912610.
Whiteboard: [games:p1] → [games:p?]
Keywords: qawanted

This is a bug about a six-year old demo so unless I'm mistaken on it's pertinence, I'm closing it.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.