-
-
Notifications
You must be signed in to change notification settings - Fork 415
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
when connected to server, activities get shared automatically #810
Comments
Hey @prakashujjwal1010, I tried to replicate the issue on my side but I wasn't successful. The activity was not being shared automatically after opening it. I tried running the local server and also on https://dev.sugarizer.org/. Could you explain the steps you followed? Or could you mention other activities you are facing this issue with? I did notice a different strange behavior: If I click on the single-user mode (left one with icon: I think it's happening after |
Steps to replicate the issue:
I am facing this issue on all the activities which have multiuser feature (presence) |
Weird, I still couldn't replicate it. :( |
yes, i tried clearing cache also...but still getting the same. |
Same for me, I can't reproduce the issue on my side :-( |
@prakashujjwal1010 could you try with different network speed (choose from the Network sheet in the Chrome dev window)? |
@llaske @dhruvmisra please try this :
|
Yes! It happened with me too. Paint automatically shared an instance. I opened Last One Loses, it didn't share it automatically but once I shared it myself and closed the activity, every time I open it again it shares it automatically. EDIT: It doesn't happen to me locally though when I'm running the server from |
Unfortunately I can't reproduce on my side, even with the detailed steps :-( I've fixed in #813 the related issue #811. |
@dhruvmisra , yes you are right the issue doesn't exist when connected to local remote @llaske , when connected to but when connected to don't know the reason behind this difference when connected to different servers, as it should behave same |
@prakashujjwal1010 thanks for the detailed description of the issue. It helps me a lot to understand the problem. The difference with a local server and I've updated the #813 PR to integrate the fix. @prakashujjwal1010 @dhruvmisra could you test again on your side to see if it works now? |
I changed the network throttling in Chrome Dev tools to 'Mid-tier mobile' and I was able to reproduce the issue using local server as well. @llaske The PR does fix the issue. No problems after network throttling as well. Also thanks to @prakashujjwal1010, now that I have your attention on Last One Loses activity, I think the workflow after sharing the activity can be improved. As you can see, the user who shares the activity can't play the game until some other user connects and is also stuck if the connected user leaves in the middle. (As pointed out by @sarthak-g in #722). I think the solution proposed to let the user play against computer is good and feels intuitive. |
@llaske , the issue is fixed now, on my side. thanks. |
Thanks to both of you. @dhruvmisra I'm agree regarding Last One Loses activity. Please fill an issue regarding that. |
Fixed in 95e9cd2 |
when connected to server, activities get shared automatically without even clicking network button.
I tested with both dev.sugarizer.org and local server on even different laptops in
dev
branch .also tested on https://dev.sugarizer.org/
The issue doesn't occur in
master
branch.from this issue several activities are having problem like In last one loses activity we are not able to play vs computer mode(single player mode).
see below
The issue was not there until some weeks ago ( when i was developing chess activity).
will be very helpful if other contributors can verify this issue.
The text was updated successfully, but these errors were encountered: