Bug 310016 - Regression: cannot drop files or folder on breadcrumb dropdown
Summary: Regression: cannot drop files or folder on breadcrumb dropdown
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: URL navigator (show other bugs)
Version: 5.47.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: reproducible
Depends on:
Blocks:
 
Reported: 2012-11-13 11:23 UTC by Todd
Modified: 2018-06-15 03:30 UTC (History)
6 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 Todd 2012-11-13 11:23:45 UTC
It used to be that you could drag a file or folder to the breadcrumb bar, however over one of the triangular expanders, then drop the file or folder on one of the folders in the dropdown.  This no longer works.

Reproducible: Always

Steps to Reproduce:
1. Go to a directory that whose parent directory contains other directories
2. Drag a file to the breadcrumb bar
3. While still dragging the file, hover over the triangle to the left of the current directory in the breadcrumb bar
4. Wait for the menu of other directories to pop up 
5. Drag the file to one of the entries in the menu
Actual Results:  
The entries are not highlighted on hover and you cannot drop the file on them

Expected Results:  
The entries are highlighted on however and you can drop the file on them
Comment 1 Todd 2012-11-13 11:24:20 UTC
Some additional info: If the menu is long enough to reach the file browser area, dropping the file on the menu causes the file to be dropped in the current folder, while if you drop on an area of the menu which is covering other parts of the window then the drop fails.  

This suggests that the drag and drop operation might not be interacting with the menu at all, but is rather trying to drop on the window area the menu is covering.
Comment 2 Frank Reininghaus 2012-11-13 22:21:15 UTC
Thanks for the report, I can confirm this, but I don't think that this is a Dolphin issue (KUrlNavigator comes from kdelibs). Do you happen to know what the last working version was?
Comment 3 Todd 2012-11-14 09:40:54 UTC
I am 90% sure it was working in 4.9.0 at least (there is a crash related to dropping files on the menu, and I am pretty certain I had the crash in the 4.9 series).  I am not sure whether it was working in 4.9.1.  I know it was not working in 4.9.2, and reported the problem immediately when I established it was not fixed in 4.9.3.
Comment 4 Frank Reininghaus 2012-11-14 10:00:10 UTC
Thanks for the quick response. I don't see any recent commits in either Dolphin or KUrlNavigator which look like they might be the cause. If anyone with a bit of spare time could 'git bisect' the issue (Dolphin, kdelibs and qt are possible candidates), that would be a great help.
Comment 5 Todd 2012-11-14 10:09:15 UTC
I see a couple possible commits that may be responsible for this behavior inside dolphin, but I am not sure which one (if any) is the culprit.  I have listed them in order of how likely I think they are too be the culprit, but I am by no means an expert so please don't put much, if any, credence in the ordering:

8c4fa6e03b6b6acedf3a03eef5347f38680818fe
88e24922578b4391edba2d980a632958249d6eda
f52fc1425263c2e9ca0f905e9c3d1264e4a41aae

I don't see any obvious issues in kdelibs, but again I am no expert.
Comment 6 Frank Reininghaus 2012-11-14 23:46:04 UTC
None of these commits are related to the location bar. Moreover, I just rebuilt kde-baseapps from the v4.9.0 tag, and the bug is still there. If it really did work for you in 4.9.0, then this is either a kdelibs or a Qt issue.
Comment 7 Frank Reininghaus 2013-06-19 06:21:48 UTC
I just tried it in KDE 4.7: dropping items on the "drop down" menu of the location bar in breadcrumb mode works both in Dolphin and the file dialog.

In KDE 4.10.3, it works in neither of them -> it seems that this is not a Dolphin issue.
Comment 8 Frank Reininghaus 2013-06-26 20:02:25 UTC
Interesting: When switching the widget style from Oxygen to, e.g., Plastique, it works.

@Hugo: could a change in Oxygen be responsible for this regression? Or could it be that KUrlNavigator interacts with the style incorrectly?
Comment 9 Hugo Pereira Da Costa 2013-06-26 20:05:28 UTC
Frank: will investigate, no clue yet :)
we do alter drag and drop if I remember right, to use argb background rather than euristic mask.
Maybe this is related. 
Will keep you posted; thanks for ccing
Comment 10 Nate Graham 2018-06-15 03:30:42 UTC
Still an issue in KDE Frameworks 5.47.