You are not logged in.

#1 2010-06-26 07:32:05

rivoot
Member
From: Santiago, Chile
Registered: 2009-12-01
Posts: 4
Website

Drag and drop issue in gnome.

Hi,

I've been using archlinux half a year so far and I've managed to survive, but since two weeks ago I've been experiencing some weird problems with drag and drop in gnome. I tried to solve the problem by googling but had no luck.

The problem is the following:

When I try to drag and drop for the first time from a nautilus window to any other application by raising that application through the window list in the gnome-panel it works perfectly (as shown in the following image)

dragdrop1.th.png

The problem begins when I try to do the same one more time. If I drag the file in the same way, by raising the application where I want to drop from the window list in the gnome-panel, and the raised application is on top of the nautilus window where I'm dragging the file from, the file won't drop in the application, but will do it in the nautilus window, even if the destination application seems to be on top.

This picture explains what I'm saying:
dragdrop2.th.png

As you can see, the file seems to be over the terminal, hence it should be dropped on it after releasing the mouse, but instead, the 'testFile' file goes into the 'testFolder' folder.

Finally, if I drag and drop from the nautilus window directly into the terminal, without raising the terminal from the window list in the gnome-panel, it works ok (shown in picture below)
dragdrop3.th.png

If I restart nautilus by killing it from the system manager and trying the step in the first image, works again, and then the drag and drop stop working. This behavior started a couple of weeks ago, in both my desktop and laptop, before that it was working as intended.

BTW, this happens with any application (gedit and so).

Thanks in advance for any help you could provide me.

PS: English is my second language so my apologies for any error I may have done.

Offline

#2 2010-07-18 13:59:49

SchizoidMan
Member
Registered: 2010-07-18
Posts: 7

Re: Drag and drop issue in gnome.

I have the same annoying problem. I tried to downgrade some packages (nautilus, gtk2), use another window manager (xfwm4), but nothing changed. It occurs with any application, therefore it seems to be a gnome bug. Does someone have a solution?

Offline

#3 2010-07-23 08:46:48

Perberos
Member
From: Argentina
Registered: 2010-05-30
Posts: 81
Website

Re: Drag and drop issue in gnome.

kwin+gnome = same problem
the bug maybe is... "focus-stealing prevention"?
I don't know.
I hope that this bug was reported in bugzilla gnome.

Offline

#4 2010-07-26 04:33:03

rivoot
Member
From: Santiago, Chile
Registered: 2009-12-01
Posts: 4
Website

Re: Drag and drop issue in gnome.

I don't know if it has been reported, I don't even know if it's a bug, but the issue is still happening in my machine.

Offline

#5 2010-08-01 14:32:02

matiasm
Member
From: Misiones-Arg
Registered: 2010-08-01
Posts: 21
Website

Re: Drag and drop issue in gnome.

Same here! Using gnome + compiz

Eg,
I can drag from nautilus and drop into audacious only once!

Next album I want to listen and drag & drop is not working anymore sad

Edit: idem rivoot:
It does work when both windows are visible. But not when I drag the files, hover over the minimized button to restore the target window and drop.

Last edited by matiasm (2010-08-01 14:43:10)

Offline

#6 2010-08-01 15:13:06

Mad Fish
Member
Registered: 2009-09-22
Posts: 295

Re: Drag and drop issue in gnome.

Also, drag and dropping images from Firefox to nautilus works only once. Really annoying.
Is this already reported?

Offline

#7 2010-08-02 07:35:35

SchizoidMan
Member
Registered: 2010-07-18
Posts: 7

Re: Drag and drop issue in gnome.

xfce + xfwm4 = same problem
lxde + openbox = same problem
gnome + fluxbox = same problem

maybe, an Xorg bug?

Offline

#8 2010-08-02 07:52:01

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: Drag and drop issue in gnome.

SchizoidMan wrote:

xfce + xfwm4 = same problem
lxde + openbox = same problem
gnome + fluxbox = same problem

maybe, an Xorg bug?

I doubt it's an Xorg bug. I'm guessing a "what ever terminal you use"  bug or a nautilus bug.

Try the following:
Same terminal + Thunar (or something else)
New terminal + Nautilus

This way, you can locate the problem.

Last edited by cesura (2010-08-02 07:53:19)

Offline

#9 2010-08-02 08:16:31

SchizoidMan
Member
Registered: 2010-07-18
Posts: 7

Re: Drag and drop issue in gnome.

itsbrad212 wrote:

Try the following:
Same terminal + Thunar (or something else)
New terminal + Nautilus

first terminal + nautilus = not working
first terminal + thunar [new session] = works
second terminal + nautilus = not working
second terminal + thunar [same session] = not working
second terminal + thunar [new session] = works

after killall nautilus:

first terminal + nautilus = works only once
second terminal + nautilus = not working

Offline

#10 2010-08-02 08:47:10

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

Re: Drag and drop issue in gnome.

Same here. I was thinking, it's a specific software problem.

Offline

#11 2010-08-02 14:01:41

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: Drag and drop issue in gnome.

SchizoidMan wrote:
itsbrad212 wrote:

Try the following:
Same terminal + Thunar (or something else)
New terminal + Nautilus

