Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Flatpak Firefox not displaying some pdfs correctly

  • 5 trả lời
  • 1 gặp vấn đề này
  • 9 lượt xem
  • Trả lời mới nhất được viết bởi jonzn4SUSE

more options

Hello,

Am using Mozilla Firefox installed via flatpak on openSUSE. Certain pdfs display correctly but other pdfs displayed with Firefox (either locally or online) are displayed badly: spaces are replaced with a lower half block character, fonts not sharp. I installed Firefox from the openSUSE repos (not from flathub) and opened the same pdf and it displayed correctly. I downloaded the pdf and opened it using Okular and no problems. I also opened the “troublesome” pdfs on Firefox in Windows and it displays correctly. I conclude that the flatpak version of Firefox is causing some pdfs to display incorrectly but I don’t know why.

I installed flatseal to tweak the flatpak Firefox’s settings but nothing seemed to fix the pdf display issue. Please see screenshot below of how Firefox (from openSUSE repos, on the left hand side) and Firefox (from flathub, on the right hand side) display the same pdf from the internet. The online pdf in the screenshot and used as an example of the issue can be found at:

https://www.jrf.org.uk/sites/default/files/jrf/files-research/international_cities_rotterdam.pdf

Not sure why some pdfs display correctly in Firefox from flathub and others display incorrectly. I’d prefer to use flatpak’s sandboxed Firefox if possible. Is there anyone else with the same problem or someone who who found a solution to this issue?

Thanks

Dad4Linux

Hello, Am using Mozilla Firefox installed via flatpak on openSUSE. Certain pdfs display correctly but other pdfs displayed with Firefox (either locally or online) are displayed badly: spaces are replaced with a lower half block character, fonts not sharp. I installed Firefox from the openSUSE repos (not from flathub) and opened the same pdf and it displayed correctly. I downloaded the pdf and opened it using Okular and no problems. I also opened the “troublesome” pdfs on Firefox in Windows and it displays correctly. I conclude that the flatpak version of Firefox is causing some pdfs to display incorrectly but I don’t know why. I installed flatseal to tweak the flatpak Firefox’s settings but nothing seemed to fix the pdf display issue. Please see screenshot below of how Firefox (from openSUSE repos, on the left hand side) and Firefox (from flathub, on the right hand side) display the same pdf from the internet. The online pdf in the screenshot and used as an example of the issue can be found at: https://www.jrf.org.uk/sites/default/files/jrf/files-research/international_cities_rotterdam.pdf Not sure why some pdfs display correctly in Firefox from flathub and others display incorrectly. I’d prefer to use flatpak’s sandboxed Firefox if possible. Is there anyone else with the same problem or someone who who found a solution to this issue? Thanks Dad4Linux
Đính kèm ảnh chụp màn hình

Tất cả các câu trả lời (5)

more options

Sounds like a flatpak issue https://discourse.flathub.org/. I also have no issue with the Distro and Mozilla version of Firefox when viewing the same pdf. Are you in Leap or Tumbleweed? X11 or Wayland? I guess I could install it and see what happens...


Operating System: openSUSE Tumbleweed 20230605 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 Kernel Version: 6.3.4-1-default (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5825U with Radeon Graphics Memory: 62.1 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: HP Product Name: HP ProBook 455 15.6 inch G9 Notebook PC

more options

Installing.... standby.

more options

Interesting... The Flatpak version opens the distro version.  ;-)) I would have to uninstall the distro version to test and I'm not doing that.

Được chỉnh sửa bởi jonzn4SUSE vào

more options

that's strange; the menu command for the distro version is completely different from the flatpak version which invokes the flatpak command.

In any case, before I even installed the distro version, i only had the flatpak version of Firefox installed. Because I had encountered this strange rendering of some pdfs, I installed the distro version of Firefox to see if the issue had to do with a newer version of Firefox (maybe newer bug?). The distro version of Firefox and Firefox on a completely different os (WIndows) wasn't exhibiting the incorrect rendering of pdfs.

more options

On another laptop and no issues with distro nor Mozilla version of Firefox. see screenshot Are you X11 or Wayland?


Operating System: openSUSE Tumbleweed 20230605 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 Kernel Version: 6.3.4-1-default (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Xeon® CPU E3-1535M v6 @ 3.10GHz Memory: 62.2 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics P630 Manufacturer: HP Product Name: HP ZBook 17 G4