Bug 367814

Summary: Text after opening parenthesis in Quick Open textbox prohibits suggestions
Product: [Developer tools] kdevplatform Reporter: Denis Kurz <kdenis>
Component: quickopenAssignee: kdevelop-bugs-null
Status: CONFIRMED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Denis Kurz 2016-08-25 19:22:29 UTC
Whenever the Quick Open textbox contains any text after the opening parenthesis of a method or function I'd like to quickopen, the list of suggested Quick Open locations is empty. Deleting text after the opening parenthesis fills the list of suggestion again.

Reproducible: Always

Steps to Reproduce:
1. Enter "<Class>::<method>(" for any of your classes and methods in Quick Open
2. Append ")", or anything else, like the type of the first parameter
3. Delete everything after the "(" again

Actual Results:  
After 1., there is a non-empty list of suggestions of locations that you can quickopen, including your <Class>::<method>.
After 2, this list is cleared.
After 3, the list is restored.

Expected Results:  
After 2, the list should only be cleared if there is no function/method with matching parameters. "<method>()" after the function name should give the same results as "<method>", optionally prioritizing the version of method that does not take arguments (in the case <method> is overloaded).
Comment 1 Kevin Funk 2016-08-25 20:00:45 UTC
Can confirm.