<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 - Windows open in wrong display when used both through ssh and locally by the same user"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=131687">131687</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Windows open in wrong display when used both through ssh and locally by the same user
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>5.1.6.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>UI
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>fabien.perdu@m4x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
If a same user of a given host has a libreoffice window opened via ssh, and
then tries to open another windows locally, then the new window does not open
locally but on the distant display.

Steps to Reproduce:
1. From host2, login via ssh into host1 :
ssh -X user@host1
2. Launch a libreoffice window : lowriter (or localc, or...)
3. Get off your seat, change room, go to host1.
4. Working locally on host1 as the same user, try to launch a libreoffice
window : lowriter (or localc, or...)

Actual Results:
No window opens in host1.
However, if you change seat again and go to host2, your new window is there...

Expected Results:
The new window should open locally


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 5.1.6.2
Build ID: 1:5.1.6~rc2-0ubuntu1~xenial10
CPU Threads: 4; OS Version: Linux 4.15; UI Render: default; 
Locale: fr-FR (en_US.UTF-8); Calc: group</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>