Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LibreOffice crashes when I try to open a PDF
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
leyvi
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2023
Posts: 144

PostPosted: Fri Feb 21, 2025 1:04 pm    Post subject: LibreOffice crashes when I try to open a PDF Reply with quote

Whenever I try to open a PDF file with any LO app, it crashes with the following message:
Code:
General Error.
General input/output error.
Nothing appears in syslog, and this is what I get in stdout/stderr:
Code:
QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix
This plugin supports grabbing the mouse only for popup windows
This plugin supports grabbing the mouse only for popup windows
I get this core dump, if that's helpful. I tried rebuilding app-office/libreoffice with custom-cflags disabled, but that didn't solve it either. Anyone know what's going on?
Back to top
View user's profile Send private message
Da51d
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2024
Posts: 77

PostPosted: Sun Feb 23, 2025 12:19 am    Post subject: Reply with quote

Have you ever been able to open a pdf with libreoffice? Do you wish to simply read the pdf or edit it? My understanding is that libreoffice is not supposed to be a pdf viewer or editor.
https://ask.libreoffice.org/t/libreoffice-5-0-3-wont-open-pdf-files/16079
https://ask.libreoffice.org/t/opening-pdf-defaults-to-libreoffice-draw-which-shifts-elements-due-to-weird-margins/101095
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
leyvi
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2023
Posts: 144

PostPosted: Sun Feb 23, 2025 12:13 pm    Post subject: Reply with quote

Yes. In the past, opening a PDF with LO would always work. It would open with LO Draw. I did just change a config file with dispatch-conf, specifically /etc/xdg/mimeapps.list. Maybe that has something to do with it? But those are just system defaults, not my user-specific settings, so I don't really know what's going on.
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3518

PostPosted: Sun Feb 23, 2025 12:16 pm    Post subject: Reply with quote

It has a pdfimport use flag though, which allows it to edit pdf files.
LibreOffice Draw module is not a great tool for the purpose and makes editing quite a painful process, but it _can_ do that.

Or at least it could, because it currently throws a "general input/output error" on my machine, whatever it means, and without any debug information. Weird.
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum