<html>
    <head>
      <base href="https://bugzilla.rosalinux.ru/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Platform</th>
          <td>2021.1
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - The two-monitor configuration has problem on Plasma 5"
   href="https://bugzilla.rosalinux.ru/show_bug.cgi?id=11603">11603</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>The two-monitor configuration has problem on Plasma 5
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>ROSA-based products
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>ROSA Fresh
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Plasma5
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>CONFIRMED
          </td>
        </tr>

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

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Packages from Main
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>bugs&#64;lists.rosalinux.ru
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ilfatgap&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>bugs&#64;lists.rosalinux.ru
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Имеется ноутбук с подключенным по HDMI дополнительным монитором.
После установки в настройках Плазмы дополнительного монитора как основного, 
как и ожидается док панель перемещается на него, но если перезайти в Плазму
панель оказывается на мониторе ноутбука, хотя основным все еще является 
дополнительный монитор. 

Проблему пока решил скриптом, который перезапускает plasmashell через 3 секунды
после входа в Плазму при наличии подключенного монитора.

sleep 3
xrandr --listactivemonitors | grep -q HDMI &amp;&amp; plasmashell --replace</pre>
        </div>
      </p>


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

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