This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Assistant applying changes while searching.

Tags: None
(comma "," separated)
jdickson
Registered Member
Posts
1
Karma
0
Is there any way to change the location where the 'Assistant' popup appears?
A couple of times a week I usually start getting bizzare compile errors when using KDevelop as my IDE. After tracking the issue down I usually find an extra file #include'd - sometimes it's not even a source file. I've also had function signitures changed on me, which is downright evil when my virtual functions start getting hidden...
I finally caught one of the problems in action today. I was using the mouse to click the 'Previous' button, which placed the cursor near a location that was flagged as a semantic problem. I needed to find the previous instance so without moving the mouse I clicked again. I saw the 'Assistant' popup, covering both 'Next' and 'Previous' just as I pressed the mouse button down. The signature was changed from func( Base* ) to func( Derived* ) which I did not want.
The 'Assistant' should never appear under the mouse cursor in my opinion, but the default location at the bottom of the editor just happens to be a really bad place given where the find controls are.
I don't see any documentation about the 'Assistant' adding #include lines, if it does not, does anyone know what would cause that to happen from time to time?

Thanks
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Including files can happen accidentially when using the code completion feature; depending on your include paths, kdev might produce the "add include" items in the completion when you type names like "c" or so. This is sort of a bug which needs to be fixed (the behavior is not actually wrong, it's just bad usability-wise).

For the assistant, I agree, it should be placed at the bottom of the visible part of the editor window, and not on top of the search toolbar. I don't know how difficult it is to do technically, though.

It would probably be a good idea to report a bug for both issues (seperately) on bugs.kde.org.

Cheers,
Sven


I'm working on the KDevelop IDE.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]