Bug 376272

Summary: Default browser for XML files is useless
Product: [Applications] krusader Reporter: David Pérez <david.perez.ingeniero>
Component: krviewerAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: REPORTED ---    
Severity: normal CC: davide, krusader-bugs-null, toni.asensi
Priority: NOR    
Version First Reported In: 2.5.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Content shown by the default browser (empty content)
The text browser really shows the interesting content
Sample XML file
XML in viewer
A screenshot using Kubuntu 18.04, its Spanish language (what probably David Pérez is using) and the latest git version of Krusader

Description David Pérez 2017-02-10 08:35:15 UTC
Created attachment 103943 [details]
Content shown by the default browser (empty content)

By default when pressing F3 for an .xml file, no useful content is shown.
I think it tries to render the file as HTML.
Comment 1 David Pérez 2017-02-10 08:35:44 UTC
Created attachment 103944 [details]
The text browser really shows the interesting content
Comment 2 Davide Gianforte 2019-09-13 08:41:34 UTC
Can you try on a newer version of Krusader? (2.7.x)
Comment 3 David Pérez 2019-09-13 08:45:16 UTC
Tried with Krusader 2.7.2 and KDE Neon, and the result is that I have to edit the file in order to see its contents.

I attach a sample XML....
Comment 4 David Pérez 2019-09-13 08:46:37 UTC
Created attachment 122638 [details]
Sample XML file
Comment 5 David Pérez 2019-09-13 08:47:35 UTC
With attached XML file, I see a blank contents when viewing the file.
Comment 6 Davide Gianforte 2019-09-13 11:23:03 UTC
Created attachment 122642 [details]
XML in viewer

This is your file as seen by Krusader; there is something in you package situation, I had it too but after some update seems to be gone.

My actual setup is :

Operating System: Slackware 14.2
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0

KDE was compiled by AlienBOB, I have to check my own compile and KDE Neon.
Comment 7 David Pérez 2019-09-13 12:12:00 UTC
Comment on attachment 122642 [details]
XML in viewer

I'm using KDE Plasma 5.16.5, latest KDE Neon based on Ubuntu 18.04 LTS.
Comment 8 David Pérez 2019-09-13 12:13:17 UTC
Also KDE Frameworks Version: 5.61.0, Qt 5.12.3, Kernel 5.0.0-27generic
Comment 9 Toni Asensi Esteve 2019-09-15 16:17:34 UTC
I confirm what Davide wrote. It works for me using Kubuntu 18.04, its Spanish language (what probably David Pérez is using) and the latest git version of Krusader. I will attach a screenshot.
Comment 10 Toni Asensi Esteve 2019-09-15 16:19:46 UTC
Created attachment 122671 [details]
A screenshot using Kubuntu 18.04, its Spanish language (what probably David Pérez is using) and the latest git version of Krusader
Comment 11 Toni Asensi Esteve 2019-09-15 16:20:11 UTC
David, can you follow the "compile Krusader from source" instructions:
   https://cgit.kde.org/krusader.git/tree/INSTALL
and try it again?
Comment 12 Bug Janitor Service 2019-09-30 04:33:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Davide Gianforte 2019-09-30 05:57:35 UTC
Changing status