Unable to view PDF with sensitivity label
Hello, I am testing a confidential label with various settings, so far it works fantastically. When applying the [Confidential] label to a word file it works. However when I turn that Word document into a PDF and try to view it I am presented with the following screen: I input my email that also has an Acrobat Pro license and proceed. Then I am presented with the following login: When I press continue, quite literally, nothing happens. It just seems to get stuck in the login screen. Additionally if I do "open with" to the file I can view it normall on Microsoft Edge.30Views0likes2Commentsms-word:ofe|u cannot open pdf documents in windows
Was looking at opening pdf in ms-word using https://learn.microsoft.com/en-us/office/client-developer/office-uri-schemes?source=recommendations and ran into an issue when testing this on windows. Trying to run ms-word:ofe|u|<url of some pdf> e.g run this in any browser: ms-word:ofe|u|https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf Fails to open in word However this works just fine on mac (intel and silicon) Browser is not relevant. Note that if one changes the file extension to a .docx it does not error and actually tries to get the file (which ofc fails later because it doesn't exist) ms-word:ofe|u|https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.docx Mac behaviour: you get the pdf to docx convertion screen and then you are shown the converted document as a .docx Does anyone have any ideas how to make this work or if it may indeed be an issue on windows builds?28Views0likes0CommentsPDF viewer does not work with JavaScript
Hi All of our corporate documents are managed in a document solution that generates PDF files from the documents with a specific header in the document stating when they have been requested etc. This header uses JavaScript build into the PDF which works just fine in Adobe Acrobat Reader, Internet Explorer (as it uses Acrobat Reader) etc. But sadly in Edge it only loads the top of the header on each page and displays an error saying: "TypeError: this.info.toSource is not a function". The rest of each page is missing (see screenshot below) This means that thousands of documents that cannot be viewed with the build-in PDF viewer in Edge, but we have to manually download the file and then open it in Adobe Reader.32KViews0likes6CommentsHow can I set Edge-browser as PDF-file previewer in Outlook Desktop?
Microsoft Edge is set as the default PDF-handler application in Windows 10 on my pc. However, in Outlook Desktop, when I click on PDF-files which are attached to a mail message, I get an error message "This file cannot be previewed, because there is no previewer installed for it". I can only solve this by installing Acrobat Reader, which I do not want to do. What is the solution?Solved21KViews1like14CommentsEdge New PDF Reader form security bug
Edge can not display a certain PDF under the following conditions. Edge "New PDF Viewer" feature is enabled at "edge://flags/#edge-new-pdf-viewer". A pdf is encrypted with the security setting of "Changed allowed" as "Filling in form fields and signing existing signature fields". Showing and Hiding texts with Acrobat form Javascript does not work properly. Notice: a. Adobe Reader works as expected. Chrome PDF Viewer works as expected. Firefox works as expected. Even Edge old pdf viewer works as expected. b. If a PDF is not encrypted, the same PDF works as expected. Example: https://www.shtml.jp/test/202412/edge_form_2024_security.pdf ShowText button and HideText Button does not work as expected in the case of Edge with "New PDF Viewer" enabled. The Same pdf with no security https://www.shtml.jp/test/202412/edge_form_2024_nosecurity.pdf Both ShowText button and HideText Button does work as expected in the case of Edge with "New PDF Viewer" enabled as well.180Views0likes2CommentsProblem with pdf print preview with cyrillic fonts
Hello, we have a problem - after version 129 in print preview all cyrillic symbols are hidden( but it still avaiable to copy) Checked version: 131.0.2903.63 Opened file - it's ok: PrintPreview - problem: This problem is not for all pdf documents. We get it from libriary report-generator wich should add fonts to pdf. Used fonts - Arial, Times New Roman100Views0likes1CommentMargin choice in print dialog resets after two invocations total, no longer sticky
Hello, Thank you very much for your work on this great browser. Upon updating to Edge Stable 105.0.1343.27, it appears that after specifically one more invocation of the "print" dialog (two total), the user's choice for the "Margins" dropdown (visible after clicking "More Settings...") is reset to "Default". Previously, the choice for the "Margins" dropdown was sticky - preserved across any number of times the print dialog was invoked. Steps to reproduce: 1. Open some webpage, such as [Hacker News](https://news.ycombinator.com/). 2. Ctrl+P / Cmd+P (my current OS is macOS latest stable 12.5.1) to trigger the print dialog. 3. More Settings... > Margins > Select "None". (My preferred setting for printing to PDF.) 4. Print the webpage, or cancel out (the behavior manifests either way). 5. Open the print dialog once again - the margin choice from before is preserved. Print or close the dialog. 6. Open the print dialog again. The choice for "Margins" is now reset to "Default" instead of staying on the user's selected choice. I have confirmed this behavior persists across both browser and full OS restarts. This may be intended behavior by the dev team, but it would break a crucial workflow for me (printing-to-pdf discussions from HN and Reddit with margins set to "None"). I respect the team's choices, but it is interesting to consider the ongoing discussions about the stickiness of print settings. For example, in the Chromium bug tracker they have the issue: `2022 09 05` [1295921 - Improve sticky behavior of print options - chromium](https://bugs.chromium.org/p/chromium/issues/detail?id=1295921) as well as the tangential issue: `2022 09 05` [1314057 - Custom Printer Margin Settings Reset After Printing To Another Printer - chromium](https://bugs.chromium.org/p/chromium/issues/detail?id=1314057). Comment 8 from 2021 06 07 in this issue indicates that margin choice in the print dialog is meant to be a sticky setting: `2022 09 05` [1186601 - How do I set default print margins for multiple printers on Google Chrome for Windows 10? - chromium](https://bugs.chromium.org/p/chromium/issues/detail?id=1186601) Even though this issue manifested in Edge Stable, I thought it might be interesting for the Edge Insiders staff due to recent changes around printing in Dev Channel updates: `2022 09 05` [Dev channel update to 105.0.1329.1 is now live! - Microsoft Tech Community](https://techcommunity.microsoft.com/t5/discussions/dev-channel-update-to-105-0-1329-1-is-now-live/m-p/3583978) "Fixed a crash when getting the page count in print preview" `2022 09 05` [Dev channel update to 106.0.1363.0 is now live! - Microsoft Tech Community](https://techcommunity.microsoft.com/t5/discussions/dev-channel-update-to-106-0-1363-0-is-now-live/m-p/3613154) "Fixed orientation issue with printing" Perhaps the issue manifests because of changes in some of these code paths. Thanks for your time, and ideally the choice for "Margins" can be made sticky (preserved across any number of invocations of the print dialog) once again in the next stable update, but I understand if not.1.5KViews0likes1CommentAlways download PDF files forces open in edge as opposed to other default configured pdf software
This policy and its rule doesn't appear to be working as expected. settings > content > pdfDocuments Always download PDF files - checked Download PDF files to your device. If Microsoft Edge is your default PDF reader, PDF files will open automatically without downloading. On several devices within our estate they have alternative default pdf software (pdf xchange editor) despite all settings and configuration being correct and having tested this on/off it looks like this is the culprit. can anyone else confirm?2.3KViews0likes3CommentsPDF Viewer Internal Hyperlink Forward/Back buttons
Hi I read a lot science papers as PDFs in Edge. They are full of hyperlinks referring either to other parts of the paper, or to external resources. It is now possible to open an external link in a new tab (which was not possible in the old Edge), so that's great. However, beyond that, there is no ability go back from a followed internal hyperlink. E.g. I click on a link to a reference in the middle of a long paper, I get taken to the bibliography at the end of the same document, I now want to go back to where I was and I have to scroll back to find my place. Old Edge also didn't have this feature. Adobe's PDF Reader has separate back/forward buttons in addition to next/previous page buttons which allow one to follow the internal hyperlink history within the document. Something like this would be a great addition to the PDF reader. Maybe it would be enough to overload the browsers back/forward buttons here?11KViews8likes10CommentsOnedrive has stopped creating folders
I have recently implemented the Graph api to: create in a shared folder various directories with names like this => "uc_123455"; on each folder created, the api upload pdfs inside it ; the problem: it starts ok but after a time it just stop creating folder, it has a total of almost 3500 folders to create and stops after 1000. the code works like this: it first get the access_token from microsoft and load the Graph then get the shared folder ID $this->graph = new Graph(); $this->graph->setAccessToken($this->accessToken); $this->directory_id = $this->fetchDirectoryId($this->graph); then i start looping: first it create the name based on what part is of the loop $subfolderName = "UC_" . $customer->numero_uc; after this is used to create the folder on this function $folder = $this->createIntoDirectory($this->directory_id[0], $this->graph, $subfolderName); and this function works like this public function createIntoDirectory(string $folderId, Graph $graph, string $ucNumber): string|bool { try { $response = $graph->createRequest('POST', "/me/drives/" . $this->drive_id . "/items/$folderId/children") ->attachBody(json_encode([ "name" => $ucNumber, "folder" => new stdClass() ], JSON_THROW_ON_ERROR)) ->setReturnType(DriveItem::class) ->execute(); return $response->getId(); } catch (GuzzleException|GraphException) { return $this->fetchExistenteDirectory($folderId, $graph, $ucNumber); } } if already exist an Folder with the name it falls in the exception and call to another function that return the id of the already created folder (I did this in case any pdfs weren't sent to the folder) heres the function: public function fetchExistenteDirectory(string $folderId, Graph $graph, string $ucNumber): string|bool { try { $folder = $graph->createRequest('GET', "/me/drives/" . $this->drive_id . "/items/$folderId/children") ->setReturnType(DriveItem::class) ->execute(); foreach ($folder as $item) { if ($item->getName() === $ucNumber) { return $item->getId(); } } return false; } catch (GuzzleException|GraphException) { return false; } } are there problems with my code to stop generation folders? because it works 100% fine, until then it stops questions like: where is the pdf? the pdf are converted images from urls that i fetch from my db what is UC: is like users, it come from portuguese word "unidade consumidora" or "consumer unit", each of then come from an array that i fetch from my db if it has any questions about the code or the process just ask. Thanks (english isn't my mother tongue, so sorry for any grammatical error)325Views0likes0Comments