[ubuntu-mono] [Bug 579049] Re: Dragging files to folders causes data "corruption"

Launchpad Bug Tracker 579049 at bugs.launchpad.net
Mon Aug 16 05:47:27 BST 2010


This bug was fixed in the package docky - 2.0.5-0ubuntu1

---------------
docky (2.0.5-0ubuntu1) lucid-proposed; urgency=low

  * New upstream release 2.0.5 "Be proud of your dock",
    changes include:
    + remove --debug flag from launcher for lower memory usage
    + update the about dialog credits to list documenters and make translation
      tab easier to read
    + change url in about dialog to the launchpad project page
    + Window-Matching
      - fix for applications commandline
      - properly match qt creator (LP: #594814)
      - prefer local over global launchers (LP: #588073) (LP: #592841)
      - match prefix for gksudo (LP: #516433)
      - fix nautilus items showing active indicator when desktop
        is focused (LP: #487113)
      - fix matching wine apps that use a prefixed launcher (LP: #596092)
    + Memory Leaks
      - dispose of calendar painter when the clock item is disposed
      - fix leak in AutoHideManager
      - several fixes using Cairo.Context.Target and Pango.Layout
      - fix leak in PagingPainters
      - fix leak in recursive file-deletion
      - fix leaking SeparatorItems, WnckDockItems
      - fix leaks with FileEmblems
      - fix Pixbuf related leaks
      - fix some leaks regarding FileMonitors
      - fix leaks regarding Tiles and AbtractTileObjects
      - fix leaking Glib.FileAdapter caused by unreferenced Action in
        FileDockItem
    + Handle invalid desktopfile entry and UriFormatException in
      FileApplicationProvider (LP: #595921)
    + fix potential crash for invalid HelperMetadata
    + handle drops correctly
    + fix handling of Helpers in HelperService
    + make the sliders in preferences behave better
    + fix drawing of rotated items
    + fix HoveredItem click-position
    + avoids fatal errors on console when loading embedded icons when no
      height or width is specified and when dock items have a null Icon
    + fix icon theme change not refreshing the dock icons (LP: #590205)
    + fix SVG rendering bug
    + fix iconsize temporarily getting large when adding to full dock
      (LP: #579576)
    + fix the 'crash in PinToDock' (LP: #588073)
    + make 3d background height more consistent and a tad larger (LP: #503038)
    + fix dragging multiple files to a folder on the dock, which caused
      a crash and data corruption (LP: #579049)
    + don't request animations if urgent state is removed from a window and
      fix glow location (LP: #596422)
    + fix window previews being offset (LP: #495065)
    + fix broken zoom after shrinking icon size (LP: #598924)
    + fix problem with hovers still visible when painters show
    + fix displaying default icon in place of missing file emblem (LP: #534651)
    + fix crash when gconf key for menus_have_icons is not set (LP: #573751)
    + make sure painters fit on screen (LP: #589978)
    + fix icon minimize animations not working immediately for some newly
      opened windows
    + don't dispose our static DockyItem
    + fix CurrentDesktopOnly not working when dragging a window across desktops
      (LP: #600290)
    + GMail:
      - fix thread-guards and remove deprecated code
      - fix problem with feeds that don't have an author entry (LP: #595530)
    + NPR: fix bug where removing your last NPR station unloaded the docklet
      and fix station icon
    + NetworkManager: fix crash caused when NM goes away
      and fix icons and add another fallback icon (LP: #588581)
    + Mounter:
      - fixed some leaks
      - only remove mounted items if they were successfully unmounted
        (LP: #597637)
      - fix duplicate icons showing in mounter (LP: #525306)
    + Weather: fix feels like temp showing incorrect for metric (LP: #597670)
    + RecentDocuments:
      - fixed some leaks
      - fix sensitivity of recent docs clear menu item - even if docky shows
        the list as empty does not mean it cant be cleared
 -- Rico Tzschichholz <ricotz at t-online.de>   Fri, 02 Jul 2010 10:26:00 +0200

** Changed in: docky (Ubuntu Lucid)
       Status: Fix Committed => Fix Released

-- 
Dragging files to folders causes data "corruption"
https://bugs.launchpad.net/bugs/579049
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to docky in ubuntu.

Status in Docky: Fix Released
Status in “docky” package in Ubuntu: Fix Released
Status in “docky” source package in Lucid: Fix Released

Bug description:
If you drag a group of files from the desktop into a folder on Docky, causes very strange behaviour.

For example, if you have 4 files, A, B, C and D, select them all, drag them over a folder and when it says "release to open" drop them to place them in the folder. File D gets moved to the folder but renamed A. libnotify  (the notification app in Ubuntu) says "moving D... 00.0% Complete" and never disappears. No how long you leave it, nothing changes.

This bug could lead to loss of data as if you try to move the file back, it now has the same name as one of the other files!

docky -d:
[Info  00:58:18.676] Docky version: 2.0.2 Release
[Info  00:58:18.688] Kernel version: 2.6.32.22
[Info  00:58:18.689] CLR version: 2.0.50727.1433
[Debug 00:58:19.068] [UserArgs] BufferTime = 0
[Debug 00:58:19.068] [UserArgs] MaxSize = 2147483647
[Debug 00:58:19.068] [UserArgs] NetbookMode = False
[Debug 00:58:19.068] [UserArgs] NoPollCursor = False
[Info  00:58:19.200] [DockController] Setting theme: Classic
[Info  00:58:19.555] [PluginManager] Loaded "Trash".
[Info  00:58:19.580] [PluginManager] Loaded "Docky.Widgets,1.0".
[Info  00:58:19.580] [PluginManager] Loaded "Docky.Widgets,1.0".
[Info  00:58:19.581] [PluginManager] Loaded "Weather".
[Info  00:58:19.600] [PluginManager] Loaded "Mounter".
[Debug 00:58:19.643] [MountProvider] Adding SYSTEM RESERVED.
[Debug 00:58:19.645] [MountProvider] Adding PQSERVICE.
[Debug 00:58:19.648] [MountProvider] Adding Packard Bell.
[Debug 00:58:20.007] Key MountItem_140054933318656 does not exist, creating.
[Debug 00:58:20.015] Key MountItem_140054933318752 does not exist, creating.
[Debug 00:58:20.022] Key MountItem_140054933318848 does not exist, creating.
[Info  00:58:20.352] [AbstractWeatherSource] iGoogle: Reloading weather data
[Debug 00:58:20.365] [AbstractWeatherSource] iGoogle: Fetching XML file 'http://www.google.com/ig/api?hl=en&weather=Southampton%2c+UK'
[Debug 00:58:20.845] [AbstractWeatherSource] iGoogle: Fetching XML file 'http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=Southampton%2c+UK'
[Info  00:58:21.083] [DrawingService] Could not find 'gtg', using fallback of 'extension'.
[Debug 00:58:26.413] [AbstractWeatherSource] iGoogle: reload success
[Fatal 00:59:37.335] [Gtk] gtk_drag_dest_leave: assertion `site != NULL' failed
[Notify 00:59:39.957]  - 0% Complete...
[Notify 00:59:39.966]  - 0% Complete...
[Notify 00:59:39.966]  - 0% Complete...
[Notify 00:59:39.967]  - 0% Complete...
[Error 00:59:40.056] [SystemService] Error in RunOnThread: Error moving file: No such file or directory
[Debug 00:59:40.058] [SystemService]   at GLib.FileAdapter.Move (File destination, FileCopyFlags flags, GLib.Cancellable cancellable, GLib.FileProgressCallback progress_callback) [0x00000] 
  at Docky.Items.FileDockItem+<OnAcceptDrop>c__AnonStoreyE.<>m__29 () [0x00000] 
  at Docky.Services.SystemService+<RunOnThread>c__AnonStorey9.<>m__F () [0x00000] 
[Error 00:59:40.075] [SystemService] Error in RunOnThread: Error moving file: No such file or directory
[Debug 00:59:40.075] [SystemService]   at GLib.FileAdapter.Move (File destination, FileCopyFlags flags, GLib.Cancellable cancellable, GLib.FileProgressCallback progress_callback) [0x00000] 
  at Docky.Items.FileDockItem+<OnAcceptDrop>c__AnonStoreyE.<>m__29 () [0x00000] 
  at Docky.Services.SystemService+<RunOnThread>c__AnonStorey9.<>m__F () [0x00000] 
[Error 00:59:40.092] [SystemService] Error in RunOnThread: Error moving file: No such file or directory
[Debug 00:59:40.092] [SystemService]   at GLib.FileAdapter.Move (File destination, FileCopyFlags flags, GLib.Cancellable cancellable, GLib.FileProgressCallback progress_callback) [0x00000] 
  at Docky.Items.FileDockItem+<OnAcceptDrop>c__AnonStoreyE.<>m__29 () [0x00000] 
  at Docky.Services.SystemService+<RunOnThread>c__AnonStorey9.<>m__F () [0x00000] 

Running Linux Mint 9RC bassed on Ubunty 10.04, however was also present on Mint 8 based on Ubuntu 9.10.
Xorg version 1.7.6 (or 7.4?)
Video card independent (same results on system with Intel GMA and Nvidia cards)
Gnome 2.30
Mono 2.4.4

The folder doesn't matter which one it is but for the purposes of this example, it was the pictures folder (~/Pictures) which was empty before





More information about the Ubuntu-mono mailing list