Bug 66039 - Overloaded Function in C++, Tool tip on the sceen can not type
Summary: Overloaded Function in C++, Tool tip on the sceen can not type
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevelop
Classification: Applications
Component: Code completion (show other bugs)
Version: 2.1.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-14 23:07 UTC by Daniel Daugherty
Modified: 2003-12-17 09:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Daugherty 2003-10-14 23:07:42 UTC
Version:           2.1.5 (using KDE 3.1.1)
Installed from:    SuSE
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-64GB-SMP

If you have a class in C++ and create and object of that class. If you call a member function of that class that is overloaded, and both except a paramiter. The tool tip is displayed on the screen (Tool tip - the tan box that displays the function deffinition). The user can not type until he moves his mouse and either clicks the tool tip, or clicks some place else on the screen.

Example code that can cause the error:
int main()
{
  ZString Z1("Hello, World!");
  Z1.Print(cout);
  cout << endl;
  Z1.String_Copy("Test");
  Z1.Print(cout);
  cout << endl;
  Z1.String_Concat("This");
  Z1.Print(cout);
  ZString Z2("Linux");
  Z2.Print(cout);
  cout << endl;
  Z1.String_Concat(Z2);
  Z1.Print(cout);	
  cout << endl;

  return EXIT_SUCCESS;
}

The lines that will cause this to happen are the ones where you type String_Concat because I have the function overloaded with a C-Type string, and an object of my class. It does not happen with functions like Print because they are not overloaded. It also does not happen when you call the copy constructor of ZString because no tool tip is displayed.
Comment 1 Daniel Daugherty 2003-10-14 23:18:25 UTC
Also it does not happen with in the class. If I were to call an overloaded member function from with in a function in the class, everything works the way it should.
Comment 2 Jens Dagerbo 2003-12-17 09:25:00 UTC
The KDevelop-2.x series has been discontinued and no further bugfix releases are planned by the KDevelop project.

This bug does not appear in KDevelop3. Closing.