"Open containing folder" doesn't work

Bug #2022852 reported by Roman Bereziuk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

Hi. Found that now when clicking on "Open containing folder" from the context menu on any book - nothing happens. And if the book has few formats and I try "Choose the format to view", pick pdf - also nothing. Run calibre from the terminal to find an error - clear. Maybe someone met the same behavior?

Calibre - 6.17

OS - Manjaro Gnome 23.0.0

Revision history for this message
Roman Bereziuk (roman135) wrote :

The basic action to open containing folder works.
For example, from the editor VSCode, I can open containing folder of files.

Revision history for this message
Kovid Goyal (kovid) wrote :

These actions happen by passing the file:// URLs to Qt which in turn passes
them to xdg-open on Linux. xdg-open on your system is presumably broken.

Changed in calibre:
status: New → Invalid
Revision history for this message
Roman Bereziuk (roman135) wrote :

Kovid Goyal thanks for helping :)

It could be something else? I tried to run in terminal xdg-open with folder path or pdf file and its working

Revision history for this message
Roman Bereziuk (roman135) wrote :

Also when starting with debug mode and pressing "Open containing folder" no info in the terminal. Any error

Revision history for this message
Kovid Goyal (kovid) wrote :

No, it's nothing else. The environment xdg-open sees in a terminal and
when run from your graphical shell environment are completely different.
And Qt will pass URLs not paths to xdg-open. Many xdg-open
implementations are brain dead and fail on URLs.

Revision history for this message
Roman Bereziuk (roman135) wrote :

Got it. Could I do something with it? Without changing OS ))))

Revision history for this message
Kovid Goyal (kovid) wrote :

Fix xdg-open on your OS. Personally I ditched the upstream xdg-open and
wrote my own replacement years ago.

Revision history for this message
Roman Bereziuk (roman135) wrote :

I don't have enough skill for this )
I'll try to Google the solution, maybe it will work

Huge thanks for helping ☺️

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.