<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>365626</bug_id>
          
          <creation_ts>2016-07-13 17:10:14 +0000</creation_ts>
          <short_desc>Can&apos;t drag and drop files from Dolphin to programs on the task manager</short_desc>
          <delta_ts>2016-08-12 10:46:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Task Manager and Icons-Only Task Manager widgets</component>
          <version>5.7.1</version>
          <rep_platform>Neon</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="KDE Neon user">emailmeat</reporter>
          <assigned_to name="Kai Uwe Broulik">kde</assigned_to>
          <cc>kde</cc>
    
    <cc>plasma-bugs-null</cc>
          
          <cf_commitlink>http://commits.kde.org/plasma-desktop/56a21fe0ec121059fb8d59b6ad68be8a9022ec44</cf_commitlink>
          <cf_versionfixedin>5.8.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1607672</commentid>
    <comment_count>0</comment_count>
    <who name="KDE Neon user">emailmeat</who>
    <bug_when>2016-07-13 17:10:14 +0000</bug_when>
    <thetext>I assume that this feature already existed, since while holding the mouse down to drag a file, it shows a green icon when I hover an appropriate program. However, nothing happens.

Reproducible: Always

Steps to Reproduce:
1. Create a text file
2. Try to drag and drop it to Firefox or Kate


Actual Results:  
Nothing happens, even though the badge changes to a green icon, as a sign that it is possible to drag the file to those programs.

Expected Results:  
It should be possible to drag and drop files to programs that support viewing or editing them. 

If this feature never existed before, please move this issue to the wishlist. This is a feature that has existed for a long time on Windows and I miss it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1607673</commentid>
    <comment_count>1</comment_count>
    <who name="KDE Neon user">emailmeat</who>
    <bug_when>2016-07-13 17:12:02 +0000</bug_when>
    <thetext>Step 2 should read: &quot;Try to drag and drop it to Firefox or Kate entries on the task manager&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1607879</commentid>
    <comment_count>2</comment_count>
    <who name="Eike Hein">hein</who>
    <bug_when>2016-07-14 07:43:52 +0000</bug_when>
    <thetext>This is indeed a missing feature. However I agree it should be implemented. I&apos;m currently very preoccupied with bugfixing work, so it might take a while.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1613052</commentid>
    <comment_count>3</comment_count>
    <who name="Kai Uwe Broulik">kde</who>
    <bug_when>2016-08-10 08:24:35 +0000</bug_when>
    <thetext>I&apos;ll look into this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1613100</commentid>
    <comment_count>4</comment_count>
    <who name="KDE Neon user">emailmeat</who>
    <bug_when>2016-08-10 13:52:38 +0000</bug_when>
    <thetext>Thank you, Kai!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1613492</commentid>
    <comment_count>5</comment_count>
    <who name="Kai Uwe Broulik">kde</who>
    <bug_when>2016-08-12 10:46:34 +0000</bug_when>
    <thetext>Git commit 56a21fe0ec121059fb8d59b6ad68be8a9022ec44 by Kai Uwe Broulik.
Committed on 12/08/2016 at 10:45.
Pushed by broulik into branch &apos;master&apos;.

[Task Manager] Allow dropping files onto tasks

This allows to drop files onto entries in the task manager.
Both single and multiple files are supported.

When all dropped items are desktop files for applications, such as dragging apps
from Kickoff, a launcher is created for each item.
Otherwise the application is launched with those URLs as arguments and behavior
depends on the application. It might open the file(s) in new tab(s) of an existing
instance, open a new window with tabs, open new windows for each files, etc.
FIXED-IN: 5.8.0

Differential Revision: https://phabricator.kde.org/D2392

M  +4    -2    applets/taskmanager/package/contents/ui/MouseHandler.qml
M  +25   -1    applets/taskmanager/package/contents/ui/main.qml
M  +29   -13   applets/taskmanager/plugin/backend.cpp
M  +5    -1    applets/taskmanager/plugin/backend.h

http://commits.kde.org/plasma-desktop/56a21fe0ec121059fb8d59b6ad68be8a9022ec44</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>