-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transitions between questions Chrome/Android #582
Comments
We have tried to replicate this unsuccessfully on a Nexus 5X but have dug up another older Android phone to try this. It could also be a function of the number of questions in the quiz (our test quiz only had 3), the number of students taking it at once or the network itself. |
Just tried again: The problem didn't occur with a short, simple quiz (2 questions, minimal text), but reappeared when running a longer quiz, so hopefully you'll be able to see it on your devices. To try to replicate the issue, import this quiz into Quodl as lecturer: BJ4s1HZGf and then run as usual, using Chrome on Android as a student to respond. I found that by Q3 transitions were getting unworkably long. (Fwiw, I used a Galaxy S7 with Chrome 63.0.3239.111 / Android 7.0, so I don't think it's down to processor speed or similar. ) |
Okay, to isolate the cause further, I tried two separate quizzes. One had 8 two-option short questions (you can import with this code: Bkig5-TVz); the other had three extremely wordy questions (rkT_9W64G). The first ran fine, the second started stuttering at the first question. It even struggled when I reduced the number of options to 2 (but each option contained a fair amount of text). So it looks like it's the amount of text in a question and its options that is causing the problem. Again, no problem running this on the same phone with FireFox. |
Thanks for that @stianr, excellent detective work 🔎 |
@sohilpandya the Any questions, complaints, feedback, contributions? |
@sohilpandya the Any questions, complaints, feedback, contributions? |
Hey, just an update, we have some transitions which look to be the cause of this, we've removed them on the local version and the lag is not there anymore. Still work in progress, will try out other method for animation and report back here. |
Looks like there seems to be an animation issue on chrome mobile. We've tried to use other Greensock methods and CSS transform both perform really well on iPhone (chrome & safari) and desktop but not on Android running 7.0.1 with chrome mobile(Sony Xperia). We will stop the spike and move onto other tasks, will research a little further and see if we can solve this, alternatively, we can just remove the animations between questions. That would be the last resort if we are unable to find a solution. |
Thanks @sohilpandya. If it's possible to easily remove the animations just from Chrome (or better still just from Chrome mobile), but retain them for other browsers, then I'd suggest doing that and moving on to other issues. If it means losing the animations for all browsers, it's probably worth looking at further. |
…the animations smoother related to #582
This isn't working for me - transitions still very slow with wordy questions. Screen recording to illustrate here: https://www.dropbox.com/s/noei2xk6vux6cul/20180126_111917.mp4 |
You could see if it replicates using 'Testing Stian - Wordy' on lecturer account or importing S1W2x5dBf |
Hi @stianr, Apologies it looks like the changes aren't reflected on the staging site just yet. Will update you as soon as they are pushed and ready for you to test. |
Ah right, will hang on for testing these developments... |
@stianr, this is ready for you to test again. I'd recommend that you wait around 10/25 seconds on the holding screen before proceeding with starting the quiz, as you would when running it live to wait for students. |
@sohilpandya it's still looking the same for me, with slow transitions. Do you want me to share a screen recording? |
Hmm, that is interesting. I've trialled it on the chrome browser with a Sony Xperia and a Google Nexus 5 phone multiple times and the transitions seem to be very smooth. Screen recording won't really help as we won't be able to debug it. |
I've just tested this again now, and it seems to be working, with smooth transitions. I wonder if it wasn't fully pushed through to the staging site, or was partly cached somewhere when I tried to run it. Anyway I think that's the problem fixed - thanks @sohilpandya! |
At last I seem to have identified a replicable version of the transitions problem that we saw earlier in the term. It seems to occur specifically on chrome for Android. I've replicated it on my own Galaxy S7 after a student showed it on her J5. If you try completing a live quiz, the transitions between questions are incredibly slow, and the screen is blank for much of the time. It can take 30 seconds for a question to appear, and seems to get worse as the quiz progresses (though that may not be a consistent effect).
The text was updated successfully, but these errors were encountered: