Bug 353656

Summary: Closing braces disappear
Product: [Applications] kile Reporter: Victor Porton <porton>
Component: editorAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED WORKSFORME    
Severity: minor Keywords: investigated, triaged
Priority: NOR    
Version First Reported In: 2.1.3   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Victor Porton 2015-10-07 15:47:33 UTC
When we insert a closing brace and the cursor is before an existing brace, the existing brace disappears. This is very inconvenient (as in the "Steps to Reproduce" below).

Reproducible: Always

Steps to Reproduce:
Below "|" means the position of cursor, not "|" character.

Consider we have

\sqrt{|}

Now we want to insert "\mathcal{A}" under the root. Type: \mathcal{A

\sqrt{\mathcal{A|}

Then type "}". At this point the existing closing brace disappear confusing the things.

This is very inconvenient. There should be a mode to disable "overwriting" closing braces. I want when I insert a new "}" the existing "}" after the cursor do not disappear.

Actual Results:  
\sqrt{\mathcal{A}

Expected Results:  
\sqrt{\mathcal{A}}
Comment 1 Michel Ludwig 2016-12-29 08:26:47 UTC
Thanks for reporting a problem with Kile.

Unfortunately, it seems that I currently cannot reproduce the problem you reported using the master branch.

Did you invoke code completion as well when typing "\mathcal..."?
Comment 2 Victor Porton 2016-12-29 12:01:54 UTC
I type it completely as if code completion didn't exist.

You should not press Enter or Tab at any point when trying to reproduce my bug.
Comment 3 Andrew Crouthamel 2018-09-19 14:33:30 UTC
This bug has had its resolution changed, but accidentally has been left in NEEDSINFO status. I am thus closing this bug and setting the status as RESOLVED to reflect the resolution change.