konqueror info protocol no longer works

Bug #1613851 reported by adam plaice
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
kio-extras (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Running:
16.04.1 LTS

kde-runtime:
  Installed: 4:15.12.3-0ubuntu1

To reproduce:

Enter info:/coreutils/Top into the konqueror URL bar.

Expected result:

Konqueror displays relevant info page.

Actual result:

The following error message is displayed:

"
The requested operation could not be completed

Cannot Initiate the info Protocol

Technical Reason: Unable to Launch Process
..." (attached in full)

This appears to be the same bug as reported upstream here: https://bugs.kde.org/359015

Applying the patch in the above report to /usr/share/kde4/apps/kio_info/kde-info2html seems to fix the problem:

@@ -171,7 +171,7 @@
   next if $looking && !/\* Menu/;
   $looking = 0;
   my @item = &ParseMenuItem($_,'dir');
- if (!defined(@item)) { next }
+ if (!@item) { next }
       my ($MenuLinkTag, $MenuLinkFile, $MenuLinkRef, $MenuLinkText) = @item;
   if ($MenuLinkRef eq $FileName) {
    &Redirect($MenuLinkFile, $MenuLinkTag);
@@ -429,7 +429,7 @@
 sub MenuItem2HTML {
     my ($Line, $BaseInfoFile) = @_;
     my @parse_results = &ParseMenuItem($Line, $BaseInfoFile);
- if (!defined (@parse_results)) { return $Line; }
+ if (!@parse_results) { return $Line; }
     my ($MenuLinkTag, $MenuLinkFile, $MenuLinkRef, $MenuLinkText) = @parse_results;
     #-- produce a HTML line
     return "<tr class=\"infomenutr\"><td class=\"infomenutd\" style=\"width:30%\"><ul><li><a href=\"info:/$MenuLinkFile/$MenuLinkTag\">$MenuLinkRef</a></ul></td><td class=\"infomenutd\">$MenuLinkText";

Note: I've reported this to kde-runtime, because:
dpkg -S /usr/share/kde4/apps/kio_info/kde-info2html
states that kde-runtime is "responsible" for this file.

If I've reported it in the wrong place, I apologise.

Revision history for this message
adam plaice (adam.plaice) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kde-runtime (Ubuntu):
status: New → Confirmed
Revision history for this message
Sergio Callegari (callegar) wrote :

Still seen in ubuntu artful even with the kde backports.

There is no visibile error message with konqueror, but the browser seems to remain stuck in trying to load a page when entering

info:dir

Same goes with falkon (yet I do not know if the kioslaves are expected to work there).

Please consider removing the info ioslave if unmaintained.

affects: kde-runtime (Ubuntu) → kio-extras (Ubuntu)
Norbert (nrbrtx)
tags: added: bionic cosmic xenial
Norbert (nrbrtx)
tags: added: disco
Norbert (nrbrtx)
tags: added: eoan
Norbert (nrbrtx)
tags: removed: cosmic disco eoan
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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