! 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 !
drag and drop to a window on another workspace
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-panel
Component:
Workspace Switcher

Comments

Description Alexander Toresson 2005-03-17 15:45:53 CET
I would like to be able to drag and drop a file or anything else from a window on
one workspace to a window on another workspace. This would be made by dragging
something from a window in an application to the workspace "image" in the pager.
That workspace will then be shown after a selectable number of milliseconds, and
one could then drop the file or whatever you've got in any window on that
workspace.

Reproducible: Always
Steps to Reproduce:
1. 
2. 
3.
Comment 1 Jasper Huijsmans editbugs 2005-12-07 10:29:19 CET
Olivier, do you think xfwm4 could be adapted to switch workspaces when something
is dragged to the screen edge? That might be a relatively low-impact change to
solve this enhancement request.

Comment 2 Olivier Fourdan editbugs 2005-12-07 19:52:11 CET
This is really not in xfwm4, but in libxfcegui4 netk pager.
Comment 3 Olivier Fourdan editbugs 2005-12-07 20:11:03 CET
Hey Jasper, to answer to your question, I don't think that would be appropriate
because during DnD, the mouse is grabbed. I mean, there is no code in the wm
that would prevent the worskpace to switch during DnD, but it actually doesn't
switch.

So to implement what you suggest, I would have to implement DnD in the window
manager itself which is really not suitable IMHO, and definitely more complex
than adding DnD support to an existing GTK widget such as the pager (even if
noone feels like touching that code, that's another story :)
Comment 4 Jasper Huijsmans editbugs 2005-12-08 08:33:34 CET
(In reply to comment #3)
> Hey Jasper, to answer to your question, I don't think that would be appropriate
> because during DnD, the mouse is grabbed. I mean, there is no code in the wm
> that would prevent the worskpace to switch during DnD, but it actually doesn't
> switch.
> 
> So to implement what you suggest, I would have to implement DnD in the window
> manager itself which is really not suitable IMHO, and definitely more complex
> than adding DnD support to an existing GTK widget such as the pager (even if
> noone feels like touching that code, that's another story :)

Hehe, I was afraid you'd say that ;-) 

It's not a bad request, though, so I'll leave the report open. Thanks.
Comment 5 Stefan Stuhr 2006-05-01 23:23:34 CEST
This, except the "after a selectable number of milliseconds" part, is fixed in SVN trunk.

See bug #1735.
Comment 6 Alexander Toresson 2006-07-26 23:08:39 CEST
Oh, nice :)
Didn't notice this until now :)

It's ok that the delay isn't configurable, but I'd like a small delay even if it isn't configurable, like when you drag to an item in the taskbar.
Comment 7 Jasper Huijsmans editbugs 2006-08-12 09:42:39 CEST
Ok, I'm going to leave it as it is now, because it is much simpler to implement like this. Lame excuse, I know. Sorry ;-) 

If you feel strongly about it, you can reopen it and hope somebody will pick it up.
Comment 8 Stefan Stuhr 2006-08-12 22:47:20 CEST
(In reply to comment #7)
> Ok, I'm going to leave it as it is now, because it is much simpler to implement
> like this. Lame excuse, I know. Sorry ;-) 
> 
> If you feel strongly about it, you can reopen it and hope somebody will pick it
> up.
"
I do think that the time delay is necessary in a decent impl mouse out of the pager again."ementation.

As I wrote in my comment in bug #1735:
"When one have tree or more rows in the pager, and a lot of workspaces, one can't use switch-by-drag to one of the workspaces in the middle of the pager, without instantly swithcing to another workspace when one try to move the drag mouse out of the pager again."
Comment 9 Stefan Stuhr 2006-08-12 22:52:10 CEST
(In reply to comment #8)
> "
> I do think that the time delay is necessary in a decent impl mouse out of the
> pager again."ementation.

Sometimes, the mouse on my computer kind of run amuck for a moment. It happened again right before I posted comment #8, and it moved things around. I am sorry about that.

Here's the text as it was supposed to be:
I do think that the time delay is necessary in a decent implementation.

As I wrote in my comment in bug #1735:
"When one have tree or more rows in the pager, and a lot of workspaces, one can't use switch-by-drag to one of the workspaces in the middle of the pager, without instantly swithcing to another workspace when one try to move the drag mouse out of the pager again."
Comment 10 Jasper Huijsmans editbugs 2006-08-13 05:45:52 CEST
Hmm, I didn't think about multiple rows. You are right, in that case there should be a delay. I'll see what I can do.
Comment 11 Jasper Huijsmans editbugs 2006-08-13 08:44:00 CEST
Fixed in SVN revision 22737.

Bug #838

Reported by:
Alexander Toresson
Reported on: 2005-03-17
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
3 users

Version

Version:
Unspecified

Attachments

Additional information