rodlie / qtfm

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

Bug: qtfm don't show remove dialog confirmation for symbolic link #146

Open ferion11 opened 5 years ago

ferion11 commented 5 years ago

Bug: qtfm don't show remove dialog confirmation for symbolic link.

ferion11 commented 5 years ago

If, in your selection of many files, there is symbolic links between normal files, and you press Delete key, it will show the remove dialog confirmation, but it will remove all symbolic links without confirmation first. And if you move a symbolic link, qtfm make a copy.

rodlie commented 5 years ago

This is on master (6.3)? I replaced the copy/move function in master and I might have overlooked something. Will check, I'm occupied for a couple of days, but will then dedicated a day to qtfm :)

ferion11 commented 5 years ago

Yes, is in master (6.3). It isn't a big problem for me, but is better to fix before release the 6.3 version. Take your time :)

rodlie commented 5 years ago

Will of course be fixed before release :)

ferion11 commented 5 years ago

We have some suspicious code here: https://github.com/rodlie/qtfm/blob/774b9674a325984085c7c071857e1a8cb354ab3d/fm/src/actiontriggers.cpp#L315-L338

ferion11 commented 5 years ago

There is also the fact that broken symbolic links don't show in qtfm (master 6.3). But I will see the move thing first.

ferion11 commented 5 years ago

The https://github.com/rodlie/qtfm/pull/148 fix the broken symbolic link thing. Now, for this bug report, the only thing that I remember is the move symbolic link action that don't remove the original.