Dock hides unneccessarily on 2-monitor system

Bug #1404485 reported by Steve Graham
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo-Dock Core
Invalid
Undecided
Unassigned

Bug Description

On upgrading to cairo-dock 3.4.0 (Debian unstable (AMD64) with Openbox) my "Visibility" setting of "Hide the dock whenever it overlaps any windows" seemed not to be working -- the dock would hide even on an empty screen.

It turned out that cairo-dock believes that it overlaps if a window is maximised on the *other* monitor.

If the window is dragged to maximum size, rather than maximised, there is no problem.

Tags: minor
Revision history for this message
Matthieu Baerts (matttbe) wrote :

Hello and thank you for this bug report! (and sorry for the delay)

> It turned out that cairo-dock believes that it overlaps if a window is maximised on the *other* monitor.

Mmh, I see. It's maybe because your WM draws this window 1px on the other desktop. Can you check the position of these maximised windows by using this command:

    $ xwininfo

@fabounet: or maybe the dock should not be hidden if only 1px is visible?

@Steve: how did you install Cairo-Dock? By using our repository? If no, do you also have this bug with it? => http://www.glx-dock.org/ww_page.php?p=From%20the%20repository&lang=en#5-Debian
As workaround, you can select the option to hide the dock when a window is above the dock :)

Revision history for this message
Steve Graham (7-launchpad-annaghvarn-plus-com) wrote :

After a reboot, I can no longer replicate the behaviour. Perhaps it was a glitch in the window manager's idea of where windows were. Maybe.

Changed in cairo-dock-core:
status: New → Invalid
Revision history for this message
Matthieu Baerts (matttbe) wrote :

Thank you! Feel free to reopen this bug report if you still have this problem!

Revision history for this message
Steve Graham (7-launchpad-annaghvarn-plus-com) wrote :

Just for info if anyone finds this by search: I had it happen again, and fixed it by sending a restart to openbox. There must be a bug in openbox (3.5.2) where it loses track of application windows.

An additional symptom is that the Cairo-Dock Switcher, which normally shows a map of each virtual desktop with the icons on the correct sides, was showing all stacked on the left, as if they were all on Monitor 0. Restarting openbox fixed this too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.