Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268403 - dev-util/qt-creator : (Included Patch and Ebuild) Cannot add new files to project node in generic project
Summary: dev-util/qt-creator : (Included Patch and Ebuild) Cannot add new files to pro...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Markos Chandras (RETIRED)
URL: http://lists.trolltech.com/pipermail/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-03 10:37 UTC by Yuri Sevatz
Modified: 2009-05-06 13:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixes a bug preventing the addition of new files into a generic project (fixgennode.patch,553 bytes, patch)
2009-05-03 10:38 UTC, Yuri Sevatz
Details | Diff
Ebuild for the above patch (qt-creator-1.1.0-r001.ebuild,2.51 KB, text/plain)
2009-05-03 10:43 UTC, Yuri Sevatz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Sevatz 2009-05-03 10:37:30 UTC
I tracked down a bug that prevents ALL OS's/installations from adding files/creating new files in generic projects.

And here is a patch/new ebuild :)

Reproducible: Always

Steps to Reproduce:
1.Create a non qt-based project
2.Open Project Explorer
3.Right-click root node, close the right click, open right-click again

Actual Results:  
Prevents you from adding new files the second time you right-click, and every time after.  (I checked the source, it's guaranteed).

Expected Results:  
Being able to add new files without having to restart :)

I gave this to upstream, but it'll likely have to wait until the next official build before we can add files to a project, something that many developers (including me... for _major_ sidetracking from vlc-development onto THIS :P) -- won't want to wait for.

This is a very minor fix - on a very important feature.
Comment 1 Yuri Sevatz 2009-05-03 10:38:53 UTC
Created attachment 190212 [details, diff]
Fixes a bug preventing the addition of new files into a generic project
Comment 2 Yuri Sevatz 2009-05-03 10:43:16 UTC
Created attachment 190213 [details]
Ebuild for the above patch

Ebuild for this patch.

(Note: even if we don't put this into cvs, I'm sure some will come looking for this bug here.)
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2009-05-04 12:39:01 UTC
Thanks for reporting this. Could you please give me a link with the upstream report of this issue? Did you use the mailing list or something? I want to track this bug report before applying this to portage
Comment 4 Yuri Sevatz 2009-05-05 05:00:48 UTC
(In reply to comment #3)
> Thanks for reporting this. Could you please give me a link with the upstream
> report of this issue? Did you use the mailing list or something? I want to
> track this bug report before applying this to portage
> 

http://lists.trolltech.com/pipermail/qt-creator/2009-May/002896.html

Seems they still haven't reacted.  This is the mailing list.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2009-05-05 11:07:21 UTC
Thank you. I ll wait a bit longer for their answer. I ll try to talk to them on #qt-creator channel on irc as well
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2009-05-06 13:29:00 UTC
Here is the log with the qt-creator upstream

---------------------------------------------
[16:19:43] <hwoarang> hey eike. Did you manage to see this patch ? -> http://lists.trolltech.com/pipermail/qt-creator/2009-May/002896.html
[16:19:56] <hwoarang> we have a downstream bug abou this http://bugs.gentoo.org/show_bug.cgi?id=268403
[16:20:11] <hwoarang> so i want an answer from the official upstream before applying it
[16:20:11] <hwoarang> :)
[16:21:25] -*- eike tries to figure out how to see that patch
[16:21:52] <hwoarang> eike:  here
[16:21:53] <hwoarang> http://bugs.gentoo.org/attachment.cgi?id=190212
[16:23:25] <b_lindeijer> hwoarang: Doesn't that enable the option to add files to the project?
[16:23:45] <b_lindeijer> This action isn't actually supported yet for the generic project.
[16:24:10] <hwoarang> i am not excactly sure. i am not the reporter of this bug
[16:24:28] <hwoarang> on downstream bug there are some steps to reproduce it
[16:24:41] <hwoarang> so it is not a bug, it is a "not implemented" feature?
[16:24:48] <eike> hwoarang: yeah, with the patch the action is enabled, but does nothing
[16:25:21] <eike> GenericProjectNode::addFiles is a noop
[16:25:52] <hwoarang> mmm
[16:25:52] <b_lindeijer> I have a todo to implement it (shouldn't be that hard), but until then the action really should be disabled.
[16:26:42] <hwoarang> I ll post the log on our bug then :)
[16:26:46] <hwoarang> thank you
[16:27:01] <eike> hwoarang: np :)
-----------------------------------------------------------------

JetDog, if something is unclean to you , you can contact eike on #qt-creator channel.

This bug is invalid for now according to upstream :)

Closing as INVALID. Re-open it if you have objections