extragear/sdk/kdevplatform/shell

Niko Sams niko.sams at gmail.com
Wed Feb 3 21:29:57 UTC 2010


On Wed, Feb 3, 2010 at 22:02, Milian Wolff <mail at milianw.de> wrote:
> Andreas Pakulat, 03.02.2010:
>> On 03.02.10 20:47:27, Niko Sams wrote:
>> > SVN commit 1084827 by nsams:
>> >
>> > Add some more NoUI ifs.
>> > Store sessions additionally in a QList as in NoUI mode creating KActions
>> > is not possible. Fixes at least gdbtest and duchainify.
>>
>> Please revert at least the keeping of an extra list. Why is that needed?
>> You can easily put Session*,0 into the hash.
>>
>> Frankly, I think we should just drop the noui stuff, after all we're
>> building a _GUI_ app so IMHO its just fine if all core components assume
>> they do have a GUI available.  If you want a unit-test that doesn't need
>> a GUI, then you'll have to revert to not creating the autotestshell.
>
> @Niko: I once wanted to push that as well but also hit against the wall. Now
> that a friend of mine showed me Xvfb there is no need for these patches (esp.
> considering that they add unneeded "overhead" (code wise) to maintain).
>
> So revert and use Xvfb.
I'm running them locally, with an X-Server avaliable.
What am I doing wrong?

Oh, and if that NoUI stuff is broken we should completely remove it.

Niko




More information about the KDevelop-devel mailing list