Hello, I'm using multiple monitors (3) on several locations and have panels configures in the following way: Panel 0 is the "main" panel with menu, window and action buttons, tray icons. Ouput is set to "Primary", which is always eDP-1 LCD display on ThinkPad T480s. Panels 1-3 have Ouput assigned to different outputs (DP-1, HDMI-1, DP-2). These panels only have Window Buttons configured, showing only applications from these monitors and these outputs are never set as Primary. Each panel should only be visible on certain output. However when I undock laptop or disable additional outputs with xrandr. I see random Panel 1-3 overlayed on top of Panel 0 on Primary eDP-1 output, hiding its content. If I force panel redraw (switch mode from horizontal to vertical and back to horizontal), panel then hides itself either behind Panel 0 (or out of eDP-1). This is quite annoying as I lose menus and action buttons on my primary monitor. Tested with xfce4-panel 4.13.5 and with latest xfce4-panel-git xfce+4.14pre1+36+g306856ca-1 on Arch Linux.
This is a general downside of the whole design/setup of the feature of using fixed outputs for this. The fallback is that when a monitor isn't found that the panel will not be hidden but moved to the remaining monitor/s. So this will lead to confusion. And there is no "stacking order" of panels the user can really easily control, so you get those random things you describe. I think the only way to resolve this for you is to save your layouts with xfce4-panel-profiles and activating them when you need them. I don't think this is really fixable in the current panel (without adding a feature similar to the display layout profiles).
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/238. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev