Dock position trouble

Bug #669650 reported by Mattia Tavernini
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cairo-Dock Core
Invalid
Undecided
Unassigned

Bug Description

* Cairo-Dock version: 2.2.1~0alpha1(but I've tried other versions from 2.0.6 and everytime I've this problem)
* Platform: debian sid i386
* DE: Gnome 2.30
* Driver: Intel i915, xserver-xorg-video-intel 2:2.12.0+shadow-2

* In a fresh installation of cairo-dock, without anything saved in ~/.config, the dock not recognize properly the screen border, when started. Left corner position is the only one that goes right, others are really compressed near North-East corner. With or without OpenGL doesn't change this trouble. Tell me if you want more infos, I attach here some picture to show you the situation.

Revision history for this message
Mattia Tavernini (maathias) wrote :
Revision history for this message
Mattia Tavernini (maathias) wrote :
Revision history for this message
Mattia Tavernini (maathias) wrote :
Revision history for this message
Mattia Tavernini (maathias) wrote :
Revision history for this message
Mattia Tavernini (maathias) wrote :
Revision history for this message
Mattia Tavernini (maathias) wrote :
Revision history for this message
Mattia Tavernini (maathias) wrote :
Revision history for this message
Mattia Tavernini (maathias) wrote :
Revision history for this message
Mattia Tavernini (maathias) wrote :
Revision history for this message
Fabounet (fabounet03) wrote : Re: [Cairo-dock-team] [Bug 669650] Re: Dock position trouble

Hi,
thanks for the many screenshots. It looks as if the dock can't get the real
screen size, not sure why.
do you use Compiz or Metacity ? did you try with the other one ?
Also in the dock's config, in "Position", does everything look correct (no
offset) ?

2010/11/1 Mattia Tavernini <email address hidden>

