Bug 358522 - Fix-it hint for 'Update declaration signature' is unreliable
Summary: Fix-it hint for 'Update declaration signature' is unreliable
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (Clang-based) (show other bugs)
Version: 4.90.91
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-25 07:46 UTC by David Faure
Modified: 2016-12-13 00:15 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 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.