Skip to content

Maximized window covered by panel on multi monitor setup

Submitted by Alois Mahdal

Assigned to Olivier Fourdan @olivier

Link to original bug (#10669)

Description

Created attachment 5347 ~/.config/xfce4

Note: This has been originally reported in Red Hat's tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1051571

Description of problem:

In certain (normal) multi-monitor setup, Maximize window feature fails to work properly on one of monitors. Specifically, the maximized window is partially covered with top (non-hiding) panel.

Version-Release number of selected component (if applicable):

xfwm4-4.10.1-2.fc20.x86_64

How reproducible:

Always.

Steps to Reproduce:

  1. Have

    • two monitors, in my case LVDS1 (laptop's built-in monitor) and a NEC MultiSync E213W connected as HDMI3
    • Fedora workstation with Xfce4 as default
    • arandr installed (to change the monitor layout)
  2. Log in to new user; choose the default panel layout

  3. Create a new panel (panel3) and set it to 100% width

  4. Dock the panel3 to top border of the HDMI3

  5. Start arandr and change monitor superposition so that tha "small" LVDS1 is under the "big" HDMI3. In my case this moves the Xfce panels to the HDMI3. As a side effect this hides the panel3, apparently under the panel1.

  6. Open panel settings, choose panel3 and change output to LVDS1.

  7. Now open a window, say Thunar, move it to LVDS1 and maximize it

Actual results:

Window is partially hidden by the panel3 (depends on panel and decorations size).

Expected results:

Window should maximize with respect to any non-hiding panels and not be covered. This should apply to all monitors, no matter how they are arranged by *randr.

Additional info:

When I open the arandr again and switch the monitors so that the LVDS1 is on top, the problem happens on the HDMI3-bound panel. So it seems to affect:

  • panel bound with monitor that is on the bottom
  • or a docked panel that neighbors with another monitor.

This also affects "Maximize vertically".

I haven't tested the horizontal version of the whole issue (layout side by side, panel docked "between"...).

Attachment 5347, "~/.config/xfce4":
config-xfce4.tar.gz

Version: 4.10.1