Bookmark display issue in Adobe Acrobat Browser Extension after Aspose.PDF 25.2 Update

Hello,

There is an issue with bookmarks in PDF files generated using Aspose.PDF version 25.2 and above. The bookmarks are not displayed correctly when the PDF is opened using the Adobe Acrobat browser extension:
image.png (2.3 KB)

However, they appear correctly in the desktop version of Adobe Acrobat Reader and when opened directly in a browser:
image.png (1.6 KB)

Here’s the code snippet:

void Main()
{
	Document pdfDocument = new Document();

	Page page1 = pdfDocument.Pages.Add();
	TextFragment text1 = new TextFragment("This is the first page");
	page1.Paragraphs.Add(text1);

	Page page2 = pdfDocument.Pages.Add();
	TextFragment text2 = new TextFragment("This is the second page");
	page2.Paragraphs.Add(text2);

	Page page3 = pdfDocument.Pages.Add();
	TextFragment text3 = new TextFragment("This is the third page");
	page3.Paragraphs.Add(text3);

	OutlineItemCollection mainBookmark = new OutlineItemCollection(pdfDocument.Outlines);
	mainBookmark.Title = "Main Section";
	mainBookmark.Italic = true;
	mainBookmark.Bold = true;	

	OutlineItemCollection subBookmark1 = new OutlineItemCollection(pdfDocument.Outlines);
	subBookmark1.Title = "Page 1";
	subBookmark1.Action = new GoToAction(page1);
	mainBookmark.Add(subBookmark1);

	OutlineItemCollection subBookmark2 = new OutlineItemCollection(pdfDocument.Outlines);
	subBookmark2.Title = "Page 2";
	subBookmark2.Action = new GoToAction(page2);
	mainBookmark.Add(subBookmark2);

	OutlineItemCollection subBookmark3 = new OutlineItemCollection(pdfDocument.Outlines);
	subBookmark3.Title = "Page 3";
	subBookmark3.Action = new GoToAction(page3);
	mainBookmark.Add(subBookmark3);

	pdfDocument.Outlines.Add(mainBookmark);

	pdfDocument.Save(@"D:\temp\test.pdf");
}

Using the same code with Aspose.PDF version 25.1, the bookmarks display correctly in the browser extension.

Could you provide guidance on resolving this issue? Is there a known solution or any planned fixes?

Thank you for your assistance.

Best regards,
Artur

We just discovered that the problem also occurs when the document is opened directly in the Edge Dev browser (Version 139.0.3394.0 (Official build) dev (64-bit)). This significantly increases the severity of the issue for us, as it is likely to affect a majority of our clients following a future Edge update.

This ticket contains information about our purchased license: Document.TaggedContent throws "An item with the same key has already been added." exception - #15

Best regards,
Artur

@ARTJ

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-60208

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@asad.ali

The bookmark issue appears to have been introduced in a recent version of your product. We would appreciate it if you could address this as part of your standard support.

Best regards,
Artur

@ARTJ

We will definitely address this issue and resolve it. However, it will be investigated and resolved on first-come, first-served basis as per the free support policies. We will investigate the reason behind this issue first and as soon as analysis is done, we will share updates with you via this forum thread. Please be patient and spare us some time.

We are sorry for the inconvenience.

@asad.ali
Hi,
do you have any updates on this?
Best regards,
Artur

@ARTJ

We are afraid that the earlier logged issue has not been yet resolved due to other issues in the queue. As soon as we make some progress in this regard, we will surely inform you via this forum thread. Please be patient and spare us some time.

We are sorry for the inconvenience.