KDE/kdevplatform/plugins/projectmanagerview

Andreas Pakulat apaku at gmx.de
Wed Jul 8 18:55:12 UTC 2009


On 08.07.09 20:45:47, Aleix Pol wrote:
> On Wed, Jul 8, 2009 at 8:38 PM, Andreas Pakulat <apaku at gmx.de> wrote:
> 
> > On 08.07.09 18:20:44, Aleix Pol Gonzalez wrote:
> > > SVN commit 993469 by apol:
> > >
> > > Do not assert and return a null pointer instead so that we don't get a
> > crash in case that you press build when it's reloading or something like
> > that.
> >
> > Uhm, without more context from the diff (don't have sources available atm):
> > Why do we reach this code at all if the item to be built is not available
> > in the tree. If an item is being reloaded the build actions should be
> > disabled if that item is selected. If the item is part of a buildset, then
> > the building should either also be disabled or the buildset should build
> > all but this item.
> 
> I see your point but i can't see why would that make the user experience
> better. He would just get flickering while reloading the project.

Well, then don't make it flicker :P In any case, if a certain action cannot
be executed it cannot be enabled, it _has_ to be disabled. Reloading a
certain folder might take a considerable amount of time.

Andreas

-- 
You have been selected for a secret mission.




More information about the KDevelop-devel mailing list