SOLVED

Edge pdf opens multiple tabs

%3CLINGO-SUB%20id%3D%22lingo-sub-1767087%22%20slang%3D%22en-US%22%3EEdge%20pdf%20opens%20multiple%20tabs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1767087%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20i%20try%20and%20open%20a%20pdf%20with%20edge%20it%20opens%20multiple%20tabs.%3C%2FP%3E%3CP%3Eit%20looks%20like%20it%20opens%20a%20tab%20every%20time%20a%20spacebar%20should%20have%20been%20there%20so%20for%20example%20one%20of%20my%20pdf%20locations%20is%3A%3C%2FP%3E%3CP%3E%3CA%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Efile%3A%2F%2F%2FC%3A%2FUser%2FOnedrive%2FArteficial%2520intelligence%2FLecture5%2520Assignment%2F6.%2520Supervised%2520Learning%2520Exercises.pdf%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20in%20the%20browser%20it%20opens%20as%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202020-10-10%20115833.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F225722i944D5B71EBFD4942%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screenshot%202020-10-10%20115833.png%22%20alt%3D%22Screenshot%202020-10-10%20115833.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20know%20why%20it%20does%20this%20and%20how%20I%20can%20fix%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1767233%22%20slang%3D%22en-US%22%3ERe%3A%20Edge%20pdf%20opens%20multiple%20tabs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1767233%22%20slang%3D%22en-US%22%3E%3CP%3EWhy%20is%20the%20location%20C%3A%2Fusers%2Fonedrive%20%3F%3CBR%20%2F%3Eis%20%22onedrive%22%20name%20of%20your%20user%3F%20normally%20it%20is%20%22C%3A%5Cusers%5CUSERNAME%5COneDrive%22%3CBR%20%2F%3E%3CBR%20%2F%3EI%20also%20have%20PDF%20files%20on%20my%20OneDrive%2C%20I%20can%20open%20them%20in%20Edge%20without%20problem.%3C%2FP%3E%3CP%3Eas%20an%20example%2C%20this%20is%20one%20of%20their%20locations%3A%3C%2FP%3E%3CP%3E%22file%3A%2F%2F%2FC%3A%2FUsers%2FMyUserName%2FOneDrive%2FCompliance%2520Framework_customer%2520guidance.pdf%22%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20where%20your%20problem%20stems%20from%20though.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eyou%20mentioned%3A%3C%2FP%3E%3CP%3E%22%3CA%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Efile%3A%2F%2F%2FC%3A%2FUser%2FOnedrive%2FArteficial%2520intelligence%2FLecture5%2520Assignment%2F6.%2520Supervised%2520Learning%25...%22%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhich%20is%20incomplete%20but%20I%20see%20forward%20slash%20in%20your%20PDF%20file%20name%20that%20shouldn't%20be%20possible%20in%20Windows.%20forward%20slash%20(%22%2F%22)%20or%20back%20slash%20(%22%5C%22)%20means%20different%20directory.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22HotCakeX_0-1602333684297.png%22%20style%3D%22width%3A%20399px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F225728i7FDF47DFB7245A57%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22HotCakeX_0-1602333684297.png%22%20alt%3D%22HotCakeX_0-1602333684297.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eso%20i%20think%20you're%20either%20doing%20something%20wrong%20or%20you%20need%20to%20reword%20your%20post.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi,

 

When i try and open a pdf with edge it opens multiple tabs.

it looks like it opens a tab every time a spacebar should have been there so for example one of my pdf locations is:

file:///C:/User/Onedrive/Arteficial%20intelligence/Lecture5%20Assignment/6.%20Supervised%20Learning%...

 

but in the browser it opens as:

Screenshot 2020-10-10 115833.png

 

Does anyone know why it does this and how I can fix it?

 

23 Replies
Highlighted

Why is the location C:/users/onedrive ?
is "onedrive" name of your user? normally it is "C:\users\USERNAME\OneDrive"

I also have PDF files on my OneDrive, I can open them in Edge without problem.

as an example, this is one of their locations:

"file:///C:/Users/MyUserName/OneDrive/Compliance%20Framework_customer%20guidance.pdf"

 

I know where your problem stems from though.

 

you mentioned:

"file:///C:/User/Onedrive/Arteficial%20intelligence/Lecture5%20Assignment/6.%20Supervised%20Learning%...

 

which is incomplete but I see forward slash in your PDF file name that shouldn't be possible in Windows. forward slash ("/") or back slash ("\") means different directory.

 

HotCakeX_0-1602333684297.png

 

so i think you're either doing something wrong or you need to reword your post.

Highlighted
I have the same issue. I also think the issue ir regarding the back (or forward) slash. The thing is it was working perfectly fine until yesterday
Highlighted

@juanpatelleria 


@juanpatelleria wrote:
I have the same issue. I also think the issue ir regarding the back (or forward) slash. The thing is it was working perfectly fine until yesterday

what is your PDF file's name exactly?

you do you even put forward or backward slashes in your file names? Windows doesn't allow it.

Highlighted

@faqqeu 

I had a few users report issues and opted to 

-change the default pdf app to chrome

-restart the computer

-change the default app back to edge

 

This stopped the multiple tab thing from happening on two devices.

Both computers had a high uptime.

Highlighted

@Techeac Can confirm this solved the issue for me! 

Highlighted

@faqqeu  and @HotCakeX  I have that issue too.

Highlighted

@Kam 

@faqqeu 

what issue? nobody even answered when i asked how you even put forward or backward slashes in file names.

Highlighted

@HotCakeX 

The thing was that all of the sudden it didn't work anymore without me changing anything.

When I restarted my pc a day later it worked again so I still have no clue why it even happened.

So at the moment it seems to work again without changing anything.

Highlighted
Well that's good but the OP had problem with file name. your PDF not working (which i don't know what it exactly means) could have had a different reason
Highlighted

@HotCakeX Did you ask ""what issue?" The title says it!

Thanks,
Kam

Follow me on this community here: https://techcommunity.microsoft.com/t5/user/viewprofilepage/user-id/565232

 

P.s. I used my new "Signature" macros :)

Highlighted

@Kam 

 

What ?

Highlighted
Sorry I went exercising. Did you just ask what? Here it is: Edge PDF opens multiple tabs.
Highlighted

@HotCakeX 

It wasn't really about the file name but edge opening multiple tabs for the pdf.

This could be because something about the name was off but I doubt it because after a reset it fixed it self with the file and location unchanged.

Highlighted
But also I just now created a Word doc and exported it as a pdf and the issue is still not gone.
Highlighted

@Kam 

What is the file location and what tabs are opened?
Maybe we can figure out more if we look at that.

Highlighted

The file location? Here is a screenshot below.

KamlovesMS_0-1602622224037.png

 

 

Highlighted

@Kam 

If you right click the file you can copy the file location.

From there we can maybe see if a certain character makes it so this happens

 

Highlighted

@faqqeu  The bug happens when either the folder or the file name contains a space. Another workaround is to replace spaces in folders/file names for a "-* until its fixed.

Highlighted
It worked for me. Thanks!!