<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Remove AppMenu export via DBus"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122619">122619</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Remove AppMenu export via DBus
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.3.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>trivial
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>graphics stack
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bjoern.michaelsen@libreoffice.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
LibreOffice tries to export its menues via dbus. This is obsolete as unity and
its HUD is discontinued, and on modern Ubuntu (18.04 LTS), when starting
LibreOffice and running:

 dbus-monitor |grep canonical

shows (among other things):

string "Could not get owner of name 'com.canonical.AppMenu.Registrar': no such
name"

As such this can be removed from the source. A starting point is the define:

 ENABLE_GMENU_INTEGRATION

which can be removed (its not set anymore anyway, it seems). That code enabled
unity menu integration in gtk2.

In gtk3, menu export is enabled by default, but unlikely has any effect as even
on Ubuntu, com.canonical.AppMenu.Registrar is not claimed anymore.

As such the functions found with:

 git grep com.canonical.AppMenu.Registrar

can be removed. While doing this, it should be taken care to also remove all --
now dead -- dependent code.

Steps to Reproduce:
1. Start LibreOffice on latest Ubuntu 18.04

Actual Results:
DBus Menu export isnt used. 

Expected Results:
If DBus Menu export is not used even on Ubuntu, it should be removed from the
code.


Reproducible: Always


User Profile Reset: No



Additional Info:</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>