After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763014 - Intelligent drag-and-drop detection
Intelligent drag-and-drop detection
Status: RESOLVED OBSOLETE
Product: meld
Classification: Other
Component: general
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: meld-maint
meld-maint
Depends on:
Blocks:
 
 
Reported: 2016-03-02 22:39 UTC by csongor
Modified: 2017-12-13 19:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description csongor 2016-03-02 22:39:13 UTC
If I open Meld then at first I have to select what I want to compare 
- Files 
- Directories
- having a version control view

If I select File comparison or Directory comparison then I can drag and drop files or directories, respectively, from another programs, for example from Double Commander. This works fine. 

However, it would be good if Meld could detect what I drop into Meld. If I drop one file then the File Comparison should be selected automatically while if I drop a directory the Directory comparison should be selected. This would spare one step in the everyday use.

Thanks.
Comment 1 Kai Willadsen 2016-03-05 21:19:57 UTC
Yeah, I'm not against this. It should be possible to implement something like this in a drag-data-received handler on the NewDiffTab class. I'd be a little wary of how it feels to the user and whether it's obvious what's happened, especially since a drop of either a file or folder can just as well be a version control comparison as a file or folder comparison.

It's worth mentioning that if you drag and drop onto the window (i.e., not the file selectors) then we'll try to open up a comparison tab for whatever you dropped. However, this often won't do what you want, because it will assume you meant to open a version control comparison if given only one file.
Comment 2 GNOME Infrastructure Team 2017-12-13 19:16:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/meld/issues/103.