<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xdg-mime defualt is inconsistent with xdg-open"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99106#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xdg-mime defualt is inconsistent with xdg-open"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99106">bug 99106</a>
              from <span class="vcard"><a class="email" href="mailto:layus.on@gmail.com" title="layus <layus.on@gmail.com>"> <span class="fn">layus</span></a>
</span></b>
        <pre>It is even worse than that. reading and setting values does not occur in the
same file:

$ XDG_UTILS_DEBUG_LEVEL=3 xdg-mime query default text/html
Checking /home/gmaudoux/.config/mimeapps.list
firefox.desktop

$ XDG_UTILS_DEBUG_LEVEL=3 xdg-mime default chromium-browser.desktop text/html
make_default_kde: No kde runtime detected
make_default_generic chromium-browser.desktop text/html
Updating /home/gmaudoux/.local/share/applications/mimeapps.list

$ XDG_UTILS_DEBUG_LEVEL=3 xdg-mime query default text/html
Checking /home/gmaudoux/.config/mimeapps.list
firefox.desktop</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>