Bug 21781 - LXDE: add application/x-webarchive to the list of MIME types handled by xarchiver in libfm
Summary: LXDE: add application/x-webarchive to the list of MIME types handled by xarch...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2017-09-28 14:45 CEST by Nicolas Salguero
Modified: 2017-10-09 11:51 CEST (History)
2 users (show)

See Also:
Source RPM: libfm-1.2.5-3.1.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Nicolas Salguero 2017-09-28 14:45:23 CEST
Hi,

I found that a .war file is not seen as an archive in pcmanfm because the list of MIME types handled by xarchiver in libfm contains application/x-war but, in Mageia 6, the MIME type used for .war files is application/x-webarchive.

Best regards,

Nico.
Nicolas Salguero 2017-09-28 14:46:41 CEST

Source RPM: (none) => libfm-1.2.5-3.1.mga6.src.rpm
Assignee: bugsquad => nicolas.salguero

Comment 1 Nicolas Salguero 2017-09-28 15:01:22 CEST
Suggested advisory:
========================

The updated packages allow the extraction of a .war file using the context menu (right-click) of pcmanfm.
========================

Updated package in core/updates_testing:
========================
libfm-1.2.5-3.2.mga6
lib(64)fm4-1.2.5-3.2.mga6
lib(64)fm-devel-1.2.5-3.2.mga6
lxshortcut-1.2.5-3.2.mga6

from SRPMS:
libfm-1.2.5-3.2.mga6.src.rpm

Assignee: nicolas.salguero => qa-bugs
Status: NEW => ASSIGNED

Comment 2 Lewis Smith 2017-09-30 20:16:54 CEST
Testing M6/64, LXDE

BEFORE update:
 libfm-1.2.5-3.1.mga6
 lib64fm4-1.2.5-3.1.mga6
 lxshortcut-1.2.5-3.1.mga6
I created a nonsense file named test.war, and tried right-clickng it in PCmanFM.
Problem: the context menu included (apparently correctly):
 Gnome archive manager
 Ark
 Engrampa
 Xarchiver
all of which foundered, reasonably, on trying to open the file.

I shall apply the update & look for a difference. To be sure, logging out/in; hence a separate comment follows.

CC: (none) => lewyssmith

Comment 3 Lewis Smith 2017-09-30 20:27:24 CEST
Testing M6/64, LXDE, continued

AFTER update:
 libfm-1.2.5-3.2.mga6
 lib64fm4-1.2.5-3.2.mga6
 lxshortcut-1.2.5-3.2.mga6
Once again, in PCmanFM, right-clicking the nonsense file test.war showed:
  Gnome archive manager
  Ark
  Engrampa
  Xarchiver

So I am unsure what this update is supposed to correct. I guess I missed something. Asking for feedback.

Keywords: (none) => feedback

Comment 4 Nicolas Salguero 2017-10-02 11:41:48 CEST
(In reply to Lewis Smith from comment #3)
> So I am unsure what this update is supposed to correct. I guess I missed
> something. Asking for feedback.

Before the update, after the list of programs that can be used to open the archive, you have an entry named "Compress".

After the update, that entry is replaced by two entries "Extract to" and "Extract here".
Comment 5 Lewis Smith 2017-10-03 09:31:45 CEST
(In reply to Nicolas Salguero from comment #4)
> Before the update, after the list of programs that can be used to open the
> archive, you have an entry named "Compress".
> 
> After the update, that entry is replaced by two entries "Extract to" and
> "Extract here".
Thank you Nicolas; simple when you know!
Note that you have to log out/in to see the change in either direction.

I downgraded the 3 pkgs back to 1.2.5-3.1 and found in the context menu just as you said:
 Open with...
 Compress
 Cut
Re-upgrading them to 1.2.5-3.2 showed as predicted:
 Open with...
 Extract to...
 Extract here
 Cut

Update good. Advisory done. Validating.

Whiteboard: (none) => MGA6-64-OK
Keywords: feedback => advisory, validated_update
CC: (none) => sysadmin-bugs

Comment 6 Lewis Smith 2017-10-05 09:14:21 CEST
I am UNvalidating this because of an LXDE desktop problem since applying the update. I need to discover whether that problem is due to the update; if not, I will re-validate it.

Keywords: validated_update => (none)

Comment 7 Nicolas Salguero 2017-10-06 09:34:56 CEST
Hi,

Can I help you solve your problem?  I use the new packages and I encountered no issue but maybe I missed something.

Best regards,

Nico.
Comment 8 Lewis Smith 2017-10-08 09:42:31 CEST
Thanks Nicolas for your interest.
I did in fact revert the update, but was not able to get back to my desktop starting point because part of the problem remains. So I am re-validating the update.
As for the desktop problems, I think qa-discuss is a better place to air them; which I will do & hope you see it.

Keywords: (none) => validated_update

Comment 9 Mageia Robot 2017-10-09 11:51:57 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2017-0094.html

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.