octotree icon indicating copy to clipboard operation
octotree copied to clipboard

Octotree keep disappearing after click

Open julzheng opened this issue 2 years ago • 20 comments

Description

Initially it started okay, but when you explore and click on each individual file, the sidebar then go missing.

Environment (if bug)

  • Octotree version: 7.5.1
  • Browser & version: Chrome Version 103.0.5060.53 (Official Build) (64-bit)
  • OS & version: Ubuntu 20.04.4 LTS
  • Screenshot, if any (drag an image here)

https://user-images.githubusercontent.com/1755417/175478080-137d2625-53f9-4ca3-98ed-7709589720ef.mp4

  • Console error log below this line

Refused to load the font '<URL>' because it violates the following Content Security Policy directive: "font-src github.githubassets.com".

/ovity/octotree:163 Refused to load the font 'https://github.com/fonts/fontawesome.woff2' because it violates the following Content Security Policy directive: "font-src github.githubassets.com".

/ovity/octotree:163 Refused to load the font 'https://github.com/fonts/mfixx.woff2' because it violates the following Content Security Policy directive: "font-src github.githubassets.com".

/ovity/octotree:163 Refused to load the font 'https://github.com/fonts/devopicons.woff2' because it violates the following Content Security Policy directive: "font-src github.githubassets.com".

/ovity/octotree:163 Refused to load the font 'https://github.com/fonts/file-icons.woff2' because it violates the following Content Security Policy directive: "font-src github.githubassets.com".

/ovity/octotree:163 Refused to load the font 'https://github.com/fonts/octicons.woff2' because it violates the following Content Security Policy directive: "font-src github.githubassets.com".

julzheng avatar Jun 24 '22 06:06 julzheng

I have the same issue in Firefox.

Environment

  • Octotree version: v7.5.1
  • Browser & version: 101.0.1 (64-Bit)
  • OS & version: Ubuntu 20.04.4 LTS

jdreesen avatar Jun 27 '22 10:06 jdreesen

same issues, and i use Chrome 103.0.5060.53

@ovity

d1y avatar Jun 27 '22 13:06 d1y

Same issue in Microsoft Edge

Edge: 103.0.1264.37 Octotree: v7.5.1

As said in the original post when it is a full reload it appears normally but in any type of navigation within Github it disappears.

wfern avatar Jun 27 '22 15:06 wfern

same issue here on Chrome Version 103.0.5060.53 (Official Build) (x86_64)

jesusmah avatar Jun 27 '22 15:06 jesusmah

Same isssue in Opera.

Environment

  • Octotree version: v7.5.0
  • Browser & version: 87.0.4390.45
  • OS & version: Windows 10 64-bit

basarYargici avatar Jun 27 '22 16:06 basarYargici

Thank you all for reporting. GitHub has been changing the way they load their pages, causing this issue. We're figuring out how to fix this.

danhgit avatar Jun 28 '22 03:06 danhgit

Times like this when I realise how much I rely on this amazing tool.

pwm avatar Jun 28 '22 13:06 pwm

Same : ( All the best Dan!

DamianArado avatar Jun 28 '22 16:06 DamianArado

We've just released v7.5.2 that fixes the issue (hope no further changes from GitHub 😅). It should already be available for Firefox. Chrome usually takes about a day (updated: it's already available) while Edge, Opera and Safari usually take longer. The code change is quite tricky, please let us know if you experiment any issue. Thank you.

danhgit avatar Jun 28 '22 17:06 danhgit

Might be a coincidence, but I had to remove and re-download Octotree before it started working again, even when Settings view showed Octotree v7.5.2.

Thanks for the incredibly quick turnaround! I was just at the point of exasperation when I discovered this thread. :pray:

  • Firefox 101.0.1
  • Octotree v7.5.2

EDIT: Pardon me, I spoke too soon. I'm still experience the issue reported above.

jm-janzen avatar Jun 28 '22 18:06 jm-janzen

Working in chrome now!

  • Chrome 103.0.5060.53
  • Octotree v7.5.2

Cheers

lbowenwest avatar Jun 28 '22 18:06 lbowenwest

In case anyone else was wondering how to update on chrome.

Right Click the Extension > Manage Extension

Then on the top right you should see "Developer Mode" in the top right, click that and then click on the "Update" button that will appear

andres-lowrie avatar Jun 28 '22 19:06 andres-lowrie

Still experiencing the issue.

  • Firefox 102.0
  • Octotree 7.5.2

kwbr avatar Jun 29 '22 00:06 kwbr

The cause was GitHub changed page loading approach again after we had implemented the fix. We've just released another hot fix 7.5.3. Please look out for that version.

danhgit avatar Jun 29 '22 06:06 danhgit

Seems to work for me again on Firefox with 7.5.3 :)

jdreesen avatar Jun 29 '22 07:06 jdreesen

Having the same problem with Edge. Version: 103.0.1264.37 OS: Pop OS 22.04

s-bose avatar Jun 30 '22 20:06 s-bose

@s-bose with Octotree v7.5.3?

jdreesen avatar Jun 30 '22 21:06 jdreesen

@s-bose sadly, Edge is very slow when coming to approving releases. Might take up to a week. You should consider install the Chrome extension to Edge instead.

danhgit avatar Jul 01 '22 03:07 danhgit

@s-bose with Octotree v7.5.3?

No the Edge version is currently 7.5.1

s-bose avatar Jul 01 '22 04:07 s-bose

@s-bose sadly, Edge is very slow when coming to approving releases. Might take up to a week. You should consider install the Chrome extension to Edge instead.

This fixed it. Thank you!

s-bose avatar Jul 01 '22 04:07 s-bose