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

​Clicking on embedded pdf link doesn't redirect to default pdf app #6945

Open
1 task
Abdurrafey-Siddiqui opened this issue May 15, 2024 · 2 comments
Open
1 task

Comments

@Abdurrafey-Siddiqui
Copy link

What happened?

image

See image above. I have my default pdf app as microsoft edge, so thats what i expected it to open in.

Distribution version

Windows x64

What browsers are you seeing the problem on if you're using web version?

No response

Are you self-hosting?

  • Yes

Relevant log output

No response

Anything else?

No response

@affine-issue-bot
Copy link

affine-issue-bot bot commented May 15, 2024

Issue Status: 🔍 Under Investigation

🔍 Under Investigation

We’ve triaged the issue, but now we need to investigate it more thoroughly. This may require processing additional information like logs or dumps.

This is an automatic reply by the bot.

@pengx17
Copy link
Collaborator

pengx17 commented May 15, 2024

Opening attachments such as PDF in client is not yet supported and blocked in

contents.setWindowOpenHandler(({ url }) => {
. In the long term we will support PDF viewer later.

For now I think maybe a workaround is to open a new electron window to serve the pdf contents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔍 Under Investigation
Development

No branches or pull requests

2 participants