In KDE version 5, the file manager does not work properly

Bug #1886275 reported by Carlos Vinolo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo-Dock Plug-ins
Fix Committed
High
Fabounet

Bug Description

HOW TO REPRODUCE:

When using the "Quick Browser" plugin in Cairo-Dock, no folder or file can be opened, even if ~/.local/share/applications/mimeapps.list is configured with the correct handler.There is no response at all.

gvfs-open, mimeopen, gio open commands work fine using the same handler for "inode/directory"

SYSTEM INFORMATION:

Cairo version: 3.4.1
OS: Ubuntu 19.10 (eoan) + KDE
KDE version: 5.16.5

DEBUG INFORMATION:

debug : (/build/cairo-dock-XfXg2O/cairo-dock-3.4.1/src/gldit/cairo-dock-file-manager.c:_cairo_dock_fm_launch_uri_threaded:118)
  _cairo_dock_fm_launch_uri_threaded (/root)
debug : (/build/cairo-dock-plug-ins-30gRN8/cairo-dock-plug-ins-3.4.1/kde-integration/src/applet-vfs.c:vfs_backend_launch_uri:812)
  vfs_backend_launch_uri (/root)
debug : (/build/cairo-dock-XfXg2O/cairo-dock-3.4.1/src/gldit/cairo-dock-utils.c:cairo_dock_launch_command_full:298)
  cairo_dock_launch_command_full (kioclient exec "/root" , (null))
sh: 1: kioclient: not found

kioclient is not used in KDE5 but kioclient5

FURTHER INFORMATION:

KDE version (4:5) can be retrieved with command:

plasmashell --version | grep -Po '^[^\d.]*\K\d+(?=\.)'

if this command returns a "5", then the "kioclient5" must be used instead of "kioclient". So far, for this bug only line 812 in kde-integration/src/applet-vfs.c has been found incorrect.

Revision history for this message
Carlos Vinolo (cvinolo) wrote :

For the ones affected, a quick fix is to create a file called "kioclient" in /usr/bin with the next content:

#!/bin/sh
kioclient5 $1 $2 $3

(don't forget give it +x permissions)

Carlos Vinolo (cvinolo)
description: updated
Revision history for this message
Fabounet (fabounet03) wrote :

Hi,
thanks a lot for the bug report, I've fixed it according to your advice.
Feel free to test it (commit 8a93a10b9).

Changed in cairo-dock-plug-ins:
assignee: nobody → Fabounet (fabounet03)
importance: Undecided → High
status: New → Confirmed
status: Confirmed → Fix Committed
Revision history for this message
Carlos Vinolo (cvinolo) wrote :

Hello Fabounet,

I built the latest version and works fine now. The fix looks neat.

Thank you!

Carlos

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.