Secondary taskbar becomes primary on monitor disconnection

I use an extra monitor with my laptop as secondary. I set my secondary monitor taskbar position to the left and primary monitor taskbar at the bottom; with some other customization. However, when I disconnect my secondary monitor, secondary taskbar becomes the primary.
And when I connect my secondary monitor, it returns as it was.
I want my primary monitor's taskbar to stay as it is, even if i disconnect my secondary. Shouldn't it work this way?

Zorin OS Core - v16.3
Windowing System: Wayland

Moved to General Help. Customization is for getting help about changing the look of your OS.

Sandip are you using Zorin OS Core or Zorin OS Lite?

Zorin OS Core

1 Like

Can you please post the output of

cat ~/.config/monitors.xml

Sure.

<monitors version="2">
  <configuration>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <monitor>
        <monitorspec>
          <connector>DP-2</connector>
          <vendor>SAM</vendor>
          <product>S22C300</product>
          <serial>HMCD500246</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60</rate>
        </mode>
      </monitor>
    </logicalmonitor>
    <logicalmonitor>
      <x>1920</x>
      <y>0</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>eDP-1</connector>
          <vendor>BOE</vendor>
          <product>0x0697</product>
          <serial>0x00000000</serial>
        </monitorspec>
        <mode>
          <width>1366</width>
          <height>768</height>
          <rate>60.011638641357422</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>

Next question, are you logging in on Wayland?
Are you using the Zorin Dash to Dock Gnome Extension? (You can check with Settings > Extensions and see if it is enabled)

Your Secondary Monitor has a different resolution

than your built in Notebook Monitor:

  1. Yes, on Wayland. I checked normal Zorin OS, same issue.
  2. No. Using default Zorin Appearance

Is the issue occurring due to different screen resolutions?

That is part of the complication - Dash To Dock on Wayland can cause this issue and having different resolutions may also cause the bug to appear. Often... in reverse to how you describe it.
You have tried it logged out in Wayland.

I believe the Zorin Dash is default on Core - Can a Core User please correct me if I am wrong?

Zorin dash is default.

This may also be because of the layout. The default layout has the taskbar on the side, if I'm not mistaken. Does changing the layout effect where the taskbar resides both with and without the external monitor?

1 Like