>
> ** Attachment added: "glxinfo"
>
> https://bugs.edge.launchpad.net/cairo-dock-core/+bug/669650/+attachment/1719981/+files/glxinfo.txt
>
> ** Attachment removed: "xsession-errors"
>
> https://bugs.edge.launchpad.net/cairo-dock-core/+bug/669650/+attachment/1719963/+files/xsession-errors
>
> --
> Dock position trouble
> https://bugs.launchpad.net/bugs/669650
> You received this bug notification because you are a member of Cairo-
> Dock Team, which is subscribed to Cairo-Dock Core.
>
> Status in Cairo-Dock : Core: New
>
> Bug description:
> * Cairo-Dock version: 2.2.1~0alpha1(but I've tried other versions from
> 2.0.6 and everytime I've this problem)
> * Platform: debian sid i386
> * DE: Gnome 2.30
> * Driver: Intel i915, xserver-xorg-video-intel 2:2.12.0+shadow-2
>
> * In a fresh installation of cairo-dock, without anything saved in
> ~/.config, the dock not recognize properly the screen border, when started.
> Left corner position is the only one that goes right, others are really
> compressed near North-East corner. With or without OpenGL doesn't change
> this trouble. Tell me if you want more infos, I attach here some picture to
> show you the situation.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Mattia Tavernini (maathias) wrote :

Hi Fab!

I use mutter 2.31 (from experimental): switching to metacity 2.30 and my problem remains the same. In "position" offsets are the default ones, I've tried to change something into them, but there is no way to set the dock better than last screenshots.

I try also to set compiz as WM and in effect borders (and screen size) are properly recognized with it.
Tell me if you want more info!

Revision history for this message
Fabounet (fabounet03) wrote :

thanks for the details.
so it works well with Compiz, but not with Metacity/Mutter ?
could you please do a xwininfo on the dock ? (type xwininfo in a terminal,
and then click on the dock)

also, do you think you could compile the sources ? it's quite easy since we
have a script for that. I'd like you to uncomment the debug prints in the
functions cairo_dock_move_resize_dock, _move_resize_dock and
cairo_dock_get_window_position_at_balance, i nthe file
cairo-dock-core/src/gldit/cairo-dock-dock-facility.c
it would be very helpful I think !

2010/11/3 Mattia Tavernini <email address hidden>

> Hi Fab!
>
> I use mutter 2.31 (from experimental): switching to metacity 2.30 and my
> problem remains the same. In "position" offsets are the default ones,
> I've tried to change something into them, but there is no way to set the
> dock better than last screenshots.
>
> I try also to set compiz as WM and in effect borders (and screen size) are
> properly recognized with it.
> Tell me if you want more info!
>
>
> ** Attachment added: "Compiz screenshot"
>
> https://bugs.edge.launchpad.net/cairo-dock-core/+bug/669650/+attachment/1721844/+files/compiz_cairodock.png
>
> --
> Dock position trouble
> https://bugs.launchpad.net/bugs/669650
> You received this bug notification because you are a member of Cairo-
> Dock Team, which is subscribed to Cairo-Dock Core.
>
> Status in Cairo-Dock : Core: New
>
> Bug description:
> * Cairo-Dock version: 2.2.1~0alpha1(but I've tried other versions from
> 2.0.6 and everytime I've this problem)
> * Platform: debian sid i386
> * DE: Gnome 2.30
> * Driver: Intel i915, xserver-xorg-video-intel 2:2.12.0+shadow-2
>
> * In a fresh installation of cairo-dock, without anything saved in
> ~/.config, the dock not recognize properly the screen border, when started.
> Left corner position is the only one that goes right, others are really
> compressed near North-East corner. With or without OpenGL doesn't change
> this trouble. Tell me if you want more infos, I attach here some picture to
> show you the situation.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Mattia Tavernini (maathias) wrote :

This is the first xwininfo, with dock and plugins from your ppa, working on mutter 2.31 ...

Revision history for this message
Mattia Tavernini (maathias) wrote :

I've modified cairo-dock-dock-facility.c like you asked me (I hope to have do it right) , then started the dock with debug flag ... Here you are.

Revision history for this message
Mattia Tavernini (maathias) wrote :
Revision history for this message
Mattia Tavernini (maathias) wrote :
Revision history for this message
Mattia Tavernini (maathias) wrote :

Forgot to tell you that I've compiled the dock without your script, just with

dpkg-buildpackage -us -uc -b

Revision history for this message
Fabounet (fabounet03) wrote :

thanks a lot !
it seems as if there was a 1 pixel vertical offset, so could you please try
to add in the config a small vertical offset ?
you can try with +2 and with -2 and see if it changes something. Maybe
Metacity can't handle negative coordinates.
also to be sure, could you add the following line in the function
cairo_dock_get_window_position_at_balance after the 2 prints (around line
292):
g_print ("pDock->iGapY = %d\n", pDock->iGapY);

2010/11/4 Mattia Tavernini <email address hidden>

> Forgot to tell you that I've compiled the dock without your script, just
> with
>
> dpkg-buildpackage -us -uc -b
>
> --
> Dock position trouble
> https://bugs.launchpad.net/bugs/669650
> You received this bug notification because you are a member of Cairo-
> Dock Team, which is subscribed to Cairo-Dock Core.
>
> Status in Cairo-Dock : Core: New
>
> Bug description:
> * Cairo-Dock version: 2.2.1~0alpha1(but I've tried other versions from
> 2.0.6 and everytime I've this problem)
> * Platform: debian sid i386
> * DE: Gnome 2.30
> * Driver: Intel i915, xserver-xorg-video-intel 2:2.12.0+shadow-2
>
> * In a fresh installation of cairo-dock, without anything saved in
> ~/.config, the dock not recognize properly the screen border, when started.
> Left corner position is the only one that goes right, others are really
> compressed near North-East corner. With or without OpenGL doesn't change
> this trouble. Tell me if you want more infos, I attach here some picture to
> show you the situation.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Mattia Tavernini (maathias) wrote :

-2 /+2 vertical offsets with mutter/metacity don't change anything... Now xserver-xorg-video-intel has been updated from unstable repos (2:2.13.0-2 ) but nothing new was happened.

I've tried to rebuild cairo-dock with your function added (g_print ("pDock->iGapY = %d\n", pDock->iGapY); @ line 292). Hope this will help you.

Revision history for this message
Mattia Tavernini (maathias) wrote :
Revision history for this message
Fabounet (fabounet03) wrote :

thanks for the debug !
it's definitely weird :-/
maybe a bug in Metacity/Mutter (both actually share the same code), since
there is no problem with Compiz.
what if you try to move the dock manually, with ALT+left-click ?

2010/11/8 Mattia Tavernini <email address hidden>

> -2 /+2 vertical offsets with mutter/metacity don't change anything...
> Now xserver-xorg-video-intel has been updated from unstable repos
> (2:2.13.0-2 ) but nothing new was happened.
>
> I've tried to rebuild cairo-dock with your function added (g_print
> ("pDock->iGapY = %d\n", pDock->iGapY); @ line 292). Hope this will help
> you.
>
> ** Attachment added: "debug.txt"
>
> https://bugs.edge.launchpad.net/cairo-dock-core/+bug/669650/+attachment/1727352/+files/debug.txt
>
> --
> Dock position trouble
> https://bugs.launchpad.net/bugs/669650
> You received this bug notification because you are a member of Cairo-
> Dock Team, which is subscribed to Cairo-Dock Core.
>
> Status in Cairo-Dock : Core: New
>
> Bug description:
> * Cairo-Dock version: 2.2.1~0alpha1(but I've tried other versions from
> 2.0.6 and everytime I've this problem)
> * Platform: debian sid i386
> * DE: Gnome 2.30
> * Driver: Intel i915, xserver-xorg-video-intel 2:2.12.0+shadow-2
>
> * In a fresh installation of cairo-dock, without anything saved in
> ~/.config, the dock not recognize properly the screen border, when started.
> Left corner position is the only one that goes right, others are really
> compressed near North-East corner. With or without OpenGL doesn't change
> this trouble. Tell me if you want more infos, I attach here some picture to
> show you the situation.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Mattia Tavernini (maathias) wrote :

Nothing happens, if I try to move the dock with Alt+LeftClick.

Sad: so I can't use cairo-dock without compiz for now...

Ok, if something changes with mutter/metacity upgrade I'll report it here.

Thank you!

Revision history for this message
Fabounet (fabounet03) wrote :

I think you should report it to the Mutter devs, because obviously something
is different from Compiz, and maybe they can either fix it, or give a
workaround.

2010/11/9 Mattia Tavernini <email address hidden>

> Nothing happens, if I try to move the dock with Alt+LeftClick.
>
> Sad: so I can't use cairo-dock without compiz for now...
>
> Ok, if something changes with mutter/metacity upgrade I'll report it
> here.
>
> Thank you!
>
> --
> Dock position trouble
> https://bugs.launchpad.net/bugs/669650
> You received this bug notification because you are a member of Cairo-
> Dock Team, which is subscribed to Cairo-Dock Core.
>
> Status in Cairo-Dock : Core: New
>
> Bug description:
> * Cairo-Dock version: 2.2.1~0alpha1(but I've tried other versions from
> 2.0.6 and everytime I've this problem)
> * Platform: debian sid i386
> * DE: Gnome 2.30
> * Driver: Intel i915, xserver-xorg-video-intel 2:2.12.0+shadow-2
>
> * In a fresh installation of cairo-dock, without anything saved in
> ~/.config, the dock not recognize properly the screen border, when started.
> Left corner position is the only one that goes right, others are really
> compressed near North-East corner. With or without OpenGL doesn't change
> this trouble. Tell me if you want more infos, I attach here some picture to
> show you the situation.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Mattia Tavernini (maathias) wrote :

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602949

I've seen that also conky suffers the same problem... So it's probably a trouble in WM and not in cairo-dock itself, as you told me.

Revision history for this message
Mattia Tavernini (maathias) wrote :

Ok, I've found what's wrong in my configuration: I had set the
gconf-key

/apps/metacity/general/disable_workarounds

to true. Moving it to false make cairo-dock and others applications work
correctly.

Revision history for this message
Fabounet (fabounet03) wrote :

thanks for sharing the solution, we'll add it to the wiki :-)

2010/11/29 Mattia Tavernini <email address hidden>

> Ok, I've found what's wrong in my configuration: I had set the
> gconf-key
>
> /apps/metacity/general/disable_workarounds
>
> to true. Moving it to false make cairo-dock and others applications work
> correctly.
>
> --
> Dock position trouble
> https://bugs.launchpad.net/bugs/669650
> You received this bug notification because you are a member of Cairo-
> Dock Team, which is subscribed to Cairo-Dock Core.
>
> Status in Cairo-Dock : Core: New
>
> Bug description:
> * Cairo-Dock version: 2.2.1~0alpha1(but I've tried other versions from
> 2.0.6 and everytime I've this problem)
> * Platform: debian sid i386
> * DE: Gnome 2.30
> * Driver: Intel i915, xserver-xorg-video-intel 2:2.12.0+shadow-2
>
> * In a fresh installation of cairo-dock, without anything saved in
> ~/.config, the dock not recognize properly the screen border, when started.
> Left corner position is the only one that goes right, others are really
> compressed near North-East corner. With or without OpenGL doesn't change
> this trouble. Tell me if you want more infos, I attach here some picture to
> show you the situation.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> More help : https://help.launchpad.net/ListHelp
>

Fabounet (fabounet03)
Changed in cairo-dock-core:
status: New → Invalid
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.