Renaming causes error message "The requested operation could not be completed"

Bug #1388946 reported by Jussi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Xfce4 Desktop
Fix Released
Medium
xfdesktop4 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Way to reproduce the problem:

1. Choose file from your desktop.
2. Open menu with right mouse button.
3. Choose rename.
4. Do not change the name or close the dialog, but wait for 15 seconds.
5. The error message appears and trash can will be disabled until you close the dialog.
---
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: XFCE
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2010-12-17 (1416 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
NonfreeKernelModules: nvidia
Package: xfdesktop4 4.11.6-1ubuntu1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
Tags: trusty
Uname: Linux 3.13.0-39-generic x86_64
UpgradeStatus: Upgraded to trusty on 2014-05-05 (182 days ago)
UserGroups: adm admin cdrom dialout lpadmin nopasswdlogin plugdev sambashare
_MarkForUpload: True

Revision history for this message
Jussi (jussi-lahtinen-gmail) wrote : Dependencies.txt

apport information

tags: added: apport-collected trusty
description: updated
Revision history for this message
Jussi (jussi-lahtinen-gmail) wrote : ProcEnviron.txt

apport information

Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

Thank you for taking the time to report this bug. A new version of xfdesktop4 will be available soon and needs to be tested (bug 1365965, read comment #2 for instructions). If this update does not fix your issue, please forward the bug to the Xfce bug tracker and tell us the bug number (or the link). Thanks in advance.

https://bugzilla.xfce.org/

Revision history for this message
In , Jussi (jussi-lahtinen-gmail) wrote :

Way to reproduce the problem:

1. Choose file from your desktop.
2. Open menu with right mouse button.
3. Choose rename.
4. Do not change the name or close the dialog, but wait for 15 seconds.
5. The error message appears and trash can will be disabled until you close the dialog.

xfdesktop version 4.11.8 and earlier are affected.

For more detail see:
https://bugs.launchpad.net/ubuntu/+source/xfdesktop4/+bug/1388946

Revision history for this message
Jussi (jussi-lahtinen-gmail) wrote :
Revision history for this message
Jussi (jussi-lahtinen-gmail) wrote :

Now also tested with fresh Xubuntu installation with virtualbox.

Changed in xfdesktop:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Eric Koegel (eric-koegel) wrote :

We're hitting DBUS's reply timeout. We'll have to find a way to perform the call without a timeout to fix this. The code in question is in:
http://git.xfce.org/xfce/xfdesktop/tree/src/xfdesktop-file-utils.c#n691
which calls xfdesktop_file_manager_proxy_rename_file_async
There's a dbus_g_proxy_call_with_timeout
http://dbus.freedesktop.org/doc/dbus-glib/dbus-glib-DBusGProxy.html#dbus-g-proxy-call-with-timeout
But the timeout is an int representing milliseconds which only gets up to 32 seconds (unless my math is off). Maybe dbus_g_proxy_call_no_reply? ...If that's not possible then we may have to not use dbus/thunar for renames and write the renaming dialog and operation ourselves to fix this issue.

Revision history for this message
In , Jussi (jussi-lahtinen-gmail) wrote :

Maybe I haven't understand this, if so, sorry about the noise...
It seem the event is called in wrong time, is it possible call the event only after user has given new name for the file?

Revision history for this message
In , Eric Koegel (eric-koegel) wrote :

Well right now xfdesktop doesn't have code to display the rename dialog. The good news is it's not hard, it's just a matter of adding it in.

Revision history for this message
In , Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

The same applies to the "Create New Folder" and "Create New File" dialog windows.

Revision history for this message
In , Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

As of now, we simply ignore this type of error while not breaking any functionality.

http://git.xfce.org/xfce/xfdesktop/commit/?id=b0388120725ff485e5ae40fde4017aa8c7efb9cf

Changed in xfdesktop:
status: Confirmed → Fix Released
Revision history for this message
In , Hudd (hededrk) wrote :

*** Bug 11780 has been marked as a duplicate of this bug. ***

Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

Marking as fixed.

Changed in xfdesktop4 (Ubuntu):
status: New → Fix Released
Revision history for this message
In , spike speigel (frail-knight) wrote :

It appears this is happening again. Can this issue be reopened, or should a new one be created?

Xubuntu 19.10
xfdesktop4 4.14.1-1

Revision history for this message
In , Alexxcons-x (alexxcons-x) wrote :

Reopened ... I as well can reproduce the bug. Thanks for finding that old bug !

Revision history for this message
In , spike speigel (frail-knight) wrote :

You're welcome, thank you for verifying :)

Revision history for this message
In , Theo Linkspfeifer (lastonestanding) wrote :
Revision history for this message
In , Gitbot (gitbot) wrote :

Andre Miranda referenced this bugreport in commit 999cbcbaa4b9ce44815b37180da944a8347254a9

Reintroduce workaround for Bug #11283

https://git.xfce.org/xfce/xfdesktop/commit?id=999cbcbaa4b9ce44815b37180da944a8347254a9

Revision history for this message
In , Gitbot (gitbot) wrote :

Andre Miranda referenced this bugreport in commit 850d3aec523467b2fe3eb22dcdbd7ff55ac3c66c

Reintroduce workaround for Bug #11283

https://git.xfce.org/xfce/xfdesktop/commit?id=850d3aec523467b2fe3eb22dcdbd7ff55ac3c66c

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.