! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
failed mount -> desktop thinks mouse is still pressed
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Andrew Smith 2007-08-01 23:36:17 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5
Build Identifier: 

I have th following line in /etc/fstab:

/dev/sdb1        /media/usb1       vfat       defaults,noauto,user,umask=0 0 0

The line is correct except the dir /media/usb1 doesn't exist.

If I plug in my usb stick i see it showing up on the desktop. If I double-click on it I get an error message saying the mount point doesn't exist. So far so good.

But now if I move my mouse over the desktop after clicking 'close' in the error box, the icon for the device is being dragged around. It's as if the mouse-up didn't happen.


Reproducible: Always

Steps to Reproduce:
Comment 1 Brian J. Tarricone (not reading bugmail) 2007-10-20 01:42:59 CEST
*** Bug 3457 has been marked as a duplicate of this bug. ***
Comment 2 Brian J. Tarricone (not reading bugmail) 2007-11-07 06:14:13 CET
I think I might have fixed this -- can you test xfdesktop trunk or xfce_4_4 branch, revision 26269 or later?
Comment 3 Jérôme Guelfucci editbugs 2007-11-07 08:43:34 CET
Brian Tarricone : is it possible to have a patch against xfce 4.4.1 to test this ? Thanks !
Comment 4 Brian J. Tarricone (not reading bugmail) 2007-11-07 16:28:18 CET
Created attachment 1417 
patch against 4.4.x
Comment 5 Jérôme Guelfucci editbugs 2007-11-07 18:52:51 CET
Thanks, I'll test that.
Comment 6 Jérôme Guelfucci editbugs 2007-11-07 19:34:42 CET
Here is my feedback (I hope I've builded everything correctly) :

Before patch: when you double clic on the floppy, mounting fails and two dialogs appear, when you close both of them, the floppy icons appears in drag mode on your mouse.

After patch: the floppy icons appears in drag mode when you close the first dialog, then if you click to close the second dialog it disappears.

So it's better than before, but not perfect.

mr_pouit : could you please confirm this, just to be sure I applied the patch correctly, I'm not very familiar with the cdbs build system. Thanks.
Comment 7 Brian J. Tarricone (not reading bugmail) 2007-11-07 20:54:43 CET
That's odd -- I've never seen two dialogs before.  Maybe an ubuntu patch is causing that...?
Comment 8 Lionel Le Folgoc 2007-11-07 23:29:53 CET
(In reply to comment #7)
> That's odd -- I've never seen two dialogs before.  Maybe an ubuntu patch is
> causing that...?
> 

Maybe... this package contains several (well, 2) xubuntu patches.

I'll test tomorrow with a vanilla xfdesktop (I don't have any floppy drive, so I'll try to reproduce the first comment). Thanks.
Comment 9 Jérôme Guelfucci editbugs 2007-11-08 06:30:06 CET
I first have a dialog in my locale (french) saying (translated):

"Mounting failed
 Impossible to mount floppy:
Unknown error"

Then one in English:
"Cannot mount volume
Unable to mount volume
Detail >
mount: /dev/sd is not a valid bloc device" (details are in french)
Comment 10 Lionel Le Folgoc 2007-11-08 18:06:52 CET
(the second dialog was caused by gnome-mount not being invoked with '-n')

Unfortunately, I am still able to reproduce this drag-n-drop issue, even with the proposed patch (xfdesktop 4.4.1). :/
Comment 11 Brian J. Tarricone (not reading bugmail) 2007-11-15 06:23:27 CET
Ok, should be fixed now.
Comment 12 Brian J. Tarricone (not reading bugmail) 2007-11-15 06:24:10 CET
Created attachment 1430 
new patch against 4.4 branch
Comment 13 Lionel Le Folgoc 2007-11-15 13:44:05 CET
Works fine here too, thanks. :)

Bug #3426

Reported by:
Andrew Smith
Reported on: 2007-08-01
Last modified on: 2009-07-14
Duplicates (1):
  • 3457 Involuntary drag'n'drop of the floppy-disk icon

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
2 users

Version

Attachments

patch against 4.4.x (3.27 KB, patch)
2007-11-07 16:28 CET , Brian J. Tarricone (not reading bugmail)
no flags
new patch against 4.4 branch (809 bytes, patch)
2007-11-15 06:24 CET , Brian J. Tarricone (not reading bugmail)
no flags

Additional information