After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 568031 - Wrong tooltips displayed everywhere (on enter press)
Wrong tooltips displayed everywhere (on enter press)
Status: RESOLVED DUPLICATE of bug 566693
Product: anjuta
Classification: Applications
Component: plugins: editor: scintilla
SVN TRUNK
Other Linux
: Normal major
: ---
Assigned To: Sébastien Granjoux
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-16 21:36 UTC by Massimo Cora'
Modified: 2009-02-04 20:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tooltip sample (48.05 KB, image/png)
2009-01-31 10:55 UTC, Massimo Cora'
Details

Description Massimo Cora' 2009-01-16 21:36:32 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.
Comment 1 Massimo Cora' 2009-01-31 10:55:14 UTC
Created attachment 127617 [details]
tooltip sample

a sample of the tooltip appearing here and there.
Comment 2 Sébastien Granjoux 2009-02-01 11:40:41 UTC
Do you still get this ?

I don't get any completion here.
Comment 3 Massimo Cora' 2009-02-02 00:04:09 UTC
(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?
Comment 4 Sébastien Granjoux 2009-02-03 22:03:19 UTC
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.
Comment 5 Massimo Cora' 2009-02-03 23:37:12 UTC
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.
Comment 6 Sébastien Granjoux 2009-02-04 20:54:22 UTC

*** This bug has been marked as a duplicate of 566693 ***