Announcement

Collapse
No announcement yet.

anoying fixable bug in Foxit Reader for Linux

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bug anoying fixable bug in Foxit Reader for Linux

    there is a small but extremely annoying bug in the Foxit Reader for Linux
    the file mimeapps.list that the Foxit installer creates reads
    [Default Applications]
    application/ppdf=FoxitReader.desktop
    application/x-pdf=FoxitReader.desktop
    application/pdf=FoxitReader.deskto
    application/octet-stream=FoxitReader.desktop
    the last line associates Foxit Reader with every file type imaginable, if a file type does not have an application associated it opens with Foxit, Foxit reader can only open pdf files there is no need for this line, I have no idea why you included this can you please fix the installer so that mimeapps.list reads
    Code:
    [Default Applications]
    application/ppdf=FoxitReader.desktop
    application/x-pdf=FoxitReader.desktop
    application/pdf=FoxitReader.desktop
    ps. while I'm here I'd like to as for an rpm build (rpm is part of the posix standard deb is not and debianers can always use alien) so that we can use installed Qt libraries and dramatically reduce the file size and awoid the use of old Qt (my system has Qt 5.7.1 Foxit installs Qt 5.3.2)

    ps.ps Tanks for a great product for us Linux users, we finally have a pdf reader that supports interactive pdf's and pdf form filling
    Last edited by ianas; 09-12-2016, 05:18 PM. Reason: spelling

  • #2
    ianas

    Could you please let ms know how you check the file mimeapps.list info in Linux so I could better forward the issue to our QA engineer for processing? Thank you.

    Comment


    • #3
      Originally posted by cherry View Post
      ianas

      Could you please let ms know how you check the file mimeapps.list info in Linux so I could better forward the issue to our QA engineer for processing? Thank you.
      I installed the reader as ordinary user in ~/opt/foxitsoftware/foxitreader/, after that I found that all file types open with foxit reader even applications, in Dolphin I went searching for a new config file I found
      ~/.config/mimeapps.list
      (~ represents the $HOME directory ie. /home/<me>)
      with the above content, for example clicking on a bash file in a file manager (dolphin) opens it with foxit that should not happen, foxit should not associate it self with text files or images,
      using the line
      application/octet-stream=FoxitReader.desktop
      is bad practice, the fix is removing the last line and refreshing the mime cache, I think your installer creates that file and the fix should be simple enough.

      Comment


      • #4
        a picture is worth a thousand words
        after installing Foxit Reader the mimeapps.list file is

        and Foxit sets it self as the default application for unsigned file types

        Comment


        • #5
          I had a gut feeling that the bug was someplace else so I did a bit of searching and it turns out the bug is in the *.desktop file (the shortcut)
          your FoxitReader.desktop reads
          Code:
          [Desktop Entry]
          Name=Foxit Reader
          Comment=View pdf documents
          Keywords=pdf;octet-stream;
          StartupNotify=true
          Terminal=false
          Type=Application
          Categories=Application;Office;Viewer;X-Red-Hat-Base;
          MimeType=application/pdf;application/octet-stream;
          Icon=FoxitReader
          Exec=/home/<me>/opt/foxitsoftware/foxitreader/FoxitReader.sh %F
          you need to remove application/octet-stream from the MimeType field so that Foxit does not try and fail to open every file, your desktop file needs to be

          Code:
          [Desktop Entry]
          Name=Foxit Reader
          Comment=View pdf documents
          Keywords=pdf;octet-stream;
          StartupNotify=true
          Terminal=false
          Type=Application
          Categories=Application;Office;Viewer;X-Red-Hat-Base;
          MimeType=application/pdf;
          Icon=FoxitReader
          Exec=/home/<me>/opt/foxitsoftware/foxitreader/FoxitReader.sh %F

          ps. the [code] tags don't seam to work above?
          that's a forum bug?
          Last edited by ianas; 09-14-2016, 03:29 AM.

          Comment


          • #6
            ianas

            Thanks for the update. I've forwarded your comments about the Mimetype to our internal bug tracking system for QA team and Dev team's further investigation. Report ID#: 81777. Thank you.

            Comment


            • #7
              come on guys 2 years latter and the desktop file hasn't been updated I really don't think you planed Foxit reader to open executable files (you've associated it with all files)

              the desktop file still hasn't been updated and includes application/octet-stream Foxit Reader does not support application/octet-stream
              in
              Code:
              ~/.local/share/applications/FoxitReader.desktop
              the content is
              Code:
              [Desktop Entry]
              Name=Foxit Reader
              Comment=View pdf documents
              Keywords=pdf;octet-stream;
              StartupNotify=true
              Terminal=false
              Type=Application
              Categories=Application;Office;Viewer;X-Red-Hat-Base;
              MimeType=application/pdf;application/octet-stream;
              Icon=FoxitReader
              Exec=~/opt/foxitsoftware/foxitreader/FoxitReader.sh %F
              please remove application/octet-stream; from MimeType and fix this annoyance as I've accidentally opened unsupported formats several times
              here's a screenshot of the latest version of Foxit Reader for Linux 2.4.1.0609 running under OpenSUSE LEAP 42.3 running Plasma 5.8.7 LTS Desktop

              edit:
              one more thing
              the installer adds
              application/octet-stream=FoxitReader.desktop
              to
              ~/.config/mimeapps.list
              so it reads
              Code:
              [Default Applications]
              application/pdf=FoxitReader.desktop
              application/octet-stream=FoxitReader.desktop
              please please do not make FoxitReader the default application for application/octet-stream FoxitReader does not support application/octet-stream
              Last edited by ianas; 01-10-2018, 11:34 PM.

              Comment


              • #8
                one more thing
                the installer adds
                application/octet-stream=FoxitReader.desktop
                to
                ~/.config/mimeapps.list
                so it reads
                Code:
                [Default Applications]
                application/pdf=FoxitReader.desktop
                application/octet-stream=FoxitReader.desktop
                please please do not make FoxitReader the default application for application/octet-stream FoxitReader does not support application/octet-stream

                Comment


                • #9
                  ianas

                  Sorry for this. I've re-submitted the issue and the new ID#MACLNX-1835. I've sent out a note to corresponding engineer to take a closer look at. Thank you.

                  Comment

                  Working...
                  X