question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'Manage resources' window cannot be closed when the session has ended

See original GitHub issue

Observed behavior

When coach closes the browser and turns off the device while on the (full screen) Manage resources page for lessons, it is not possible to close that page with the X close button in the upper left corner. Since the session is closed on a full screen window that does not have the user menu, there is no way to access the Sign in link. Refreshing the page does not change anything, and the only way out seems to be manually editing the URL, which is not an ideal solution for non tech-savvy users. Browser Back button might work, but if they were navigating deep and long through the channels while looking for resources in that window, it still would require several clicks.

2019-08-21_8-43-44

As a minimal fix it should be possible to close that window with the X close button in the upper left corner, and have a visible option to arrive to the Sign in page.

I’m also wondering whether was there a reason not to implement an automatic redirect to the Sign in page every time the browser is reopened on a page that requires a running session, but that session has ended? Even when the users find themselves on this Did you forget to sign in? page, and path to signing in is clear, they still have to a) open the user menu and b) click on the Sign in link anyway. I’m just wondering why not spare them those two clicks also?

Expected behavior

Closing the full screen window should work properly.

User-facing consequences

User is trapped and has no visible way to sign in and use Kolibri.

Errors and logs

2019-08-21_6-22-38

Steps to reproduce

  1. Sign in as coach and enter the Manage resources page on a lessons or quizzes. Don’t press the <kbd>Finish</kbd> button.
  2. Close the browser and shut down the device.
  3. Restart the device, Kolibri, and reopen the browser.
  4. Try to close the Manage resources page with the X close button in the upper left corner.

Context

  • Kolibri version: current release-v0.12.x dev branch
  • Operating system: Ubuntu 18.04
  • Browser: both FF & Chrome

cc @indirectlylit @jonboiser Tentative milestone set to upcoming patch…?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jonboisercommented, Aug 21, 2019

Sometimes the label next to the “X” is missing because the API to fetch that data requires authorization also (e.g. class names, user names, etc.). So maybe just show the normal toolbar for the plugin (no immersive toolbar), because it’s hard to know ahead of time which pages this might happen to to code in a placeholder.

1reaction
indirectlylitcommented, Aug 21, 2019

I think we should do two things:

  1. When the AuthMessage is being shown inside a full-screen modal, the ‘X’ button should redirect people to the sign-in page. That will address this issue.
  2. Add a new sign-in link and post-sign-in redirect behavior: https://github.com/learningequality/kolibri/issues/5892
Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Remote desktop disconnected errors
A Remote Desktop Session Host server is the server that hosts Windows-based programs ... This computer can't connect to the remote computer.
Read more >
How to Fix Session Has Expired Error on the Internet
If your Internet connection is unstable, periodically disconnecting and reconnecting, it can cause a website session to expire. When the ...
Read more >
How to fix 8 common remote desktop connection problems
First, try to establish a session from a client that has been able to successfully connect in the past. The goal is to...
Read more >
Resolve session failure issues when using AWS Systems ...
"Your session has been terminated for the following reasons: We couldn't start the session because encryption is not set up on the selected...
Read more >
Fix for PowerShell Script cannot be loaded because running ...
This is due to the Windows PowerShell execution policy being set to prevent untrusted scripts which can affect your Windows client environment.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found