Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: 1-click installation don't work with Brave browser. Is there a problem with openSUSE or the browser?

  1. #1
    Join Date
    Oct 2019
    Location
    Finland
    Posts
    31

    Default 1-click installation don't work with Brave browser. Is there a problem with openSUSE or the browser?

    I'm using Brave browser Version 1.14.84 Chromium: 85.0.4183.121 (Official build) (64-bit)

    Operating System: openSUSE Tumbleweed 20200925
    KDE Plasma Version: 5.19.5
    KDE Frameworks Version: 5.74.0
    Qt Version: 5.15.1
    Kernel Version: 5.8.10-1-default[IMG]file://[/IMG]
    OS Type: 64-bit

    When I try to install any program as a 1-click installation, only the YMP file below opens.
    I would like to know which one is wrong.


    Here's an example of installing the Kate editor (https://software.opensuse.org/package/kate). With Chromium, a 1-click installation works as it should, but with a Brave browser, it doesn't. Only the file below will open and the installation will not begin.

    Code:
    <metapackage xmlns:os="http://opensuse.org/Standards/One_Click_Install" xmlns="http://opensuse.org/Standards/One_Click_Install">
      <group distversion="openSUSE Tumbleweed">
        <repositories>
          <repository recommended="true">
            <name>openSUSE:Factory</name>
            <summary>The next openSUSE distribution</summary>
            <description>Any user who wishes to have the newest packages that include, but are not limited to, the Linux kernel, SAMBA, git, desktops, office applications and many other packages, will want Tumbleweed. Tumbleweed appeals to Power Users, Software Developers and openSUSE Contributors. If you require the latest software stacks and Integrated Development Environment or need a stable platform closest to bleeding edge Linux, Tumbleweed is the best choice for you.
    
    Staging dashboard is located at: https://build.opensuse.org/project/show/openSUSE:Factory
    
    List of known devel projects: https://build.opensuse.org/package/view_file/openSUSE:Factory:Staging/dashboard/devel_projects
    
    Have a look at http://en.opensuse.org/Portal:Factory for more details.</description>
            <url>http://download.opensuse.org/tumbleweed/repo/oss/</url>
          </repository>
        </repositories>
        <software>
          <item>
            <name>kate</name>
            <summary>Advanced Text Editor</summary>
            <description>Kate is an advanced text editor for KDE.</description>
          </item>
        </software>
      </group>
    </metapackage>

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    27,138

    Default Re: 1-click installation don't work with Brave browser. Is there a problem with openSUSE or the brow

    I do not know much about the Brave browser, and I avoid 1-click, but I guess that a browser must have "knowledge" about what to do when it gets a YPM (I do not know the MIME type that defines it) file from a server. Like it knows what to do with e.g. a JPEG file. I assume that Brave does not have this "knowledge" included. The result is a fall-back to Text (unknown type) and it renders thus the text on the page.
    Henk van Velden

  3. #3
    Join Date
    Oct 2019
    Location
    Finland
    Posts
    31

    Default Re: 1-click installation don't work with Brave browser. Is there a problem with openSUSE or the brow

    Thanks a lot for the reply!


    I, too, think the fault is in the Brave browser. I think I’ll modify my question a bit and copy it for the Brave gangs.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    27,138

    Default Re: 1-click installation don't work with Brave browser. Is there a problem with openSUSE or the brow

    Quote Originally Posted by RaijaR View Post
    Thanks a lot for the reply!


    I, too, think the fault is in the Brave browser. I think I’ll modify my question a bit and copy it for the Brave gangs.
    You could try, but I am not sure the will bother for such a special openSUSE oriented feature. I assume (but am not sure) that the YPM support in Firefox and some others is an addition belonging to the openSUSE distribution. But please, these are just vague thoughts and maybe faulty conclusions.
    Henk van Velden

  5. #5
    Join Date
    May 2020
    Posts
    4

    Default Re: 1-click installation don't work with Brave browser. Is there a problem with openSUSE or the brow

    YMP one-click stuff only ever worked for me in Firefox but never did in Chrome or Chromium-based browsers like Brave.
    I never bothered to investigate as there always was an option to download and install with Zypper as I recall.

  6. #6
    Join Date
    Oct 2019
    Location
    Finland
    Posts
    31

    Default Re: 1-click installation don't work with Brave browser. Is there a problem with openSUSE or the brow

    You are right.
    I think I found a file in the Brave browser that defines mime types?


    Code:
    Categories=Network;WebBrowser;
    MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/ftp;x-scheme-handler/http;x-scheme-handler/https;
    Actions=new-window;new-private-window;

    I also found the CAP mime type from page https://nim-lang.org/docs/mimetypes.html


    Code:
    
    ("yml", "text/yaml"), ("ymp", "text/x-suse-ymp"),

    I wonder if I could patch that mime type to that Brave file (I don't remember the file name now, but I can find it )?


    I tested some browers and the result was:
    Firefox: OK
    Chromium: OK
    Vivaldi: OK
    Google-Chrome: NOK
    Opera: NOK

  7. #7
    Join Date
    Oct 2019
    Location
    Finland
    Posts
    31

    Default Re: 1-click installation don't work with Brave browser. Is there a problem with openSUSE or the brow

    Quote Originally Posted by hcvv View Post
    You could try, but I am not sure the will bother for such a special openSUSE oriented feature. I assume (but am not sure) that the YPM support in Firefox and some others is an addition belonging to the openSUSE distribution. But please, these are just vague thoughts and maybe faulty conclusions.
    You are right.
    I think I found a file in the Brave browser that defines mime types?


    Code:
    Categories=Network;WebBrowser;
    MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/ftp;x-scheme-handler/http;x-scheme-handler/https;
    Actions=new-window;new-private-window;

    I also found the CAP mime type from page https://nim-lang.org/docs/mimetypes.html


    Code:
    
    ("yml", "text/yaml"), ("ymp", "text/x-suse-ymp"),

    I wonder if I could patch that mime type to that Brave file (I don't remember the file name now, but I can find it )?


    I tested some browers and the result was:
    Firefox: OK
    Chromium: OK
    Vivaldi: OK
    Google-Chrome: NOK
    Opera: NOK

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,735
    Blog Entries
    2

    Default Re: 1-click installation don't work with Brave browser. Is there a problem with openSUSE or the brow

    One-click installations only work using the openSUSE-branded Firefox (ie from the openSUSE repository),
    It's the only web browser with the YMP MIME type configured.

    Awhile back one Desktop actually didn't install Firefox and instead installed a different web browser as its default.
    After a short discussion in the bugzilla, the decision was to simply add Firefox and not try to add the YMP MIME type to other web browsers.

    Of course, if the maintainers for that web browser decided they wanted to add the MIME type on their own, nothing prevents that...

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  9. #9
    Join Date
    Oct 2019
    Location
    Finland
    Posts
    31

    Default Re: 1-click installation don't work with Brave browser. Is there a problem with openSUSE or the brow


    I am sorry.
    I somehow managed to mess up my message and I couldn’t delete it.

  10. #10
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,735
    Blog Entries
    2

    Default Re: 1-click installation don't work with Brave browser. Is there a problem with openSUSE or the brow

    Quote Originally Posted by RaijaR View Post

    I am sorry.
    I somehow managed to mess up my message and I couldn’t delete it.
    That's OK.
    If you'd like to help modify this package,
    Locate the OBS project (easiest way is probably by software.opensuse.org/search/),
    create an OBS account for yourself,
    Fork the existing project,
    Make your changes and submit to the project maintainers.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •