Bug 401081

Summary: Change parameter name in declaration of function inserts "classname::" on begin its name
Product: [Applications] kdevelop Reporter: Piotr Mierzwinski <piotr.mierzwinski>
Component: Language Support: CPP (Clang-based)Assignee: kdevelop-bugs-null
Status: RESOLVED WORKSFORME    
Severity: normal CC: piotr.mierzwinski
Priority: NOR    
Version First Reported In: 5.3.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Piotr Mierzwinski 2018-11-15 20:28:02 UTC
SUMMARY
In my Qt5 project I have class "ColumnsPage". 
I went to declaration of some function (with one int type parameter). Renamed parameter and accepted "Solution". In result it has been broken.
It looks like regression. I don't remember that something like that happen in previous version (5.2.x)

STEPS TO REPRODUCE
1. Open C++ project
2. Open header file
3. Find function with one parameter (I suppose type doesn't matter) which has its definition in cpp file
4. Rename parameter and accept suggested "Solution"

OBSERVED RESULT
	int ColumnsPage::columnWidth(int nLogicId)
;

EXPECTED RESULT
	int columnWidth(int nLogicId);

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: YES
(available in About System)
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.52
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Comment 1 Piotr Mierzwinski 2018-11-15 20:32:09 UTC
Just update.
In definition renamed parameter has been applied in body of this function (great), but not applied in its header, so remained as:
    int ColumnsPage::columnWidth( int nId )
Comment 2 Justin Zobel 2022-12-03 09:01:38 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-12-18 05:15:11 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2023-01-02 05:29:15 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!