GNOME Bugzilla – Bug 568031
Wrong tooltips displayed everywhere (on enter press)
Last modified: 2009-02-04 20:54:22 UTC
I'm reporting here a bug confirmed (on irc) by Sébastien. It refers to weird completions signaled on comments #3 -> #6 in bug #566693. I report here the steps to reproduce it: 1. create a foobar generic c project 2. be sure to use Scintilla 3. Add a c++ class, call it foo.cpp with header foo.hpp 4. go on foo.hpp and write somewhere "g_free (" 5. a completion would popup 6. write inside the brackets something and close them with a semicolon at the end. 7. press enter. You see the g_free () completion everytime, which shouldn't be there.
Created attachment 127617 [details] tooltip sample a sample of the tooltip appearing here and there.
Do you still get this ? I don't get any completion here.
(In reply to comment #2) > Do you still get this ? > > I don't get any completion here. > yes I still get them. Have you enabled for instance the flag "automatic scan project's packages" from prefs? Or maybe you don't have global completions enabled but project's ones yes?
Ok, I have found the difference between sourceview and scintilla. assist->priv->pre_word is NULL with scintilla while it is "" with sourceview. Setting it to "" instead of NULL fix the bug, but I need to investigate a bit further to see what's happen exactly.
great! I didnt' see the answer or irc because I was away but it's fine that you've found a procedure to recreate the bug.
*** This bug has been marked as a duplicate of 566693 ***