Bug 154804 - Add option for alternative Drag&Drop behaviour
Summary: Add option for alternative Drag&Drop behaviour
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_workspace (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: HI wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
: 224257 224573 277446 392531 406122 423356 432912 454356 467220 468702 474704 480269 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-29 11:06 UTC by Bernd Steinhauser
Modified: 2024-04-18 07:07 UTC (History)
42 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Steinhauser 2007-12-29 11:06:39 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Hi,

I'm very satisfied with Dolphin, but there is one thing that bothers me (I think this was also true for Konqueror from KDE 3.x, but I didn't use that one a lot in favour of Konsole).

Currently, when one marks a file with the left mouse button, drags it to another folder and drops it there Dolphin will bring up a menu, if I would like to copy, move or link the file there.
What would expect (or what I would like to see as an option) is, that a left mouse button drag&drop will just move the file.

So I suggest, there will be two options:
Left mouse button d&d: d&d menu
Right mouse button d&d: Context menu
Right mouse button click: Context menu
(This is default.)

Left mouse button d&d: Move
Right mouse button d&d: d&d menu
Right mouse button click: Context menu
(This is my favourite choice.)

Sorry if this is already possible, I search through the options of Dolphin, but I haven't been able to find anything that triggers that.
Sorry if this is a duplicate, I search Dolphin's bug reports, and there were a few about d&d, but no bug that I found addressed this.
Comment 1 Dotan Cohen 2008-12-04 23:01:14 UTC
To clarify: the OP is asking for an option to have left drag always perform the Move operation. When the option is enabled, the user can get the Move/Copy/Link menu by dragging with the right mouse button.

I agree that this is a terrific usability idea.
Comment 2 Peter Penz 2010-01-28 11:14:07 UTC
*** Bug 224573 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2011-11-28 18:03:01 UTC
*** Bug 287762 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2011-11-28 18:15:06 UTC
Robert, feel free to create a patch, and put it on reviewboard. Make sure you develop it against master branch.
Comment 5 Rob D 2012-03-11 23:49:19 UTC
I haven't forgotten about this bug (wishlist) report, and today it finally made its way to the top of my list of things to look into.
I'm still fairly new to Qt, and I'm not acquainted with the KDE extensions thereto, so forgive my ineptitude - I'm still learning.
So far, I've got my head around QDrag, QDrageEnterEvent, QDragMoveEvent and QDropEvent, and I see that dropping files is handled in KItemListController::dropEvent(). At first this seems like the obvious place to implement the default behaviour, but at the moment, this function handles a couple of member variables and then emits an itemDropEvent. That's connected to DolphinView::slotItemDropEvent(), which repackages the same event and passes it off to DragAndDropHelper::dropUrls(). Perhaps implement the new behaviour here instead? But here, once again, not an awful lot happens, and it's then passed on to KonqOperations::doDrop() - which isn't even part of Dolphin anymore, but rather KDE/Konqueror library code.
KonqOperations::doDrop() is a wrapper for an overloaded version of itself, which sets the member struct DropInfo, then uses QMetaObject::invokeMethod() to call KonqOperations::asyncDrop().
asyncDrop() can (potentially, depending on many factors) call doDropFileCopy(), where we finally find the code that generates the popup menu.

As you can see, I have spent some time investigating the matter.
I see you use LibKonq code for the drag and drop. This (I assume) means if I change the behaviour at the source, it will affect much of the rest of KDE as well.
I'm not sure how these things work, but I doubt I have the authority to make that call. Should I implement the behaviour in one of the Dolphin classes, to contain the changes? Or bite the bullet and change the library code?
Then, assuming I've found a place to ammend the code, I would ideally have some way of querying the containing partition of the source and the destination (I'm assuming other file managers implement their fuctionality by comparing the two). Does anyone know of a way to do this? Does KDE provide an API?

Also, could you link me to reviewboard? I've never submitted new code for KDE before.

Thank you very much for any help you can provide - I'm very to keen to get actively involved in coding for KDE.
Comment 6 Peter Penz 2012-03-12 09:10:29 UTC
@Rob: First thanks for digging into the sources, your help is very welcome!

> ... I see that dropping files is handled in KItemListController::dropEvent().
> At first this seems like the obvious place to implement the default behaviour,
> but at the moment, this function handles a couple of member variables and then
> emits an itemDropEvent.

This is done on purpose: KItemListController is not (and should not be) aware of "files". It just is responsible to inform about a drop-event done on a generic item with a given index.

[...]
> I see you use LibKonq code for the drag and drop. This (I assume) means if
> I change the behaviour at the source, it will affect much of the rest of KDE
> as well.

I don't think it would be a good idea making this a Dolphin-only option. So if this feature with the option should be implemented, it should be applied on all applications that use libkonq for filemanagement and this is fine.

> I'm not sure how these things work, but I doubt I have the authority to make
> that call. Should I implement the behaviour in one of the Dolphin classes, to 
> contain the changes? Or bite the bullet and change the library code?

