rodlie / qtfm

Qt File Manager
https://qtfm.eu
GNU General Public License v2.0
158 stars 46 forks source link

Drag and drop to file tree forbidden #54

Closed anilsg closed 6 years ago

anilsg commented 6 years ago

When I select and drag files from the main pane to the left hand side bookmarks list pane, I can drop the files into the bookmarked folders there.

When dragging same files to the file tree below them, to the same folder, drag and drop shows a forbidden / no entry cursor and will not drop the files there. I expected this to initiate a copy/move as for the bookmarked folders.

Also, when dragging over a folder I'm pretty sure there used to be an indicator that a particular folder was selected for drop, like a rectangular blue highlight around it or something. That highlight no longer happens so it's a bit hit and miss to make sure you get the right folder.

Qtfm 6.1.0 built from https://github.com/rodlie/qtfm 2018-07-29T20:47

rodlie commented 6 years ago

The tree does not support drag and drop (tree is basically just an overview of the filesystem), I don't see any reason why it shouldn't, will try to add before I release a new beta.

I noticed that highlight is missing in bookmarks, a bit unsure why it's gone, but it's on my TODO. It's probably stylesheet related (adding stylesheet commands seems to break existing stuff)

rodlie commented 6 years ago

I must have disabled the indicators when I debugged a issue with qt4 some days ago.

copy/move works in tree, seems that disabling the indicator on the tree also disabled copy/move.

anilsg commented 6 years ago

Confirmed all fixed. Drag and drop working with indicators to bookmarked folders and tree folders.

rodlie commented 6 years ago

Great :+1: