Skip to content
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

Proton Driver document editor cannot open #2014

Open
2 tasks done
ScottFreeCode opened this issue Jan 7, 2025 · 0 comments
Open
2 tasks done

Proton Driver document editor cannot open #2014

ScottFreeCode opened this issue Jan 7, 2025 · 0 comments
Labels
bug 🪲 Something isn't working recipe 📑 This issue is about a ferdium recipe

Comments

@ScottFreeCode
Copy link

Preflight Checklist

  • I agree to follow the Code of Conduct that Ferdium Recipes adheres to.
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.

Ferdium Version

7.0.0

Recipe Name

proton-drive

Recipe Version

1.1.1

Last Known working version of the recipe

No response

Steps to reproduce

  1. Sign in.
  2. Click on "+ New"
  3. Click on "New Document"

OR, if you already have a document in Proton Drive…

  1. Sign in.
  2. Click on the document.
  3. Click on the edit button (blue document image) in the top bar.

(OR)

  1. Sign in.
  2. Click on the three dots on the far right end of the document.
  3. Click on "Open"

Expected Behavior

Proton Drive opens the document for editing.

Actual Behavior

Nothing.

An error is thrown in the developer console:


window.ts:57
Uncaught (in promise) TypeError: e.close is not a function

at Object.close (window.ts:57:29)
at openDocument (useDocumentActions.ts:62:15)
at async l (useOpenInDocs.ts:27:13)

  close @ window.ts:57
  openDocument @ useDocumentActions.ts:62
  await in openDocument    
  l @ useOpenInDocs.ts:27
  action @ OpenInDocsButton.tsx:21
  onClick @ ContextMenuButton.tsx:23
 

ia-expanded="true" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; outline-width: 0px; flex: 0 0 auto;">
window.ts:57
Uncaught (in promise) TypeError: e.close is not a function
at Object.close (window.ts:57:29)
at openDocument (useDocumentActions.ts:62:15)
at async l (useOpenInDocs.ts:27:13)


Screenshots

No response

Additional Information

Proton Drive for some reason uses JavaScript to open a new tab for the document editor, instead of an ordinary link that could be opened in Ferdium. I'm not sure whether this can or cannot be intercepted. Figured I would ask for it to be looked at just in case.

close@window.ts:57
openDocument@useDocumentActions.ts:62
await in openDocument
l@useOpenInDocs.ts:27
action@OpenInDocsButton.tsx:21
onClick@ContextMenuButton.tsx:23
@ScottFreeCode ScottFreeCode added bug 🪲 Something isn't working recipe 📑 This issue is about a ferdium recipe labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working recipe 📑 This issue is about a ferdium recipe
Projects
None yet
Development

No branches or pull requests

1 participant