ladybird icon indicating copy to clipboard operation
ladybird copied to clipboard

Cannot open pdf files

Open Admsher opened this issue 11 months ago • 3 comments

Summary

Whenever I drop a pdf file like i usuall do in chrome or edge the portal breaks i suppose since i cannot see anything

Operating system

Linux

Steps to reproduce

1.Run Ladybird 2.Take any pdf of your choice 3.Drag and Drop in the LadyBird window

Expected behavior

The pdf should be visible

Actual behavior

Blank Screen

URL for a reduced test case

N/A

HTML/SVG/etc. source for a reduced test case

N/A

Log output and (if possible) backtrace

qt.core.plugin.loader: In /home/admsher/anaconda3/lib/python3.11/site-packages/cv2/qt/plugins/platforms/libqxcb.so:
Plugin uses incompatible Qt library (5.15.0) [release]

Screenshots or screen recordings

Screenshot from 2024-12-27 15-40-32

Build flags or config settings

No response

Contribute a patch?

  • [ ] I’ll contribute a patch for this myself.

Admsher avatar Dec 27 '24 10:12 Admsher

Hi there! We don't support PDFs at the moment. Some people have experimented a little with pdf.js but that's not integrated yet.

AtkinsSJ avatar Jan 09 '25 11:01 AtkinsSJ

What is the state of SerenityOS's LibPDF? Has it been considered to integrate this into Ladybird in the future?

mara004 avatar Apr 14 '25 17:04 mara004

We removed LibPDF from the ladybird repository. Nico and Lucas continue to improve it in the SerenityOS project. When we get back to PDF support, it would only be one of several possible considerations.

ADKaster avatar Apr 14 '25 23:04 ADKaster