Bug 287444

Summary: label completion don't work properly if labels contain hyphens
Product: [Applications] kile Reporter: afcuttin
Component: editorAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 2.1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: drop-down list with labels containing hyphens

Description afcuttin 2011-11-24 09:59:11 UTC
Created attachment 66029 [details]
drop-down list with labels containing hyphens

Version:           2.1.0 (using KDE 4.7.2) 
OS:                other

If label auto completion is enabled, the act of typing \ref{} (or other similar referencing commands) triggers a drop-down list with the labels currently defined in the document (project).

Typing the name of a label narrows down the entries shown in the drop-down list.

However, when a hyphen (-) is typed, the drop-down list disappears.

Reproducible: Always

Steps to Reproduce:
1) define a label as follows:

\label{sec:sub-file:label-name}

2) save the project (or file) so that kile recognize the new entry

3) type a referencing command, such as

\ref{}

the drop-down list with the labels' names should appear

4) type the name of the label defined in step 1) till the hyphen

Actual Results:  
When the hyphen is typed, the drop-down list disappears

Expected Results:  
I should be able to type the whole name of the label, narrowing down the entries according to the characters typed, with the drop-down list always displayed.

The drop-down list shall not disappear, unless a character not included in any label is typed.
Comment 1 Andrew Crouthamel 2018-11-06 15:15:00 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Andrew Crouthamel 2018-11-18 03:23:55 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Justin Zobel 2022-12-20 07:49:47 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 4 Bug Janitor Service 2023-01-04 05:25:55 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 5 Bug Janitor Service 2023-01-19 05:16:16 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!