<?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>375016</bug_id>
          
          <creation_ts>2017-01-13 18:53:13 +0000</creation_ts>
          <short_desc>k3b 17.04: cannot add files to data project</short_desc>
          <delta_ts>2017-02-13 20:31:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>k3b</product>
          <component>Data Project</component>
          <version>unspecified</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Eklöf">daniel</reporter>
          <assigned_to name="K3b Bugs">k3b-bugs-null</assigned_to>
          <cc>bison.paolo</cc>
    
    <cc>bugseforuns</cc>
    
    <cc>demm</cc>
    
    <cc>michalm</cc>
    
    <cc>rikmills</cc>
    
    <cc>simonandric5</cc>
    
    <cc>trueg</cc>
    
    <cc>zhaixiang</cc>
          
          <cf_commitlink>https://commits.kde.org/k3b/d21096fa6e10fe03e524a1b0beeb0b16a0c22681</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1654111</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Eklöf">daniel</who>
    <bug_when>2017-01-13 18:53:13 +0000</bug_when>
    <thetext>I&apos;ve been using the git version of k3b (2.10?/17.04) for a couple of months now. It&apos;s been working great, up until 1-2 months ago, when for some reason adding files to data project simply does not work.

That is, I cannot drag-and-drop or double-click files to add them. Using Project -&gt; Add Files also does not work.

With &quot;does not work&quot; I mean the added files to not show up in the project and the projects file count and size remains 0.

No error messages as far as I can tell. journalct -e only shows:

jan 13 19:48:33 tiny k3b[12347]: url list drop
jan 13 19:48:33 tiny k3b[12347]: (K3b::DataUrlAddingDialog) using locale codec:  UTF-8
jan 13 19:48:56 tiny k3b[12347]: (K3b::DataUrlAddingDialog) using locale codec:  UTF-8

Note that e.g. burning ISOs work, but that I haven&apos;t tested any other kind of projects (audio, video).

Current version is 17.04.00.r6074.fd4ab1c19 (https://github.com/KDE/k3b/commit/fd4ab1c19a6e51766bb2dd66e826230bd53b020d)

I&apos;m afraid I don&apos;t know exactly when this started happening as I don&apos;t update my build that often.

I assume this is not expected...? Even though it&apos;s not a real release.

If this is caused by some kind of misconfiguration on my end, I&apos;d welcome all suggestions as to what may be wrong...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654170</commentid>
    <comment_count>1</comment_count>
    <who name="">demm</who>
    <bug_when>2017-01-14 03:03:22 +0000</bug_when>
    <thetext>Issue confirmed in KaOS, see the discussion:
https://forum.kaosx.us/d/1785-k3b-unable-to-add-files

Last known good commit that did not show this issue was September 28:
https://github.com/KDE/k3b/tree/8102d390e763abc1e4db2954798930e5f04d6370</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654410</commentid>
    <comment_count>2</comment_count>
    <who name="Pable">bison.paolo</who>
    <bug_when>2017-01-15 12:40:41 +0000</bug_when>
    <thetext>Same problem here. I opened the thread on KaOS forum.

If more info are required, please let me know.

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654661</commentid>
    <comment_count>3</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2017-01-16 15:32:59 +0000</bug_when>
    <thetext>I can confirm this problem on Arch.
I&apos;m running 17.04 installed from aur repository.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660307</commentid>
    <comment_count>4</comment_count>
    <who name="Rik Mills">rikmills</who>
    <bug_when>2017-02-11 12:05:23 +0000</bug_when>
    <thetext>I see the same issue when testing my git snapshot build for kubuntu testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660364</commentid>
    <comment_count>5</comment_count>
    <who name="Kai Uwe Broulik">kde</who>
    <bug_when>2017-02-11 16:05:01 +0000</bug_when>
    <thetext>Git commit d21096fa6e10fe03e524a1b0beeb0b16a0c22681 by Kai Uwe Broulik.
Committed on 11/02/2017 at 16:03.
Pushed by broulik into branch &apos;master&apos;.

Fix adding files to data project

In cf01ff3159dbddb97e0e67246dee16441a64984a this broke by randomly using QSharedPointer in the wrong way.
There was only this one item being referenced, once it fell out of scope it got deleted, and then by the
time the event loop returned and the queued invocation was processed, the object was already gone.

Just use WA_DeleteOnClose which will clean up nicely once we&apos;re done.

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

M  +9    -7    src/projects/k3bdataurladdingdialog.cpp

https://commits.kde.org/k3b/d21096fa6e10fe03e524a1b0beeb0b16a0c22681</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660716</commentid>
    <comment_count>6</comment_count>
    <who name="Leslie Zhai">zhaixiang</who>
    <bug_when>2017-02-13 01:45:07 +0000</bug_when>
    <thetext>Sorry for my misunderstanding of QSharedPointer http://www.leetcode.cn/2016/08/k3b.html#bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660881</commentid>
    <comment_count>7</comment_count>
    <who name="Daniel Eklöf">daniel</who>
    <bug_when>2017-02-13 20:31:32 +0000</bug_when>
    <thetext>Thanks, works just fine! Nice catch!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>