Please bite the bulled ;-) The maintainer of the libkonq is David Faure, so before starting with a huge patch please ask David first whether he agrees in general having such an option at all and implementing it in libkonq. I'd suggest to post a question to kfm-devel@kde.org where Dolphin, Konqueror-filemanagement-topics and libkonq-code gets discussed (David is subscribed there too). David is very busy, so probably it takes a few days until you'll get an answer.

> Also, could you link me to reviewboard? I've never submitted new
> code for KDE before.

The reviewboard is at git.reviewboard.kde.org but as said above I think it is preferable to discuss at kfm-devel@kde.org first whether it is OK to implement this and probably discuss some details then. The patch at the reviewboard is only the last step before getting the feature committed :-)

If you get the OK from David to implement this (from my point of view this would be fine), I will of course help to create a configuration option that will be integrated then in Dolphin + Konqueror.
Comment 7 Christoph Feck 2012-08-24 11:59:58 UTC
Robert, have you brought the topic for discussion to the kfm-devel mailing list?
Comment 8 Christoph Feck 2012-08-24 12:00:44 UTC
*** Bug 277446 has been marked as a duplicate of this bug. ***
Comment 9 Rob D 2012-08-28 08:30:03 UTC
Christoph (and others),

I emailed the mailing list quite a while back (18th March), but the message has been awaiting moderator approval ever since.
I re-sent it today, having joined the mailing list to try to ensure its acceptance.

Let's hope for a response...
Comment 10 Rob D 2012-10-08 08:12:32 UTC
Hi all,

