31
  • Opening a pdf on the Canvas LMS website causes continuous reloading

  • BugsDesktopDone

Steps to reproduce:
This might be a more difficult bug to reproduce if you do not have access to a school's Canvas portal. I can provide video via direct message, but I don't want to doxx myself here.

Go to the Canvas website and open a linked pdf in the built-in pdf viewer. The page should continuously reload as the page tries to load the viewer until the following messages is displayed: "The process for this web page crashed or was terminated. To continue, try reloading the page or open another website."

Expected behavior:
The pdf viewer should load normally and display the file. This occurred in the previous RC, so this is either an issue with the latest Webkit or with some other change that was recently made.

Orion, OS version; hardware type:
Version 0.99.122.7-rc (WebKit 615.1.16.1)
MacOS 12.6.2 (21G320)
Macbook Air M1 2020

  • Vlad replied to this.

    glossary Did you try in compatibility mode? Btw where did you get access to RC?

      Vlad Compatibility mode actually causes the process to crash faster, after only two reloads (Compat mode off takes 3-5 reloads). The only extension with access to the site is Bitwarden.

      I got the RC from the Discord server, since I've had Contributor access there since before this site opened. I don't use this site much (there was a long period where I didn't contribute) so I haven't yet gotten to 10 points.

        glossary Can you try with a clear Orion profile and no extensions?

          Same results in a fresh profile in both normal and compatability mode. While I don't have Safari TP to test newer Webkit vs newer Webkit, Safari 16.2 (17614.3.7.1.7, 17614) loads the pdf viewer normally.

            Inability to reproduce this will hinder debugging the issue.

              I am having this exact same issue with the new official Orion update, upon installation, any posts that include a pdf preview immediately lead to continuous reloading. As far as I can tell it is not caused by any extensions. For the time being, I will have to access Canvas through Safari.

              I am having the same issue on the speedgrader page. It displays the submission window where a variety of file types atempt to load. It looks like it may be due to the following:

              [Error] Resource blocked by content blocker
              [Error] Fetch API cannot load https://relay-iad.sentry.insops.net/api/#/envelope/?sentry_key=key&sentry_version=7 due to access control checks.

                This may be a less important issue for the Orion team, but there may be a way to get a guest account in Canvas. I haven't tried this myself, but Canvas offers free trials. To test this issue, you would upload a pdf to a test page and attempt to show the viewer.
                https://www.instructure.com/canvas/try-canvas

                Vlad

                I just donated $10 to sponsor this issue, hopefully that will decrease the time it will take to get rid of it, so that I can go back to using only one browser. I just checked again, and the issue is still persistent.

                  BiggFloppa Thanks. Can you post exact steps to reproduce, assuming we do not even know what Canvas LMS is. So how to get there, create an account, reproduce the issue...

                    Vlad Not a problem, I have created instructions to recreate the issue!

                    Go to https://canvas.instructure.com/login/canvas and select “Browse courses” on the top right, this should take you to the homepage and give you a few sample courses to pick from. To recreate the issue, go to the course called “Spreadsheet Automation” and then click on “Files”, click on “Class Examples” and it should take you to a folder containing a variety of files, click on, for example, “census_520.xls” which is the topmost file, do not download it, just click on it. The automatic refreshing should occur immediately. This is the case for most file previews such as .pdf files and .docx files (examples of .docx files can be found on the homepage under the course called “Video Mystery Shopping” and going into the “Files”). This issue makes it very hard to use canvas as many assignments require the use of file previews, and this constant refreshing makes it impossible to view any pages with previews.

                    I can confirm that this is a universal issue on a completely fresh install and no amount of blocker settings changes will fix it. As a university student this is my biggest issue with Orion and essentially the reason not to consider it as my primary browser.

                    macshaughnessy3 I am having the same issues. I used canvas daily for grading and speedgrader never had problems, but now it just continuously trys to refresh the page, just like others here are saying. Worked fine for me on version 0.99.122 and started having problems when I updated to 0.99.123.1. Is there a way to just go back to an older version?

                      Honestly I haven’t tried to I’m sure you can it looks like the download is still 122 on their website.

                        macshaughnessy3 Unfortunatly no, I tried that. Thanks for the suggestion though. It seems to auto-update each time it's re-installed. Unless I'm missing something...