FFe: Cairo-Dock and its plugins need to be updated to the stable version (mainly 'bug-fix')

Bug #1064130 reported by Matthieu Baerts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cairo-dock (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hello,

The stable version of Cairo-Dock (and its plugins) is now available and should be uploaded to Quantal repositories.
Even if there are a lot of changes (this is why I'm introducing a FFe), this is a 'bug-fix' version.

Changes are big mainly because the translations have been updated and a lot of GCC warnings (from -Wall and -Wextra) have been fixed.
We also need a 'ACK' for the plugins: due to the recent rewrite of indicator-messages, 'Messaging-Menu' has been rewritten too to directly load the .so file. Now it's just easy to add a new indicator applet and this is why 'Printers-Menu' (indicator-printers) and 'Sync-Menu' (indicator-sync) applets have been added just by modifying the name of the .so file.
So this change in 'Messaging-Menu' was needed (and mostly based on the work of Ted Gould with its 'applet-main.c' from 'indicator-applet' project). We added two new applets just because it was really easy to add these applets: just by modified this line: cd_indicator3_load () (which indicator_object_new_from_file () like other 'indicator-applet').

This is the detailed ChangeLog since the last version:
   - Only disable drag'n'drop onto the dock when the dock is completely
      locked, not when the icons position is locked.
   - Prevented quicklists for an icon
      (e.g. used by musicPlayer applet to remove double menu entries)
   - Menu: renamed this title: 'Below *other* windows'
     + fixed a typo (bIsMaximized was checked a bit too late)
   - Man: 'A' ('ask-backend') option was missing and 'i' (indirect) is
      no longer supported + for 'colors', used 'F' instead of 'A' which
      is already used by 'ask-backend'
   - When a label is updated, update the drawing accordingly
   - Dialogs: fixed a crash if the dialog was forced above (GTK3)
   - Advanced GUI: fixed a bug that prevented to edit a 2nd instance of
      an applet
      + renamed 'cairo-dock-gui-main.[ch]' to 'cairo-dock-gui-advanced.[ch]'
   - Don't close the dock if no plug-ins are found, just display the message
   - Menu on appli: put the window actions into a single menu-item, which
      avoid having a crowded menu or another sub-menu
   - Default view: use all the screen space to avoid the jitter of the dock
      when it is resized (although this is mainly a problem in the Window
      Managers, unfortunately very few handle the resizing correctly)
   - Locked dock: prevent any modification when the dock is locked
   - Advanced GUI: fixed a small bug when reloading an applet
   - Application manager: handle the case where there is no dock
      (e.g. for cairo-desklet)
   - when starting in maintenance mode, force the use of the advanced
      configuration (easier to fix problem)
   - Compilation: fixed a lot of warnings during the compilation
      (mostly 'unused-variable' and 'unused-parameters' by using
       G_GNUC_UNUSED) when using -Wall and -Wextra
   - GTK3.4: used GtkGrid instead of GtkTable (now deprecated)
   - Labels in vertical dock:
    + fixed the calculation with a helper
    + terminate with a gradation if the label is too large to be fully drawn
    + fixed a small offset in the position of the X icon geometry
   - Indicators: icons was not visible with the Cairo backend if we wanted to
      have an image as indicator of the active window and if we don't give
      any image
   - Fixed a bug in cairo_dock_create_surface_from_pattern
      (when using a pattern as the background image)
   - Themes: Added write rights in the new theme folder
      (if the user has just changed its current theme)
   - OpenGL backend: fixed a small bug in the drawing of always visible icons
   - Fixed a crash when re-inserting an applet into a dock
   - GUI: fixed 2 bugs in the module widget
   - Taskbar: when placing appli icons after launchers, don't count
      separators as launchers
   - When loading an image based on a pattern, constrain the image height,
      so that it only repeats on its width
   - Taskbar: added back the use of _NET_WM_STATE_DEMANDS_ATTENTION
      (this might be used by Skype and therefore solve the bug LP: #1013635)
   - Menu: Window Actions: drawn: Min - Max - Close instead of
      Max - Min - Close + drawn Min and Max only if the window is not hidden
   - Code cleaning: removed a few useless g_print (or used cd_debug instead)
   - Menu: Custom icon: only display images on the file chooser
   - Menu: Custom Icon: do not display the menu entry if bLockAll is defined
      (if the action is useless) + do not stop the action if bLockIcons
   - Widget Items: the main GtkWindow is needed to build other widgets
   - po: imported translations from Launchpad and Added Lithuanian language
   - Options: AskBackend: show the backend even if we force the use of the
      OpenGL backend
   - Help: Help menu entry: this menu entry no longer worked: used
      cairo_dock_show_items_gui like the Edit menu entry
   - Menu: Help menu entry: if we use the simple mode, switch to the advanced
      mode because the help settings are only available there
   - Some cleaning

And for the plug-ins:
   - All:
    + Graph: iRadius parameter is no longer needed
    + Notifications: removed unused registrations to a few signals
      (on click, on middle click, on build menu, etc.)
    + Code cleaning: removed a few useless g_print (or used cd_debug instead)
    + Code cleaning: fixed a lot of GCC's warnings when using -Wall
    + po: updated the translations
    + po: Added Lithuanian and Hebrew languages
   - Cairo-Penguin: its menu wasn't displayed when clicking on the character
   - Dock-Rendering:
    + Slide view: fixed the arrow color when the sub-dock is on a side of
      the screen
    + Slide view: renamed the files + fixed the position of the sub-dock when
      the parent dock's alignment is not centered
   - Doncky: fixed a lot (and a lot) memory leaks and warnings during the
      compilation
   - GMenu: for those having a big lag when opening the menu for the first
     time: it's now possible to load all icons at startup (hidden option)
   - GVFS:
    + No longer added the home directory when listing vfs-root
    + Fixed a few memory leaks
    + Renamed '/' by 'File System' (name used by other DE)
    + Removed an useless strcmp
   - Indicators:
    + Added support of the new Indicator (3-0.4)
      (needed for the new version of indicator-messaging)
    + Added Printers-Menu and Sync-Menu (they just load the right .so file)
   - Mail:
    + Fixed a few memory leaks and removed useless variables' initialisations
    + Set '/' as a default path if none is defined in conf
   - Messaging-Menu:
    + This applet was broken on Ubuntu Quantal due to the recent changes in
      the messagin-menu deamon. Now we use Indicator-applet3 to manage the
      applet. The code is now shorter, it should be safer and it's no longer
      needed to sync the code between indicator-messages and this
      Messaging-Menu applet
    + Removed the link to ido (it's not needed)
   - musicPlayer:
    + Prevent displaying quicklist, since the applet already provides all the
      common actions for any player
    + mpris2: some players doesn't support (well) the 'trackid'
      (e.g. Audacious or Pithos)
    + cover: used a loop instead of checking all names one by one
   - Powermanager:
    + UPower: displayed the details of all batteries
      (and not only the first one)
      + Connected to 'device-added' and 'device-removed' signals if the user
        adds or removes a battery (and avoid wrong informations)
   - Recent-Events:
    + Dialog: no longer added removed files
    + Dialog: Applications: Used the translated name
    + Recent files: added deleted files to the hashtable to prevent useless
      g_file_test
   - Shortcuts:
    + Bookmarks: moved Home to the bookmarks list (like most files managers)
    + Added the disk space progress bar on the Home folder, since /home is
      not listed by gvfs except if /home is on another partition
   - showDesktop:
    + Checked the XRandr version with the core function to avoid crash
      if XRandr 1.2 is not available
   - Stack:
    + Used 'g_uri_unescape_string' instead of 'g_filename_from_uri' to
      support all uri an not only 'file://'
   - Status-Notifier: if the item doesn't have info for the title, the ID is
     shown but this string is cut (12 chars)
   - Switcher: changed the 'render' notification order to draw the desklet
     after the desklet manager

The new version is ready to be uploaded on Ubuntu repos ;)
Thank you for your help!

PS: sorry to propose this stable version now but it's not easy to fix all new bugs introduced just before the FF :) (most of the work after the FF have been done by only 2 devs which are not full-time paid for that ;) )

Revision history for this message
Matthieu Baerts (matttbe) wrote :

Note that we can easily install the new version by adding this ppa:matttbe/experimental

https://launchpad.net/~matttbe/+archive/experimental/+packages

Revision history for this message
Iain Lane (laney) wrote :

OK, this seems like something we want in the distro. Please go ahead.

And your apology is noted, but please note my request to leave slighty more time in future if possible - we are only 9 days from release now, leaving very little scope to fix further bugs without needing to use SRUs! Nevertheless your attention to Ubuntu is appreciated, so thanks for that. :-)

Changed in cairo-dock (Ubuntu):
status: New → Triaged
Revision history for this message
Matthieu Baerts (matttbe) wrote :

@laney: Many thanks for this quick answer! :)

