Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation Unity in 14.04 has UI scaling that can cause Cairo-dock to always load off screen and be unusable
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
Unity in 14.04 has UI scaling that can cause Cairo-dock to always load off screen and be unusable
Splaktar English 15 Tarrant651 [Read]
17 November 2017 à 11:00

Splaktar, Tuesday 20 May 2014 à 19:49 | Quote


Subscription date : 02 May 2014
Messages : 6
The closest related thread had to do with Fedora 20 when they did UI scaling (http://www.glx-dock.org/bg_topic.php?t=7396).
The closest wiki post is about using Unity and Cairo-dock together (http://www.glx-dock.org/ww_page.php?p=Cairo-Dock%20and%20Unity&lang=en) but it does not handle this case.

Cairo-dock 3.3.2, Ubuntu 14.04, OpenGL on, Compiz, and Unity are in use.

If I leave my scaling at 1, Cairo-dock seems to work. But I need to use a scaling of 2 to make things usable on this high res display.
The steps to do that are to open up System Settings->Displays. Then change 'Scale for menu and title bars' from 1 to 2 and Apply.

This causes Cairo-dock to be scaled off of the bottom of the desktop. If you launch Cairo-dock with this setting already enabled, it appears that nothing happens. But Cairo-dock is indeed running, just invisibly off screen.

Obviously this is very frustrating and most people wouldn't be able to track down the reason for it 'just not working'.

I'd love to see a fix for this since I won't be able to use Cairo-dock on this machine until there is a fix since the scaling is critical for me.

matttbe, Thursday 12 June 2014 à 01:22 | Quote


Subscription date : 24 January 2009
Messages : 12573
Hello and thank you for this bug report! (and sorry for the delay!)

I was able to reproduce this bug with this command:
gsettings set org.gnome.desktop.interface scaling-factor 2
and to revert back
gsettings set org.gnome.desktop.interface scaling-factor 0


But the X11 server doesn't notify the dock that the resolution (or something else) has changed because the resolution has not changed. It seems that just the DPI of the fonts has changed but it should not be a problem for the dock...
If I try this command when using Compiz, some Compiz effects are broken... (switching between windows/workspaces). Maybe it only works when using an high res display.
I don't think this bug is due to the dock but we will try to recheck again to see what's wrong!

Guest, Thursday 12 June 2014 à 04:30 | Quote

Thank you very much for the reply. The issues occurs on my Chromebook Pixel with a 2560 x 1700 resolution, so the scaling is really important.

My desktop still works fine, but I keep that at a scaling factory of 1 since it is currently only 1680 x 1050.

Thank you for looking into this!

Splaktar, Thursday 12 June 2014 à 04:31 | Quote


Subscription date : 02 May 2014
Messages : 6
Sorry about the Guest post, thought that I was still logged in.

matttbe, Thursday 12 June 2014 à 16:08 | Quote


Subscription date : 24 January 2009
Messages : 12573
Is it maybe possible to launch the dock with debug informations and report here all new messages you'll have when switching to a bigger scaling factor?
cairo-dock -l debug


And is it also possible to get all new X events that you'll have during this change?
xev -root

Guest, Monday 13 October 2014 à 18:24 | Quote

!!! You're not logged in with a registered user and then when you'll not receive notifications when a new answer is available.

Don't forget the Anti-spam filter !!!

matttbe, Sunday 09 November 2014 à 17:00 | Quote


Subscription date : 24 January 2009
Messages : 12573
Any news about that?

AthanasiusOfAlex, Friday 05 December 2014 à 15:35 | Quote


Subscription date : 10 August 2013
Messages : 1
matttbe :
Any news about that?


I have nearly the identical issue. I am using a MacBook Pro with a screen resolution of 2560x1600 pixels. CairoDock works perfectly as long as I set the scaling factor to 1:

gsettings set org.gnome.desktop.interface scaling-factor 1


However, when I set it back to the default (2), the toolbars are always off the screen:

gsettings set org.gnome.desktop.interface scaling-factor 2


Here are the messages I get when using "cairo-dock -l debug.":

message : (/tmp/buildd/cairo-dock-plug-ins-3.4.0/switcher/src/applet-draw.c:cd_switcher_draw_main_icon:447)
cd_switcher_draw_main_icon (1)
debug : (/tmp/buildd/cairo-dock-3.4.0/src/implementations/cairo-dock-X-utilities.c:cairo_dock_update_screen_geometry:327)
>>>>> screen resolution: 2560x1600 -> 2560x1600
debug : (/tmp/buildd/cairo-dock-3.4.0/src/implementations/cairo-dock-X-utilities.c:_get_screens_geometry:210)
Using Xrandr to determine the screen's position and size ...
debug : (/tmp/buildd/cairo-dock-3.4.0/src/implementations/cairo-dock-X-utilities.c:_get_screens_geometry:215)
number of screen(s): 3
message : (/tmp/buildd/cairo-dock-3.4.0/src/implementations/cairo-dock-X-utilities.c:_get_screens_geometry:239)
* screen 0(0) => (0;0) 2560x1600
debug : (/tmp/buildd/cairo-dock-3.4.0/src/implementations/cairo-dock-X-utilities.c:_get_screens_geometry:229)
This screen (1) has a null dimensions, skip it.
debug : (/tmp/buildd/cairo-dock-3.4.0/src/implementations/cairo-dock-X-utilities.c:_get_screens_geometry:229)
This screen (2) has a null dimensions, skip it.
debug : (/tmp/buildd/cairo-dock-3.4.0/src/implementations/cairo-dock-X-utilities.c:cairo_dock_get_nb_viewports:501)
pVirtualScreenSizeBuffer : 2560x1600 ; screen : 2560x1600
debug : (/tmp/buildd/cairo-dock-3.4.0/src/gldit/cairo-dock-desklet-factory.c:gldi_desklet_set_accessibility:1107)
gldi_desklet_set_accessibility (1)
debug : (/tmp/buildd/cairo-dock-plug-ins-3.4.0/switcher/src/applet-desktops.c:cd_switcher_compute_coordinates_from_desktop:150)
(0;0;0) -> 0 -> (0;0)
debug : (/tmp/buildd/cairo-dock-plug-ins-3.4.0/switcher/src/applet-desktops.c:cd_switcher_get_current_desktop:41)
desktop: 2;1;1, 0x0
debug : (/tmp/buildd/cairo-dock-3.4.0/src/gldit/cairo-dock-applet-facility.c:cairo_dock_remove_all_icons_from_applet:413)
cairo_dock_remove_all_icons_from_applet (switcher)
debug : (/tmp/buildd/cairo-dock-3.4.0/src/implementations/cairo-dock-X-utilities.c:cairo_dock_get_window_background_pixmap:626)
=> rootmapid : 0
_get_desktop_bg_surface: assertion 'iRootPixmapID != 0' failed
warning : (/tmp/buildd/cairo-dock-plug-ins-3.4.0/switcher/src/applet-load-icons.c:cd_switcher_load_desktop_bg_map_surface:197)
couldn't get the wallpaper
debug : (/tmp/buildd/cairo-dock-plug-ins-3.4.0/switcher/src/applet-load-icons.c:cd_switcher_load_default_map_surface:240)
cd_switcher_load_default_map_surface (48x32)
message : (/tmp/buildd/cairo-dock-3.4.0/src/gldit/cairo-dock-backends-manager.c:cairo_dock_set_desklet_renderer_by_name:330)
cairo_dock_set_desklet_renderer_by_name (Simple)
message : (/tmp/buildd/cairo-dock-plug-ins-3.4.0/switcher/src/applet-draw.c:cd_switcher_draw_main_icon:447)
cd_switcher_draw_main_icon (1)
debug : (/tmp/buildd/cairo-dock-3.4.0/src/gldit/cairo-dock-desklet-factory.c:_cairo_dock_write_desklet_position:202)
-1; 0; 736
message : (/tmp/buildd/cairo-dock-3.4.0/src/gldit/cairo-dock-keyfile-utilities.c:cairo_dock_update_keyfile_va_args:404)
cairo_dock_update_keyfile_va_args (/home/lmelahn/.config/cairo-dock/current_theme/plug-ins/switcher/switcher.conf)
debug : (/tmp/buildd/cairo-dock-3.4.0/src/gldit/cairo-dock-keyfile-utilities.c:cairo_dock_write_keys_to_file:44)
cairo_dock_write_keys_to_file (/home/lmelahn/.config/cairo-dock/current_theme/plug-ins/switcher/switcher.conf)


Likewise, here are the messages I get when using "xev -root":


PropertyNotify event, serial 18, synthetic NO, window 0xb0,
atom 0x17 (RESOURCE_MANAGER), time 2032618, state PropertyNewValue

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x1a00f5e, (-200,-200), width 20, height 20,
border_width 0, above 0x1a0000a, override YES

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x1a01658, (606,666), width 296, height 204,
border_width 0, above 0x120014c, override YES

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x2400001, (10,10), width 20, height 20,
border_width 0, above 0x2000001, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x1800001, (20,20), width 20, height 20,
border_width 0, above 0x1200025, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x1600001, (20,20), width 20, height 20,
border_width 0, above 0x1200015, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x1a00001, (20,20), width 20, height 20,
border_width 0, above 0x1800001, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x1a00004, (0,49), width 2560, height 800,
border_width 0, above 0x260000f, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x800001, (10,10), width 20, height 20,
border_width 0, above 0x400001, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x2600001, (10,10), width 20, height 20,
border_width 0, above 0x2400001, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x2600004, (0,0), width 510, height 3200,
border_width 0, above 0x2600009, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x260000b, (0,736), width 192, height 128,
border_width 0, above 0x2600004, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x260000f, (0,0), width 2, height 2,
border_width 0, above 0x260000b, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x2000001, (10,10), width 20, height 20,
border_width 0, above 0x2e0a71f, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x1400001, (20,20), width 20, height 20,
border_width 0, above 0x1200012, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x1a00004, (0,25), width 2560, height 800,
border_width 0, above 0x260000f, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x120014c, (0,49), width 2560, height 1551,
border_width 0, above 0x2e0d523, override NO

ConfigureNotify event, serial 19, synthetic NO, window 0xb0,
event 0xb0, window 0x1a00004, (0,49), width 2560, height 800,
border_width 0, above 0x260000f, override NO

PropertyNotify event, serial 19, synthetic NO, window 0xb0,
atom 0x1b6 (_NET_WORKAREA), time 2032775, state PropertyNewValue

ClientMessage event, serial 20, synthetic YES, window 0x260000b,
message_type 0x144 (_NET_WM_STATE), format 32

ClientMessage event, serial 20, synthetic YES, window 0x260000b,
message_type 0x13e (_NET_WM_DESKTOP), format 32

ClientMessage event, serial 20, synthetic YES, window 0x260000b,
message_type 0x144 (_NET_WM_STATE), format 32

ClientMessage event, serial 20, synthetic YES, window 0x260000b,
message_type 0x144 (_NET_WM_STATE), format 32

ClientMessage event, serial 20, synthetic YES, window 0x260000b,
message_type 0x144 (_NET_WM_STATE), format 32

ConfigureNotify event, serial 21, synthetic NO, window 0xb0,
event 0xb0, window 0x260000b, (0,1472), width 192, height 128,
border_width 0, above 0x2600004, override NO

PropertyNotify event, serial 21, synthetic NO, window 0xb0,
atom 0x1b1 (_NET_CLIENT_LIST), time 2032778, state PropertyNewValue

PropertyNotify event, serial 21, synthetic NO, window 0xb0,
atom 0x1b2 (_NET_CLIENT_LIST_STACKING), time 2032778, state PropertyNewValue

PropertyNotify event, serial 21, synthetic NO, window 0xb0,
atom 0x1b1 (_NET_CLIENT_LIST), time 2032778, state PropertyNewValue

PropertyNotify event, serial 21, synthetic NO, window 0xb0,
atom 0x1b2 (_NET_CLIENT_LIST_STACKING), time 2032778, state PropertyNewValue

PropertyNotify event, serial 21, synthetic NO, window 0xb0,
atom 0x1b1 (_NET_CLIENT_LIST), time 2032778, state PropertyNewValue

PropertyNotify event, serial 21, synthetic NO, window 0xb0,
atom 0x1b2 (_NET_CLIENT_LIST_STACKING), time 2032778, state PropertyNewValue

Guest, Tuesday 30 December 2014 à 00:25 | Quote

I've installed Ubuntu 14.10 on a Samsung Ativ laptop w/3200x1800 resolution and have the same issue. Cairo dock works fine until I change the "scale for menu and title bars" to a larger value than 1. Then, any dock set to display on the bottom is now off the screen. If I choose to put it on the left it will display but the bottom portion of it is cut off. Hoping a fix can be made soon, otherwise LOVE cairo dock!

YanK, Thursday 21 January 2016 à 16:24 | Quote


Subscription date : 14 January 2016
Messages : 2
Same issue.

Splaktar, Wednesday 27 January 2016 à 17:16 | Quote


Subscription date : 02 May 2014
Messages : 6
I'm seeing this on a new Dell 5510 with Ubuntu Gnome. Dock is not visible with scaling factor of 2. Sometimes if I set the dock to appear at the top, it will be visible, but the mouse position seems to be off by about 50% of the screen size. I'm surprised that there don't appear to be more people running into this issue. I've searched all around and can't seem to find much discussion or any suggested solutions to work with scaling.

AthanasiusOfAlex provided the requested logs, is anything more needed to have this looked at?

I really like this dock and want to continue using it, but I can't really run in scaling of 1 on a 4k laptop display.

Guest, Saturday 02 July 2016 à 18:31 | Quote

Is there any news about this problem? i bought a new GPU so i can use the whole Resolution of my 4k TV and now im not able to use cairo Dock anymore

Guest, Monday 14 November 2016 à 13:43 | Quote

Same problem on Dell XPS 15 with Ubuntu 16.04

Guest, Monday 23 October 2017 à 11:18 | Quote

Never takes place but we should be entirely dreamleaguesoccers Indicator leading superstar players.


Tarrant651, Friday 17 November 2017 à 11:00 | Quote


Subscription date : 17 November 2017
Messages : 2
leading ratings. Inspiration to utilize the video game is high    sumdoglogin    proceed playing the video game either in the class or in their very own time.    

Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
Unity in 14.04 has UI scaling that can cause Cairo-dock to always load off screen and be unusable
Splaktar English 15 Tarrant651 [Read]
17 November 2017 à 11:00

Post a message

Anti-spam filter 1 (*) times (*) 2 =
            
Did you know ? The RSS tag can display the last 5 articles of a feed : [rss]http://...[/rss]


Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation Unity in 14.04 has UI scaling that can cause Cairo-dock to always load off screen and be unusable Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.