Bug 358522

Summary: Fix-it hint for 'Update declaration signature' is unreliable
Product: [Applications] kdevelop Reporter: David Faure <faure>
Component: Language Support: CPP (Clang-based)Assignee: kdevelop-bugs-null
Status: RESOLVED WAITINGFORINFO    
Severity: normal    
Priority: NOR    
Version First Reported In: 4.90.91   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description David Faure 2016-01-25 07:46:27 UTC
Type this:


class FooPrivate
{
    void foo();
};

void FooPrivate::foo()
{
}

Then go to ::foo() and make it ::foo(bool). Wait a long time (too long a time IMHO) and a fixit hint will appear suggesting "Update method signature". Ignore it, type space then 'b'
(i.e. void FooPrivate::foo(bool b)). The fixit hint went away, and isn't coming back.

Reproducible: Always



Expected Results:  
It should offer me to update the method signature in order to insert "bool b".
Comment 1 Kevin Funk 2016-12-13 00:15:42 UTC
Could you try again? This works & is reasonably fast for me. Update signature hint (yellow underline nowadays) pops up within a second.

Using clipboardupdatertest.cpp from kio.git as test-case.