cairo-dock-team team mailing list archive
-
cairo-dock-team team
-
Mailing list archive
-
Message #00916
[Bug 502247] Re: Switcher applet not add the desktop, when desktop is one.
it does work, but it adds a desktop, instead of a viewport.
I guess you're using Compiz, and Compiz uses only 1 desktop with several viewports.
when there is only 1 desktop and 1 viewport, the dock can't guess if it
should add a desktop or a viewport.
so this is not really a bug, but rather a limitation.
since I don't see the point of having 1 desktop/viewport, I think I'll keep the current working ^_^
** Changed in: cairo-dock-core
Status: Confirmed => Invalid
--
Switcher applet not add the desktop, when desktop is one.
https://bugs.launchpad.net/bugs/502247
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: Invalid
Bug description:
hello, there is one bug in cairo-dock-plugins-2.1.1-2 in switcher applet, when remove the last desktop till it get 1 desktop, then it doesn't add a desktop operation. Why so?
void cd_switcher_add_a_desktop (void)
{
cd_switcher_change_nb_desktops (+1);
}
static void cd_switcher_change_nb_desktops (int iDeltaNbDesktops)
{
if (g_iNbDesktops >= g_iNbViewportX * g_iNbViewportY)
{
cairo_dock_set_nb_desktops (g_iNbDesktops + iDeltaNbDesktops);
}
else
{
if (g_iNbViewportX >= g_iNbViewportY)
cairo_dock_set_nb_viewports (g_iNbViewportX + iDeltaNbDesktops, g_iNbViewportY);
else
cairo_dock_set_nb_viewports (g_iNbViewportX, g_iNbViewportY + iDeltaNbDesktops);
}
}
References