← Back to team overview

desktop-packages team mailing list archive

[Bug 1319029]

 

Hi Eric,

> Closing bug report as it was a bug in gvfs.

Not completely.. But beyond this discussion, I think I can offer a small
improvement.. ;)

> https://github.com/xfce-
mirror/xfdesktop/blob/09ce3eb7f79225366c445e5a6639b9b7d0f1ac4d/src
/xfdesktop-file-utils.c#L866

These set the watch cursor, but call the dbus proxy so quickly that
never display the cursor..

Then (though the name of the function is _async), is doing all the main
thread, freezing the desktop all the time that takes the file
operations..

If you add these code in the line marked above force to update the gui,
and to respond to new events like clicks on the desktop

>        while (g_main_context_pending (NULL))
>            g_main_context_iteration (NULL, FALSE);

The ideal is do this within the dbus interface, but as this constructed
now is impossible. :S

Please.. Test.

Regards,
Matias.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1319029

Title:
   Deleting files from desktop freezes machine for short period

Status in gvfs:
  Unknown
Status in xfdesktop:
  Fix Released
Status in gvfs package in Ubuntu:
  Confirmed

Bug description:
  Notice that this is repeat of old bug report, which was closed without
  working fix (see #1294209).

  Deleting files from the desktop directly causes machine to freeze for
  ~30 seconds, once file is deleted machine responds in a timely manner
  again.

  I experience this randomly, about 75% of the times.

  Old bug report claims it is fixed in version 4.11.5-0ubuntu1 of
  xfdesktop4, but I still experience this with 4.11.6-1ubuntu1.

  
  From ~/.cache/upstart/dbus.log

  ** (process:1678): WARNING **: *** Unsupported operation detected on
  trash directory

  ** (process:1678): WARNING **:     A trash files/ directory should
  only have files linked or unlinked (via moves or deletes).  Some other
  operation has been detected on a file in the directory (eg: a file has
  been modified).  Likely, the data reported by the trash backend will
  now be inconsistent.

  ** (process:1678): WARNING **:   dir:
  /home/jussi/.local/share/Trash/files, file: New File.5, type: 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/1319029/+subscriptions