Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705324 - www-client/firefox[,-bin]: add pdf to supported MimeTypes in .desktop file
Summary: www-client/firefox[,-bin]: add pdf to supported MimeTypes in .desktop file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-12 23:06 UTC by Pacho Ramos
Modified: 2020-04-01 23:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2020-01-12 23:06:35 UTC
On Linux most PDF viewers are poppler based, we have also mupdf but its interface can be a bit too simple for some users. When some PDF is not properly rendered by PDF, people can be a bit upset after seeing it was ok from firefox or Chrome but, once downloaded, don't.

Firefox can open PDF files simply running "firefox ...pdf", I would then append pdf to the list of MimeTypes for the desktop file to be also offered as an option when people try to open pdf files.

Thanks
Comment 1 Larry the Git Cow gentoo-dev 2020-03-30 11:46:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dd7700f7bc66994a4100b12137379df2c93f732

commit 0dd7700f7bc66994a4100b12137379df2c93f732
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-03-29 01:04:53 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-03-30 11:45:09 +0000

    www-client/firefox-bin: update .desktop file
    
    - Add support for application/pdf mime type
    
    - Add additional actions ("New Window", "New Private Window")
    
    - Add translations
    
    Closes: https://bugs.gentoo.org/705324
    Package-Manager: Portage-2.3.96, Repoman-2.3.22
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 .../firefox-bin/files/firefox-bin-r1.desktop       | 230 +++++++++++++++++++++
 .../firefox-bin/firefox-bin-68.6.0-r1.ebuild       |  16 +-
 www-client/firefox-bin/firefox-bin-74.0-r1.ebuild  |  16 +-
 3 files changed, 252 insertions(+), 10 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=108645f338284b2ab1dc180edcf5697ba28c87c5

commit 108645f338284b2ab1dc180edcf5697ba28c87c5
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-03-29 00:40:06 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-03-30 11:45:09 +0000

    www-client/firefox: update .desktop file
    
    - Add support for application/pdf mime type
    
    - Add additional actions ("New Window", "New Private Window")
    
    - Add translations
    
    Closes: https://bugs.gentoo.org/705324
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/files/icon/firefox-r1.desktop | 230 +++++++++++++++++++++++
 www-client/firefox/firefox-68.6.0-r2.ebuild      |  16 +-
 www-client/firefox/firefox-74.0-r2.ebuild        |  16 +-
 3 files changed, 250 insertions(+), 12 deletions(-)
Comment 2 Pacho Ramos gentoo-dev 2020-04-01 23:30:06 UTC
Thanks!
Comment 3 Jory A. Pratt gentoo-dev 2020-04-01 23:38:10 UTC
(In reply to Larry the Git Cow from comment #1)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=0dd7700f7bc66994a4100b12137379df2c93f732
> 
> commit 0dd7700f7bc66994a4100b12137379df2c93f732
> Author:     Thomas Deutschmann <whissi@gentoo.org>
> AuthorDate: 2020-03-29 01:04:53 +0000
> Commit:     Thomas Deutschmann <whissi@gentoo.org>
> CommitDate: 2020-03-30 11:45:09 +0000
> 
>     www-client/firefox-bin: update .desktop file
>     
>     - Add support for application/pdf mime type
>     
>     - Add additional actions ("New Window", "New Private Window")
>     
>     - Add translations
>     
>     Closes: https://bugs.gentoo.org/705324
>     Package-Manager: Portage-2.3.96, Repoman-2.3.22
>     Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
> 
>  .../firefox-bin/files/firefox-bin-r1.desktop       | 230
> +++++++++++++++++++++
>  .../firefox-bin/firefox-bin-68.6.0-r1.ebuild       |  16 +-
>  www-client/firefox-bin/firefox-bin-74.0-r1.ebuild  |  16 +-
>  3 files changed, 252 insertions(+), 10 deletions(-)
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=108645f338284b2ab1dc180edcf5697ba28c87c5
> 
> commit 108645f338284b2ab1dc180edcf5697ba28c87c5
> Author:     Thomas Deutschmann <whissi@gentoo.org>
> AuthorDate: 2020-03-29 00:40:06 +0000
> Commit:     Thomas Deutschmann <whissi@gentoo.org>
> CommitDate: 2020-03-30 11:45:09 +0000
> 
>     www-client/firefox: update .desktop file
>     
>     - Add support for application/pdf mime type
>     
>     - Add additional actions ("New Window", "New Private Window")
>     
>     - Add translations
>     
>     Closes: https://bugs.gentoo.org/705324
>     Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
> 
>  www-client/firefox/files/icon/firefox-r1.desktop | 230
> +++++++++++++++++++++++
>  www-client/firefox/firefox-68.6.0-r2.ebuild      |  16 +-
>  www-client/firefox/firefox-74.0-r2.ebuild        |  16 +-
>  3 files changed, 250 insertions(+), 12 deletions(-)

This change was so unneeded, firefox/thunderbird all share /etc/mime.types, the change should have been made to app-misc/mime-types