first terminal + nautilus = not working
first terminal + thunar [new session] = works
second terminal + nautilus = not working
second terminal + thunar [same session] = not working
second terminal + thunar [new session] = works

after killall nautilus:

first terminal + nautilus = works only once
second terminal + nautilus = not working

Just to clarify: You are using two different terminals, correct? Not just two open terminals?

Offline

#12 2010-08-02 22:50:47

SchizoidMan
Member
Registered: 2010-07-18
Posts: 7

Re: Drag and drop issue in gnome.

itsbrad212 wrote:

Just to clarify: You are using two different terminals, correct? Not just two open terminals?

Yes, gnome-terminal (first) and konsole (second).
Also drag text from firefox to gedit do the same thing: It works only once (sometimes twice). If I restart Firefox, i'm able to drag text one more time. In this instance, neither nautilus nor gnome-terminal was used.

Offline

#13 2010-08-02 23:49:58

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: Drag and drop issue in gnome.

Could you try to reproduce this problem in KDE, Openbox, or something similar?

Last edited by cesura (2010-08-02 23:51:58)

Offline

#14 2010-08-03 10:18:12

SchizoidMan
Member
Registered: 2010-07-18
Posts: 7

Re: Drag and drop issue in gnome.

itsbrad212 wrote:

Could you try to reproduce this problem in KDE, Openbox, or something similar?

Yes, I tried with xfce, lxde and openbox inside gnome: The problem persists.

EDIT:
With KDE, if I don't use GTK apps as source (like firefox), drag and drop works well.

Dolphin -> audacious = OK
Firefox -> kwrite = works once
dolphin -> konsole = OK
konqueror -> gedit = OK

Last edited by SchizoidMan (2010-08-03 11:24:12)

Offline

#15 2010-08-18 22:44:49

mr_hangman
Member
Registered: 2010-08-13
Posts: 2

Re: Drag and drop issue in gnome.

Hi,
I'm also having this problem. It had messed up a lot of files and folders before I noticed it.

Has this issue been fixed or is there a workaround yet?

Offline

#16 2010-08-26 01:48:10

el hombre sin calefacción
Member
Registered: 2010-08-24
Posts: 4

Re: Drag and drop issue in gnome.

I have the same issue and I thought I made a mistake while installing.

Offline

#17 2010-08-26 17:01:59

Cape
Member
From: Mogliano Veneto, Italy
Registered: 2008-11-15
Posts: 105

Re: Drag and drop issue in gnome.

Wait a second!! How can you keep a window on top of another one  wile dragging an object from a window below that one?

Anyway, what's your "focus stealing prevention" level?
Have you tried to disable compiz?

Offline

#18 2010-08-26 17:29:54

el hombre sin calefacción
Member
Registered: 2010-08-24
Posts: 4

Re: Drag and drop issue in gnome.

Cape wrote:

Wait a second!! How can you keep a window on top of another one  wile dragging an object from a window below that one?

Anyway, what's your "focus stealing prevention" level?
Have you tried to disable compiz?

I havent got installed compiz.

Offline

#19 2010-10-02 13:50:41

corossig
Member
Registered: 2010-10-02
Posts: 6

Re: Drag and drop issue in gnome.

This bug is due to the version 1.3.5 of libx11. Version 1.3.3 hasn't this bug but 1.3.6 has this bug too. Download, compile and install 1.3.3 resolve problem.http://xorg.freedesktop.org/releases/individual/lib/

Offline

#20 2010-10-10 01:07:25

rivoot
Member
From: Santiago, Chile
Registered: 2009-12-01
Posts: 4
Website

Re: Drag and drop issue in gnome.

Thanks corossig, I'm going to check that out.

Edit 1: I haven't tested your suggestion yet, but just in case I found the package here: http://schlunix.org/archlinux/extra/os/ … pkg.tar.gz
Edit 2: Installing 1.3.3 fixed the issue and it's working fine so far. (Bypass dependencies with the -d flag).

Last edited by rivoot (2010-10-10 01:32:08)

Offline

#21 2010-11-01 17:48:19

gregmits
Member
From: Xanthi, Greece
Registered: 2010-11-01
Posts: 17

Re: Drag and drop issue in gnome.

Cape wrote:

Wait a second!! How can you keep a window on top of another one  wile dragging an object from a window below that one?

Basicly that's my question. How can this be done without unticking Raise on click option in Compiz?

Thanks in advance.

Offline

#22 2010-11-24 17:11:23

corossig
Member
Registered: 2010-10-02
Posts: 6

Re: Drag and drop issue in gnome.

libx11 1.4.0 seem to be ok.

Offline

#23 2010-11-25 00:16:31

raginaot
Member
Registered: 2010-11-22
Posts: 53

Re: Drag and drop issue in gnome.

sorry offtopic
but how did you make your terminal transparent like that? big_smile

Offline

#24 2010-11-25 08:10:46

corossig
Member
Registered: 2010-10-02
Posts: 6

Re: Drag and drop issue in gnome.

You must activate composite in metacity.

$ gconftool-2 -s -t boolean /apps/metacity/general/compositing_manager true

And in gnome-terminal profil, choose transparent background.

Offline

Board footer

Powered by FluxBB