It turns out the matter has been discussed and they don't really feel like implementing the feature because they think it could lead to accidental unexpected behaviour. Also, they haven't registered much demand, so the more people who email the kfm-devel@kde.org list requesting the feature, the more likely it would be that they change their mind. It may also be worth pointing other similar requests here, so they can see the matter has been discussed, but also that they should make their opinion known if they wish to instigate change.
Comment 11 Frank Reininghaus 2012-10-08 09:31:15 UTC
(In reply to comment #10)

It would be nice if you did not use inaccurate and incomplete information to encourage others to not only waste their own time, but also the time of everyone who reads the mailing list. According to the discussion you started on the mailing list some time ago,

http://lists.kde.org/?t=133207879300004&r=1&w=2

you did not propose to implement the feature which has been requested in this report, but something else, namely making drag and drop context-sensitive. From my point of view, the discussion on the mailing list contains some convincing arguments why we should not implement this.

It has been made clear here and in the mailing list discussion that a prerequisite for considering the feauture which has been proposed here is that David Faure agrees that it makes sense. To be honest, I'm not much in favor of it because every option makes the application more complex, potentially more confusing for the user and harder to maintain for us, and I think that the user group that would benefit from such an option is quite small.
Comment 12 Rob D 2012-10-08 12:44:53 UTC
Frank,

Terribly sorry I've posted this on the wrong bug. It should have been posted on bug 287762.

Unfortunately I was not informed at the time that my email had been posted to the mailing list, so I was unable to participate in the discussion at that point. I agree that some good arguments were put forward as to why it should not be implemented. In fact, they seemed to be the only arguments put forward, so there wasn't a huge amount of discussion.
The post here was to try to get some of the supporters of the idea to speak up, as although I provided a list of links to people with a similar opinion in bug 287762, those people's voices are not heard in the mailing list.
It seems unlikely to me that the general consensus is as one-sided as it seems from the mailing list, especially as context sensitivity was deemed to be desirable by both Windows and OSX (which is unix-like), which together make up a phenomenal majority of desktop operating systems.
I'm not saying that context sensitivity is undeniably right, but that given huge research budgets, it has been chosen for many major operating systems.

I apologise for the confusion on this front. This bug is not in fact a duplicate of my original post, and further discussion of the matter would seem better suited on bug 287762.

I apologise once again - I had no intention of wasting time, but rather encouraging sensible and meaningful debate.
Comment 13 Bernd Steinhauser 2014-05-30 08:31:50 UTC
Actually, for what I want, I don't really care about this anymore. Somehow over the years I got used to the behaviour of dolphin in this case and wouldn't press on changing it anymore.

So if there aren't other people voting for this change, you could close it as won't fix.
Comment 14 Dotan Cohen 2014-06-01 08:03:56 UTC
I still do think that this feature is important.

I help people move from Windows to Kubuntu, and I've helped many tens (probably well over one hundred) people to learn Dolphin and other KDE apps. I have a nice list of common gotchas and this one ranks high. In fact, the reason that I found this bug in the first place was to file it myself exactly for this reason.

_I_ personally don't mind the behaviour. However users used to more user-friendly environments don't expect and don't appreciate the "annoying popup that gets in the way of their work".
Comment 15 Christian González 2014-06-01 09:11:37 UTC
I can second that. One of the really annoyances in KDE is the complicatedness. And this is another sad part of it. I got "used" to it as well, but people get used to everything, which does not imply that it is good.
Comment 16 Frank Reininghaus 2014-06-01 12:03:12 UTC
(In reply to comment #14)
> I help people move from Windows to Kubuntu, and I've helped many tens
> (probably well over one hundred) people to learn Dolphin and other KDE apps.
> I have a nice list of common gotchas

You might want to discuss these issues with the usability team then. It's quite likely that some small changes in certain places will not only make the Windows -> KDE transition easier, but impvove the usability for everyone.

However, this does probably not apply to every single issue. If people got used to a certain behavior of an application because it's what Windows does, this does not necessarily mean that the Windows way is correct, and everything else is wrong.

> _I_ personally don't mind the behaviour. However users used to more
> user-friendly environments don't expect and don't appreciate the "annoying
> popup that gets in the way of their work".

I strongly object the idea that everything that Windows does is "more user-friendly". Whenever I use Windows, I am extremely annoyed by the fact that there is no drag&drop dialog, and Windows decides for me if the file is moved or copied (the decision it takes is very often not what I want). I consider KDE much more user-friendly in this regard. (But I'm not saying that I am "right" - neither you nor I are usability experts. This should better be discussed with the usability team, rather than here at bugs.kde.org.)

Now the users whom you  were in contact with obviously have the opposite opinion, but this is just because they have been trained to expect that there is no dialog by using Windows for many years. IMHO, it does definitely not mean that the Windows way of handling drag&drop is more user-friendly.

(In reply to comment #15)
> I can second that. One of the really annoyances in KDE is the
> complicatedness. And this is another sad part of it.

As I said above, I consider the Windows way to handle drag&drop by guessing what the user wants complicated and sad.

> I got "used" to it as
> well, but people get used to everything, which does not imply that it is
> good.

Many people got used to Windows guessing if they want to copy or move a dropped file, but people get used to everything, which does not imply that it is good.

In any case, I am closing this Dolphin report now because:

(a) Nothing can be done in Dolphin to change the drag&drop behavior. Everything that happens when a file is dropped is handled by the lib/konq library, which is not part of Dolphin. It does not have its own 'product' at bugs.kde.org, but reassigning this report would not make much sense anyway IMHO because...

(b) bugs.kde.org is good for tracking bugs, but it is pretty useless for discussing feature requests and usability issues. The number of people who read and comment on bug reports is quite limited and does not include usability experts.

I encourage anyone who has strong feelings about this issue to start a discussion with the usability team.
Comment 17 Dotan Cohen 2014-06-01 12:54:48 UTC
>> user-friendly environments don't expect and don't appreciate the "annoying
>> popup that gets in the way of their work".

> I strongly object the idea that everything that Windows does is "more user-friendly".

I strongly object the idea of reinterpreting my sentences to mean what they don't! :)

I do feel that Windows is more user friendly for reasons that are beyond the scope of this bug report. Likewise, I do feel that OS-X is more user friendly. Independent of those assertions, which you may or may not agree with, I note that users don't expect and don't appreciate the "annoying popup that gets in the way of their work". That is indisputable based on empirical evidence.



> In any case, I am closing this Dolphin report now because [..] bugs.kde.org is good for tracking bugs.

Would you argue that unexpected behaviour is _not_ a bug? I thought that is the very definition of a bug.

Also, why is this marked as RESOLVED _UPSTREAM_? What is UPSTREAM in this sense?
Comment 18 Frank Reininghaus 2014-06-01 13:05:41 UTC
(In reply to comment #17)
> > In any case, I am closing this Dolphin report now because [..] bugs.kde.org is good for tracking bugs.
> 
> Would you argue that unexpected behaviour is _not_ a bug? I thought that is
> the very definition of a bug.

The problem is that "unexpected behavior" is not a well-defined an unambiguous term. For me, the lack of a dialog on Windows is unexpected, but I am not sure if I would call the Windows behavior a bug. The Windows usability people made a choice that some users are happy with, and some others are not. One can argue about whch behavior is better (but not at bugs.kde.org please. A bug tracker is not suited to this kind of discussion IMHO), but this does not necessarily mean that either behavior can be considered a bug.

> Also, why is this marked as RESOLVED _UPSTREAM_? What is UPSTREAM in this
> sense?

As I said, lib/konq (which is part of the KDE SC, but has no product here at bugs.kde.org) is UPSTREAM from Dolphin's point of view.

If you prefer, we can reassign the report to the generic "kde" product and reopen it, but this will not have any effect on whether this feature will be implemented or not. As I said earlier, I strongly encourage you to start a discussion with the usability team. Adding further comments here is just a waste of time.

This is my last comment in this report. I will not respond to any further replies because, as I have said repeatedly, nothing can be done in Dolphin to achieve the behavior you want, so my opinion does not actually matter much in the context of this report. Thanks for your understanding.
Comment 19 Bernd Steinhauser 2014-06-02 17:04:17 UTC
(In reply to comment #16)
> I strongly object the idea that everything that Windows does is "more
> user-friendly". Whenever I use Windows, I am extremely annoyed by the fact
> that there is no drag&drop dialog, and Windows decides for me if the file is
> moved or copied (the decision it takes is very often not what I want).
Actually, that really is a point, since the behaviour on Windows is not really consistent. I.e. for a D&D within a drive/partition, it moves the file, whereas for a D&D into another drive/partition, it will copy.

I guess, that this is inspired by internal processes, since that's where both differ, but still it's inconsistent and therefore not really user-friendly.

On linux, this wouldn't be a problem, since home is usually on a single volume and therefore you would either always copy or always move.
Comment 20 Felix Miata 2014-06-02 18:22:46 UTC
(In reply to comment #19)
> the behaviour on Windows is not
> really consistent. I.e. for a D&D within a drive/partition, it moves the
> file, whereas for a D&D into another drive/partition, it will copy.

Windows behavior is likely derived from the ancient M$/IBM synergy. What follows is an explanation for the OS/2 WPS behavior from ISBN 0-13-842147-1 "Getting to Know OS/2 Warp 4", pp 85-6:
[quote]
4.2.4 Dragging and Dropping Objects
When you use the Workplace Shell, you will often perform tasks on objects by selecting an icon with your left mouse button, then pressing and holding down the right mouse button while you "drag" the icon over another icon. You will then release the right mouse button to "drop" the first icon on the second. For obvious reasons, this is known as the drag and drop interface.

Dragging and dropping objects can have one of several effects:

* Moving an object: dragging an icon from one location to another will cause the object to be relocated to the target location. In this way, you can move an object from one place to another.

In most cases, this is the default action performed when you drag and drop an icon. For some objects however, you might find that moving an object is not the default operation when you drag the icon to a new location. In such cases, you should press and hold down the Shift key while dragging the icon in order to move the object to its new location.

* Copy: pressing and holding down the Ctrl key while dragging an icon from one location to another will copy an object, rather than moving it. The original object will remain unchanged.

In most cases, the default action when dragging and dropping an object between locations is to move the object. However, OS/2 Warp will always copy an object when you drag and drop an icon to a networked location such as a LAN-attached drive object....

During a copy operation, the object's icon and the mouse pointer will be shaded, to give you a visual indication that a copy operation is being performed....
[/quote]

I used OS/2 as my primary OS from 1997 to 2011 (before that, DesqView on DOS,  never Windows), with Linux/KDE as secondary after around 2002. I could never assimilate the OS/2 D&D instructions, so I avoided DND as much as possible. With the different set in KDE, the problem got worse. The main way I avoided, and still avoid in KDE, is through use of orthodox file managers, FC/2 on OS/2, and on Linux mostly MC but also FC/L. IOW I never used Konq as a file manager, and don't use Dolphin (mainly because I love using the OFMs and the vttys for such chores, but also to avoid D&D confusion).

The point of my lengthy comment here is that D&D isn't intuitive for everybody. It needs maximum flexibility to accommodate differences among users. I don't see how there can possibly be only one correct configuration/behavior paradigm, particularly on account of users migrating to KDE from other environments.
Comment 21 illumilore 2014-06-02 19:17:07 UTC
"The Windows usability people made a choice that some users are happy with, and some others are not."

That's why the dialogue showing up could still be the default, but at least give an option to change it in the preferences for those who are more comfortable without it. And it isn't even just windows, gnome2 had the same behavior of not having a dialogue and relying on shift or ctrl modifiers..
Comment 22 Dotan Cohen 2014-06-03 05:58:04 UTC
> Actually, that really is a point, since the behaviour on Windows is not really consistent. I.e. for
> a D&D within a drive/partition, it moves the file, whereas for a D&D into another drive/partition, it
> will copy. 

Who cares? Nobody is asking to implement the Windows behaviour. This bug is for implementing an option to have D&D using the left mouse button to always perform Move. See the OP.
Comment 23 Nate Graham 2020-11-02 16:23:13 UTC
*** Bug 392531 has been marked as a duplicate of this bug. ***
Comment 24 Nate Graham 2020-11-02 16:23:14 UTC
*** Bug 224257 has been marked as a duplicate of this bug. ***
Comment 25 Nate Graham 2020-11-02 16:23:15 UTC
*** Bug 406122 has been marked as a duplicate of this bug. ***
Comment 26 Nate Graham 2020-11-02 16:23:17 UTC
*** Bug 423356 has been marked as a duplicate of this bug. ***
Comment 27 Nate Graham 2020-11-02 16:25:18 UTC
Re-opening due to user demand (see Bug 392531).

There are some old patches that implement this behavior:
- https://phabricator.kde.org/D27951 (KIO)
- https://phabricator.kde.org/D27998 (plasma-workspace/systemsettings)
Comment 28 Alex 2020-12-22 15:20:26 UTC
This feature is importat! Please add this feature!
Comment 29 Nate Graham 2021-02-16 16:31:22 UTC
*** Bug 432912 has been marked as a duplicate of this bug. ***
Comment 30 Nate Graham 2021-02-16 16:32:20 UTC
Increasing priority as the number of duplicates rises. There appears to be significant user desire for this.
Comment 31 Tomas 2021-03-17 01:51:36 UTC
We definitely need this. I was looking how to do this for years and came to this discussion. KDE is all about flexibility, number of options, power of configuration. I just want an option for Drag and Drop to perform Move operation as default action. Maybe someone has an idea how can I get this done in some config files???
Comment 32 Philip Murray 2021-10-16 19:08:10 UTC
Making move by default be an optional behaviour would be very welcome. I'm not a power user & in my ~20 years of using linux I don't think I've ever selected any option other than the Move one from the menu.
Comment 33 sbahling 2022-01-05 16:13:24 UTC
I just came across this when helping a new user move from windows. The popup was immediately annoying to them as they expected it to be obvious to move with dragging. The human intuition seems to be dragging == moving. The person I was working with demonstrated to me by grabbing an object on the table and "dragging" it to another location. The object is physically moved and not cloned and by intuition a new user expects similar inside the virtual world of the computer desktop system.

I'm not a KDE user myself, but felt it's the best option for this user, and when they complained about the popup on drag-drop files I figured there must be an option to change the behavior and was surprised to discover there isn't.

I have read through the bug threads and the comments in the patch development, and I agree that the Windows "magic" and inconstant behavior is not optimal. I would rather see a defined and consistent behavior like always assume Move. Even the ex-Windows user complained that when dragging from one device to another Windows made a copy instead of moving as expected.
Comment 34 David Edmundson 2022-01-06 13:59:56 UTC
>The person I was working with demonstrated to me by grabbing an object on the table and "dragging" it to another location. 

That's not a very relevant point, you can't copy or shortcuts in the physical world. You can in the virtual world hence the need to prompt.
Comment 35 tomashnyk 2022-01-06 14:05:52 UTC
Just for the record, we have had copy machines (or carbon copy) for quite some time, not mentioning physical pointers or any number of indexing devices. I don't have any stake in whether this should be default, but an option would be a blessing. I have been on KDE for two weeks now and have not got used to it yet.
Comment 36 Nate Graham 2022-01-06 15:08:07 UTC
This has 7 duplicates which is a measure of significant user desire, so it can't be low priority. Returning to HI priority.
Comment 37 willyboyd 2022-01-06 15:10:43 UTC
I have gotten used to this over time but it still has to be one of the most stubborn UX quirks I’ve seen in a while.  Providing an option just persists the choice from the prompt, allowing the user to save a default for themselves rather than having to endure the prompt every time when likely one option is always going to be more common. To steadfastly refuse that is taking more of a principled hard line over actually improving the UX.
Comment 38 Ben Cooksley 2022-01-06 17:55:59 UTC
Removing subscriber per abuse reports we received.
Comment 39 sbahling 2022-01-07 18:02:38 UTC
(In reply to David Edmundson from comment #34)
> >The person I was working with demonstrated to me by grabbing an object on the table and "dragging" it to another location. 
> 
> That's not a very relevant point, you can't copy or shortcuts in the
> physical world. You can in the virtual world hence the need to prompt.

I think it is relevant when talking about UX, intuition and expected behavior. We refer to computer concepts using real world objects all the time - Files, Folders, Desktops. Expecting to interact with those concepts in the same way as in the physical world seems reasonable to me. I'm a command line user myself, so never paid much attention to such GUI behaviors, but when confronted by new user frustrations, I totally get their point.

Of course on a computer system there are other options than "moving" and we should have ways to access those options via key modifiers or using alternate mouse buttons. I don't think we can come up with defaults that everyone is happy with. I just hope we can make the behavior configurable.
Comment 40 Tomas 2022-01-07 19:04:58 UTC Comment hidden (spam)
Comment 41 Nate Graham 2022-01-07 19:30:15 UTC
Someone submitted patches that implemented the requested change, but ultimately abandoned them because we couldn't figure out a way to always copy by default instead of moving when dragging across devices (for safety). The work is still there for someone else to pick up:

- https://phabricator.kde.org/D27951 (KIO)
- https://phabricator.kde.org/D27998 (plasma-workspace/systemsettings)
Comment 42 Andrea Ippolito 2022-05-23 07:44:42 UTC
Hello, I have a question apart from making this configurable.
The behavior upon dropping can be chosen up until the very last moment on X11, by holding down Shift, for example, to turn it into a Move operation.
On Wayland however, the key modified must be pressed before starting the drag and drop operation, which is less intuitive and inconsistent with X11 (and Windows, for what it matters).

Is this the good place to discuss this, or is there a separate bug to track that?

Just tested with:

Operating System: openSUSE Tumbleweed 20220520
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2
Kernel Version: 5.17.7-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics


Thanks
Comment 43 David Edmundson 2022-05-23 10:45:44 UTC
>Is this the good place to discuss this, or is there a separate bug to track that?
Separate. I'm pretty sure one exists already somewhere.
Comment 44 Martin 2022-11-19 23:50:38 UTC
(In reply to Bernd Steinhauser from comment #0)
+1 please. I personally want the left always move, right context.
Comment 45 Schñarf 2022-12-31 01:51:26 UTC
Big +1 here. I don't see any reason to not at least include an option to have the Windows-like behavior here.
Comment 46 Nate Graham 2023-03-13 21:16:18 UTC
*** Bug 467220 has been marked as a duplicate of this bug. ***
Comment 47 Akemi Sakamoto 2023-03-13 22:09:48 UTC Comment hidden (spam)
Comment 48 Bernd Steinhauser 2023-03-13 22:46:16 UTC
(In reply to sbahling from comment #39)
> Of course on a computer system there are other options than "moving" and we
> should have ways to access those options via key modifiers or using
> alternate mouse buttons. I don't think we can come up with defaults that
> everyone is happy with. I just hope we can make the behavior configurable.
Key modifiers and even alternate mouse buttons are for power users only.
Except for a few really known ones (like CTRL+c and CTRL+v), you really can't expect an ordinary user to remember any shortcut.
The typical user doesn't even know key combinations like Meta+e or Meta+l.
Heck, I consider myself a well-knowing PC user and even I really don't see the point in the about million key combinations that KDE defines by default.
Actually it's so many, that I really avoid them (to some degree), because chances are high you hit a wrong key and something awful happens.
In my opinion (and this is only my personal opinion), about 80% of them should default to "None", but have a "suggested key combination" instead, a concept that doesn't exist currently (and also might not be wanted by others, don't know).

Anyway … you really can't expect people to know that left mouse button will move and e.g. Ctrl+LMB will copy.
RMB drag, as I described in the first post, maybe, but even that is a concept that most users wouldn't incorporate into their workflow.

The current way is actually a pretty smart way to give a typical user a way to decide between copy and move without needing to remember key combinations. Hence it should be the default.

(In reply to Nate Graham from comment #41)
> Someone submitted patches that implemented the requested change, but
> ultimately abandoned them because we couldn't figure out a way to always
> copy by default instead of moving when dragging across devices (for safety).

But why change the behavior in that case? IMO it's an inconsistency that shouldn't exist.
If I would still want it to move by default, I would also want it to do that when I move files from one filesystem to another.
(I think it's filesystems that matter here, not devices.)
Comment 49 Christopher 2023-03-13 22:56:22 UTC
(In reply to Bernd Steinhauser from comment #48)
> (In reply to sbahling from comment #39)
> > Of course on a computer system there are other options than "moving" and we
> > should have ways to access those options via key modifiers or using
> > alternate mouse buttons. I don't think we can come up with defaults that
> > everyone is happy with. I just hope we can make the behavior configurable.
> Key modifiers and even alternate mouse buttons are for power users only.
> Except for a few really known ones (like CTRL+c and CTRL+v), you really
> can't expect an ordinary user to remember any shortcut.
> The typical user doesn't even know key combinations like Meta+e or Meta+l.
> Heck, I consider myself a well-knowing PC user and even I really don't see
> the point in the about million key combinations that KDE defines by default.
> Actually it's so many, that I really avoid them (to some degree), because
> chances are high you hit a wrong key and something awful happens.
> In my opinion (and this is only my personal opinion), about 80% of them
> should default to "None", but have a "suggested key combination" instead, a
> concept that doesn't exist currently (and also might not be wanted by
> others, don't know).
> 
> Anyway … you really can't expect people to know that left mouse button will
> move and e.g. Ctrl+LMB will copy.
> RMB drag, as I described in the first post, maybe, but even that is a
> concept that most users wouldn't incorporate into their workflow.
> 
> The current way is actually a pretty smart way to give a typical user a way
> to decide between copy and move without needing to remember key
> combinations. Hence it should be the default.
> 
> (In reply to Nate Graham from comment #41)
> > Someone submitted patches that implemented the requested change, but
> > ultimately abandoned them because we couldn't figure out a way to always
> > copy by default instead of moving when dragging across devices (for safety).
> 
> But why change the behavior in that case? IMO it's an inconsistency that
> shouldn't exist.
> If I would still want it to move by default, I would also want it to do that
> when I move files from one filesystem to another.
> (I think it's filesystems that matter here, not devices.)

I don't think the idea is to change the default, but to make it configurable so that you don't HAVE to do the prompt or a hotkey every time. Move is the default action on both widely used operating systems (Windows & MacOS), so I wouldn't say "you really can't expect people to know that left mouse button will move and e.g. Ctrl+LMB will copy." when that is the expected behavior in the vast majority of the consumer market.
The simple fact is that for adoptability, at very least, to be able to configure that as your Dolphin's behavior would help, this isn't an argument to change the default, but for the OPTION to CONFIGURE, which is generally speaking, a core feature in many of KDE's applications.
Comment 50 Akemi Sakamoto 2023-03-13 23:01:03 UTC Comment hidden (spam)
Comment 51 Alex 2023-03-13 23:15:35 UTC
(In reply to Christopher from comment #49)
> Move is the
> default action on both widely used operating systems (Windows & MacOS), so I
> wouldn't say "you really can't expect people to know that left mouse button
> will move and e.g. Ctrl+LMB will copy." when that is the expected behavior
> in the vast majority of the consumer market.

We're not just talking about other operating systems, but also afaik all other mainstream Linux file managers: Drag&drop = Move, for everyone but Dolphin users. I used Nemo, Thunar and Nautilus and was never bothered by a context menu asking if I really wanted to move that file. So yes, please add at least an option to do that.
Comment 52 Akemi Sakamoto 2023-03-13 23:32:15 UTC Comment hidden (spam)
Comment 53 Akemi Sakamoto 2023-03-13 23:50:24 UTC Comment hidden (spam)
Comment 54 Nate Graham 2023-03-13 23:59:59 UTC
Akemi, every comment you post that expresses your opinion on this matter gets emailed to all 31 people on the CC list. Your opinion has now been registered, so I would ask you to please refrain from doing it any more. Message received.
Comment 55 Akemi Sakamoto 2023-03-14 00:11:05 UTC
(In reply to Nate Graham from comment #54)
> Akemi, every comment you post that expresses your opinion on this matter
> gets emailed to all 31 people on the CC list. Your opinion has now been
> registered, so I would ask you to please refrain from doing it any more.
> Message received.

Sorry, I would understand if you said that in the first comment. I apologize but it truly shocked me to see that something like this had been reported way before (message received as you said).

I apologize if this caused any discomfort and would like to know if there is any other way to help with this or how I can track the progress of this change (just coming back here?).
Comment 56 Nate Graham 2023-03-14 00:22:40 UTC
What *was* my first comment to you in this bug report's comment thread. :) Anyway, now that you're CCd, any messages posted to this bug report will be sent to you too--including notifications of ongoing work on it or when it's resolved. So you'll know once that happens.

Every big software project will have multi-generational issues, especially those that are predominately made by volunteers. It's just the nature of the beast. Helping out with technical contributions is always hugely appreciated. See https://community.kde.org/Get_Involved.

I had actually put this bug report on my "maybe work on it tonight" list. Reviving those patches doesn't look too hard (famous last words!), and maybe we can figure out a satisfactory solution to the concerns brought up in the first rounds of code review.
Comment 57 illumilore 2023-03-19 03:49:27 UTC
"Key modifiers and even alternate mouse buttons are for power users only."

Is that why windows, the OS  famous for catering to "power users", uses modifier keys?
And if there's one thing kde historically always shies away from, it is choice and power!

but seriously, there are better options out there than kde now, ones in which put user friendly design first rather than last.
Comment 58 Felix Ernst 2023-04-20 11:10:11 UTC
*** Bug 468702 has been marked as a duplicate of this bug. ***
Comment 59 Christoph Feck 2023-06-01 22:04:24 UTC
*** Bug 454356 has been marked as a duplicate of this bug. ***
Comment 60 advice2020 2023-06-02 21:18:47 UTC
I agree with this as well, this one is so important to me.
KDE Plasma is amazing, this is literally one of the only things I can find that I do not care for, makes it very difficult to use.
I am aware that you can use modifier keys to avoid them but for such a standard action should not really have to use a keyboard modifier to  perform a simple drag & drop action like moving a file.

Nothing wrong with having these context menus be the default for those who like them, but seems odd that KDE, a group known for endless customization / settings, does not have an option to be able to turn these off / allow users to choose how drag & drops perform.  I have never seen any other file managers use this approach with LMB D&D so with something that is far away from a standard, again seems odd not to be able to have a setting for something like this.
I have however seen in Windows as well as some FM in Linux the use of the RMB D&D for these context menus which I would prefer.  RMB makes more sense because a single click brings up context menu so D&D with RMB to bring up these CM would fit in better here.

I made a more in depth post about how this could possibly be handled here as well to hopefully get some more users to vote for this.
https://discuss.kde.org/t/plasma-dolphin-drag-drop-context-menus/1809

Do votes really mean anything? How many does an issue have to have in order to be worked on?
To me personally this is a pretty big deal, hopefully this could finally be addressed.
Comment 61 Nate Graham 2023-06-02 21:32:21 UTC
I've been planning to work on finishing up the earlier patches, but as with so many things, it's just so hard to carve out time with the 500,000 other things I have to do. I imagine most other people are in a similar situation, especially since this is really a nice-to-have, not even a bug.
Comment 62 jimbo 2023-06-05 07:59:33 UTC
It seems pretty intuitive that dragging and dropping is by default a move operation. It's nice to have the option to prompt beginners as to what they want to do, but it soon becomes a nuisance.

Ctrl+C and Ctrl+V are not 'poweruser' shortcuts, they are as commonly used as Ctrl+Z and Esc. If users want to copy a file then Ctrl+C and Ctrl+V are most likely used, not via the context menu. If you can copy/paste text, then the same applies to files. Initially you might learn to click the file, select copy, navigate to a different folder and select paste. However copy/pasting is used so often (throughout all programs) that it's one of the first shortcut keys you learn, same applies to undo (no one goes through the context menu for it once they learn the shortcut). 

Windows allows the user to alter the outcome of the drag and drop during the operation. If you want to copy or create a link then there are modifier keys that can be held down. Using the modifier keys, there is visual feedback like a '+' sign or 'arrow' added to the mouse cursor, but if no modifier key is pressed then it defaults to move.
Comment 63 svlmrc 2023-08-05 06:32:59 UTC
I like the idea of having an option for this. IMHO that should behave the way Windows and many other file managers do that. Defaulting to copy is great. I would't like a different behavior for each mouse button
Comment 64 Patrick Silva 2023-09-20 13:38:21 UTC
*** Bug 474704 has been marked as a duplicate of this bug. ***
Comment 65 moninah 2023-10-23 18:12:49 UTC
I hope that they will do this in the near future. I really miss the ability to navigate without a context menu.
Comment 66 david.scott.brown 2023-12-06 19:34:51 UTC
This bug has been open since 2007 and its still being discussed?  This bug is old enough to get married and buy beer and cigarettes in some countries.  The dialog behavior is  literally the most Gnome like thing about KDE: you can't change it, you can't configure it, it and its weird when compared to every other desktop system out there and it limits functionality. That pretty much sums up my experience with Gnome, and why I use KDE!  (Not to knock Gnome, it's a fine DE for some people).  The most basic thing, that every single user interacts with every single day is, in my opinion and the opinion of many of the people above and in all the duplicate bugs, is broke.  Plasma 6 is coming soon, wouldn't be nice to finally offer a choice to make file copy/move on a par with every other desktop system. Further, you already have the shortcut keys labeled in the dialog, you just ignore the user's input and open the dialog anyway. At this point given the non-operational keyboard shortcuts, in my opinion this has gone from a feature request to a bug. Shortcuts don't work - this is a bug! Please prioritize and close this bug before it can buy liquor in America. :-)
Comment 67 svlmrc 2023-12-06 21:16:28 UTC
+1 for prioritize it :D

So, the relevant bits are in:
KItemListController::dropEvent https://invent.kde.org/system/dolphin/-/tree/master/src/kitemviews?ref_type=heads#L846
which on line 866 invokes 
Q_EMIT itemDropEvent(receivingWidget->index(), event);
handled in DolphinView::slotItemDropEvent https://invent.kde.org/system/dolphin/-/blob/master/src/views/dolphinview.cpp?ref_type=heads#L1321
which calls DolphinView::dropUrls https://invent.kde.org/system/dolphin/-/blob/master/src/views/dolphinview.cpp?ref_type=heads#L1341
which calls DragAndDropHelper::dropUrls https://invent.kde.org/system/dolphin/-/blob/master/src/views/draganddrophelper.cpp?ref_type=heads#L37
which calls KIO::drop https://invent.kde.org/frameworks/kio/-/blob/master/src/widgets/dropjob.cpp#L641
which ends up calling DropJobPrivate::slotStart() https://invent.kde.org/frameworks/kio/-/blob/master/src/widgets/dropjob.cpp#L240
which then calls DropJobPrivate::handleCopyToDirectory() https://invent.kde.org/frameworks/kio/-/blob/master/src/widgets/dropjob.cpp#L414
for the actual work.
Thanks @Rob D for the old analysis.

Don't know how to implement the thing, totally lost in the code, if someone wants to take a look, please do! I'm all for prioritizing it and make it into Plasma 6!
@Nate this should help a bit, hopefully.

Sidenote: also please note that the DBus call to pass the zip extraction to Ark is done in both DragAndDropHelper::dropUrls and in DropJobPrivate::slotStart(), I think that's duplicate code
Comment 68 svlmrc 2023-12-07 14:57:08 UTC
My proposal is for something like this, but again hard for me to implement 
https://bugs.kde.org/show_bug.cgi?id=474704
Basically two drop zones, one for copy marked "Copy" and one for paste maked "Paste", instead of the menu. Then of course a config option to avoid all this and just copy the files, without further notice.
Comment 69 david.scott.brown 2023-12-07 20:34:39 UTC
Thank you for the deep dive svlmrc. You have inspired me to sync the code and look at it; but, I probably can't provide much value add (python programmer). I will continue to advocate for this bug and appreciate you looking at it. How can I help? I certainly could test any alpha code if needed.
Comment 70 Nate Graham 2024-02-15 19:09:07 UTC
*** Bug 480269 has been marked as a duplicate of this bug. ***
Comment 71 Akemi Sakamoto 2024-03-07 02:25:50 UTC
Guys, i don't know if it is just me but it looks like the bug is solved on FreeBSD.
Comment 72 n0body_special 2024-04-18 07:07:59 UTC
I'm really wondering. Why are we even discussing it after so many years? Is it so hard to offer a configuration choice? Is this not the KDE way? It is VERY impressive that of all things in KDE, this is the most prominently unconfigurable. Just give users a choice, and be done with it. I'm not a coder, but I can't believe it is that hard to implement.

PS: Ι love you david.scott.brown@gmail.com :)