BUG in tools configuration - and a patch
Marcus Gruendler
runner at pool.informatik.rwth-aachen.de
Wed Nov 10 19:13:48 GMT 1999
Hi developers!
Unfortunately there is still a bug in the toolsconfiguration in
KDevelop Beta4.1.
The problem is that some information in the kdeveloprc config file is
not generated correctly during the first execution of KDevelop. The value
of the entry "Tools_argument" is initialised wrong.
This leads to some strange behaviour when you add new tools that have
commandline arguments.
I think the problem is that the configuration is not written correctly
into the kdeveloprc configuration file. Here is a part of this file just
after initialization:
...
[ToolsMenuEntries]
Tools_argument=
Tools_entry=K&Debugger,K&IconEdit,K&Paint,
Tools_exe=kdbg,kiconedit,kpaint,
...
When you add a new entry these lines look like that:
...
[ToolsMenuEntries]
Tools_argument= %D,
Tools_entry=K&Debugger,K&IconEdit,K&Paint,&Cervisia,
Tools_exe=kdbg,kiconedit,kpaint,cervisia-starter,
...
The second line should look like this:
Tools_argument=, , , %D,
^-^-^---- these commata are important!!!
I've found the piece of code where the initialization went wrong and have
provided a patch. This patch also fixes a small bug: you don't have to insert
a blank before your commandline option anymore.
Bye, Marcus
--
Marcus Gruendler runner at pool.informatik.rwth-aachen.de
http://www-users.rwth-aachen.de/Marcus.Gruendler/index_en.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tools-config.patch.gz
Type: application/x-gzip
Size: 547 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/19991110/da029abb/attachment.bin>
More information about the KDevelop
mailing list