> but please note my request to leave slighty more time in future if possible
Yes, this is also what we wanted and we tried to do that changes as quick as possible! :)

Revision history for this message
Iain Lane (laney) wrote :

I'm going to accept with a small note that you don't need to use Ubuntu versions in your dependencies if you don't need changes specific to the package. >= 3.1.0 would probably have been fine for most of the changed deps here, and would allow other distros (and backports [backports revisions will not be satisfied by this relation]) to work smoother.

Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.7 KiB)

This bug was fixed in the package cairo-dock - 3.1.0-0ubuntu1

---------------
cairo-dock (3.1.0-0ubuntu1) quantal; urgency=low

  * New upstream release. (LP: #1064130)
   - Even if there are a lot of changes, this is a 'bug-fix' version.
     Changes are big mainly because the translations have been updated and
     a lot of GCC warnings (from -Wall and -Wextra) have been fixed.
  * Upstream ChangeLog (detailed changes since the last version):
   - Only disable drag'n'drop onto the dock when the dock is completely
      locked, not when the icons position is locked.
   - Prevented quicklists for an icon
      (e.g. used by musicPlayer applet to remove double menu entries)
   - Menu: renamed this title: 'Below *other* windows'
     + fixed a typo (bIsMaximized was checked a bit too late)
   - Man: 'A' ('ask-backend') option was missing and 'i' (indirect) is
      no longer supported + for 'colors', used 'F' instead of 'A' which
      is already used by 'ask-backend'
   - When a label is updated, update the drawing accordingly
   - Dialogs: fixed a crash if the dialog was forced above (GTK3)
   - Advanced GUI: fixed a bug that prevented to edit a 2nd instance of
      an applet
      + renamed 'cairo-dock-gui-main.[ch]' to 'cairo-dock-gui-advanced.[ch]'
   - Don't close the dock if no plug-ins are found, just display the message
   - Menu on appli: put the window actions into a single menu-item, which
      avoid having a crowded menu or another sub-menu
   - Default view: use all the screen space to avoid the jitter of the dock
      when it is resized (although this is mainly a problem in the Window
      Managers, unfortunately very few handle the resizing correctly)
   - Locked dock: prevent any modification when the dock is locked
   - Advanced GUI: fixed a small bug when reloading an applet
   - Application manager: handle the case where there is no dock
      (e.g. for cairo-desklet)
   - when starting in maintenance mode, force the use of the advanced
      configuration (easier to fix problem)
   - Compilation: fixed a lot of warnings during the compilation
      (mostly 'unused-variable' and 'unused-parameters' by using
       G_GNUC_UNUSED) when using -Wall and -Wextra
   - GTK3.4: used GtkGrid instead of GtkTable (now deprecated)
   - Labels in vertical dock:
    + fixed the calculation with a helper
    + terminate with a gradation if the label is too large to be fully drawn
    + fixed a small offset in the position of the X icon geometry
   - Indicators: icons was not visible with the Cairo backend if we wanted to
      have an image as indicator of the active window and if we don't give
      any image
   - Fixed a bug in cairo_dock_create_surface_from_pattern
      (when using a pattern as the background image)
   - Themes: Added write rights in the new theme folder
      (if the user has just changed its current theme)
   - OpenGL backend: fixed a small bug in the drawing of always visible icons
   - Fixed a crash when re-inserting an applet into a dock
   - GUI: fixed 2 bugs in the module widget
   - Taskbar: when placing appli icons after launchers, don't count
      separators as launchers
   - When loading an image based...

Read more...

Changed in cairo-dock (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Matthieu Baerts (matttbe) wrote :

@laney: Thank you for this comment :)
I'm going to upload a new version to fix this problem!

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.