← Back to team overview

cairo-dock-team team mailing list archive

[Bug 1296422] Re: não inicializa.

 

@fabounet: sorry, I think I found what was wrong yesterday but I had
problem with my WiFi connexion...

At startup, the Container Manager is registered and the "init" function
is launched even if there is no dock (e.g. when there is a GTK dialogue
at startup to choose if the user wants to use the OpenGL backend or
not). After 4 seconds, "_check_composite_delayed()" is called and if the
screen doesn't have any composite manager, "_enable_fake_transparency()"
is used and this line will crash the dock:

    s_iPrevVisibility = g_pMainDock->iVisibility;

I guess that the init() function should be used after having creating all docks, no need to be connected to the "composited-changed" signal, etc. before that. As an easy fix, if 'g_pMainDock' is NULL when starting "_check_composite_delayed()", this function is delayed again => https://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-core/cairo-dock/revision/1732#src/gldit/cairo-dock-container.c
Or maybe we can add a "reload()" function which will be used after having displayed the GTK dialogue?

What do you think about that? :-)

-- 
You received this bug notification because you are a member of Cairo-
Dock Devs, which is subscribed to cairo-dock in Ubuntu.
https://bugs.launchpad.net/bugs/1296422

Title:
  não inicializa.

Status in Cairo-Dock : Core:
  Fix Committed
Status in “cairo-dock” package in Ubuntu:
  In Progress

Bug description:
  Cairo dock not boot.

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: cairo-dock-core 3.3.99.beta1.1~20140219~bzr1717-0ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-19.39-generic 3.13.6
  Uname: Linux 3.13.0-19-generic i686
  NonfreeKernelModules: wl
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: i386
  CurrentDesktop: LXDE
  Date: Sun Mar 23 18:34:08 2014
  ExecutablePath: /usr/bin/cairo-dock
  InstallationDate: Installed on 2014-02-27 (24 days ago)
  InstallationMedia: Lubuntu 14.04 "Trusty Tahr" - Alpha i386 (20140225)
  ProcCmdline: cairo-dock
  SegvAnalysis: Skipped: missing required field "Disassembly"
  Signal: 11
  SourcePackage: cairo-dock
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip fax floppy fuse lpadmin plugdev sambashare sudo tape vboxusers video

To manage notifications about this bug go to:
https://bugs.launchpad.net/cairo-dock-core/+bug/1296422/+subscriptions