FS#66324 - [riot-desktop] Desktop file lacks mime types

Attached to Project: Community Packages
Opened by Yoann Ono (y0no) - Monday, 20 April 2020, 13:38 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Wednesday, 06 May 2020, 22:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
It seems that the riot scheme handler is not defined for URI like "riot://" and prevent user from login with Single Sign On (SSO).
To fix this issue, it seems that this line can be added to riot.desktop :

MimeType=x-scheme-handler/riot;


Step to reproduce:
Just try to open a link with riot scheme.
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Wednesday, 06 May 2020, 22:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.6.0-1
Comment by Jae Beojkkoch (Jae) - Tuesday, 21 April 2020, 08:36 GMT
Also, the riot.desktop file is also missing a modifier at the end of the 'exec' line (%u), find attached a corrected one.
Comment by Dragomir Cerbero (Cerberooo) - Friday, 24 April 2020, 07:32 GMT
According to https://github.com/vector-im/riot-web/issues/12830#issuecomment-612084394 it's not just the MimeType.

Edit: Btw. it works for me too.
Comment by Jae Beojkkoch (Jae) - Friday, 24 April 2020, 08:18 GMT
Well, the corrected file works well.
I'll try to reproduce and correct with the given method here to see if it still works.
Comment by Yoann Ono (y0no) - Friday, 24 April 2020, 13:39 GMT
The file provided by @Jae works really well and fix this issue :)
Comment by Jae Beojkkoch (Jae) - Saturday, 25 April 2020, 15:23 GMT
After tests, it seems that the given corrections are solving the problem.

Tests done on a VirtualBox virtual machine running the latest revision of Arch.

Another test done on a Thinkpad T430 installed on April 28th 2020: the fix works.

Loading...