Dragging folder to applications: Incorrect behaviour

Bug #1718664 reported by Martin Riethmayer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtbase-opensource-src (Ubuntu)
New
Undecided
Unassigned

Bug Description

Applies to: Kubuntu 16.04.3 (up-to-date)

Additional PPAs: ppa:kubuntu-ppa/backports

Reproducible: Always

Steps to reproduce:
1.) Create a folder with a text file and a subfolder with a text file
2.) Write some text in the text files
3.) Drag'n'Drop the folder into any text-processor (e.g. kate, kwrite)

Expected behaviour:
All text files should be opened with their content

Actual behaviour:
There will be the correct number of files opened, but they don't have content and are trying to be opened from the incorrect path. It looks like there is one folder missing from the path to the file

Did this work in earlier versions:
Yes, this works on a fully up-to-date Kubuntu 14.04

Does this work in later version:
Probably (can't test currently), it works e.g. in KDE Neon User Edition.

System information:
KDE Plasma Version: 5.8.7
KDE Frameworks Version: 5.36.0
QT Version: 5.6.1
Kernel Version 4.10.0-35-generic

Further information:
I was told that this works fine with QT 5.6.2 but do not currently have the possibility to test this myself. I was also told that the fix might be this commit in QT:

https://git.qt.io/consulting-usa/qtbase-xcb-rendering/commit/1108291e1a2e7de23440c2b36b2fd31010ae3f51

but again, I can't test this.

Revision history for this message
Martin Riethmayer (ripper-f) wrote :

I've added the PPA from https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay/ and ran

sudo apt update

and

sudo apt upgrade

Which gives me Qt Version 5.6.2. The bug remains the same.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

It looks like Qt behaves correctly here, but Kate is buggy. See https://bugs.kde.org/show_bug.cgi?id=366568, which was fixed in KDE Applications 16.12.

KWrite does not have a concept of tabs, so dropping a folder there does not make sense to me.

Is there any other application that is affected?

Revision history for this message
Martin Riethmayer (ripper-f) wrote :

Sorry for the delayed reply: I've one PC where opening folders doesn't work in "Brackets" [1] as well, but I can't reproduce this issue in a clean VM, so I'll have to investigate some more.

I'll get back as soon as I can confirm if an update of Kate fixes the issue.

http://brackets.io/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.