Bug 367814 - Text after opening parenthesis in Quick Open textbox prohibits suggestions
Summary: Text after opening parenthesis in Quick Open textbox prohibits suggestions
Status: CONFIRMED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: quickopen (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-25 19:22 UTC by Denis Kurz
Modified: 2016-08-25 20:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.