← Back to team overview

cairo-dock-team team mailing list archive

[Bug 1391199] Re: Garbage written to main configuration file when overwriting theme file

 

** Changed in: cairo-dock-core
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Cairo-
Dock Devs, which is subscribed to Cairo-Dock Core.
https://bugs.launchpad.net/bugs/1391199

Title:
  Garbage written to main configuration file when overwriting theme file

Status in Cairo-Dock : Core:
  Incomplete

Bug description:
   ============================================================================
          Cairo-Dock version : 3.4.0
          Compiled date      : Oct 17 2014 09:05:35
          Built with GTK     : 3.14
          Running with OpenGL: 1
   ============================================================================

  This bug has been discovered when using KDE 4.14.2.

  I am seeing an issue where overwriting an existing theme is causing
  garbage to be written to the main dock configuration file. This
  appears to occur with all types of themes. It looks like some form of
  memory corruption.

  == STEPS TO REPRODUCE ==

  1. Modify the existing theme and save the theme to a new name e.g. foo
  2. Change the theme again by adding or removing a component and save the theme by the same name i.e. foo

  Any attempt to apply this theme will cause the dock to disappear owing
  to a corruption of cairo-dock.conf.

  The corruption differs each time (sometimes extra characters are
  dumped at the end of the file) but causes the key file to become
  invalid. For example, when using the default theme, the overwrite
  causes the following corruption in cairo-dock.conf:

  #P+ Text font:
  font=Normal
  e

  As you can see an <e> character has been written to the file.

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


References