Missing actions in the Menu
Milian Wolff
mail at milianw.de
Sun Nov 4 14:19:20 UTC 2012
On Sunday 04 November 2012 16:50:37 Ivan Shapovalov wrote:
> On 31 Oct 2012 21:55:02 Andreas Pakulat wrote:
> > Hi,
> >
> > On Wed, Oct 31, 2012 at 7:37 PM, Milian Wolff <mail at milianw.de> wrote:
> > > On Wednesday 31 October 2012 18:15:17 Andreas Pakulat wrote:
> > >> Hi,
> > >>
> > >> I just started a fresh kdevelop instance and noticed that various
> > >> things are missing from my Project menu, all the actions supplied by
> > >> the projectcontroller.cpp are not visible. Since this seems to be a
> > >> local problem (olijg said they're there for him) I'm wondering wether
> > >> anybody has an idea what this might be.
> > >>
> > >> I've already checked the code (no local modifications or unpushed
> > >> commits) and the ui.rc files for kdevelop (they contain the actions in
> > >> both install folder and HOME/.kde). Where was the code again that
> > >> re-arranged the standard xmlgui-structure to what we want it to look
> > >> like? Since these actions are supplied by code in shell// a non-loaded
> > >> plugin is also out of the question.
> > >
> > > Try to remove your *ui.rc files in $KDEHOME/share/apps, i.e. something
> > > like
> > >
> > > find $KDEHOME/share/apps -path "*kdev*" -name "*.ui.rc" [-delete]
> >
> > Thats what I mean with having checked the $HOME/.kde/ sutff rc-files,
> > the kdevelopui.rc has project_open under the Project menu.
> >
> > I actually just built kdevelop/master on another machine and have the
> > exact same effect there.
> >
> > Andreas
>
> Finally I've got them too. The problematic commit seems to be
> 580d74a641471204203a40368c299a779da7c7c9 "Refactor TestProjectController and
> TestProject to be closer to reality.".
>
> In this commit, the ProjectController's initialization code (specifically, a
> call to setupActions()) has been moved from the ctor to
> ProjectController::initialize() method.
> Since core initializes ui controller before project controller, the actions
> added by the latter are left invisible.
Ough, nasty... I'll try to get a unit test for that and a fix up and running.
Thanks for investigating Ivan!
Cheers
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20121104/8e7b9f6d/attachment.sig>
More information about the KDevelop-devel
mailing list