Summary: | k3b 17.04: cannot add files to data project | ||
---|---|---|---|
Product: | [Applications] k3b | Reporter: | Daniel Eklöf <daniel> |
Component: | Data Project | Assignee: | k3b developers <k3b> |
Status: | VERIFIED FIXED | ||
Severity: | major | CC: | bison.paolo, bugseforuns, demm, michalm, rikmills, simonandric5, trueg, zhaixiang |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/k3b/d21096fa6e10fe03e524a1b0beeb0b16a0c22681 | Version Fixed In: | |
Sentry Crash Report: |
Description
Daniel Eklöf
2017-01-13 18:53:13 UTC
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 Same problem here. I opened the thread on KaOS forum. If more info are required, please let me know. Thanks I can confirm this problem on Arch. I'm running 17.04 installed from aur repository. I see the same issue when testing my git snapshot build for kubuntu testing. Git commit d21096fa6e10fe03e524a1b0beeb0b16a0c22681 by Kai Uwe Broulik. Committed on 11/02/2017 at 16:03. Pushed by broulik into branch 'master'. 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're done. Differential Revision: https://phabricator.kde.org/D4571 M +9 -7 src/projects/k3bdataurladdingdialog.cpp https://commits.kde.org/k3b/d21096fa6e10fe03e524a1b0beeb0b16a0c22681 Sorry for my misunderstanding of QSharedPointer http://www.leetcode.cn/2016/08/k3b.html#bug Thanks, works just fine! Nice catch! |