Bug 318267 - Kile frequently overwrites closing curly brackets / braces when an additional character of the same type is added
Summary: Kile frequently overwrites closing curly brackets / braces when an additional...
Status: REPORTED
Alias: None
Product: kile
Classification: Applications
Component: editor (show other bugs)
Version: 2.1.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-12 23:08 UTC by reescf
Modified: 2019-06-02 00:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description reescf 2013-04-12 23:08:37 UTC
In the examples below | represents the position of the cursor and not a literal '|'. There are no literal '|' characters in the examples.

When I am entering code, I frequently work within a pair of curly brackets or braces. For example:
\textbf{This is some bold |}
Often, I then have another pair within that pair. For example:
\textbf{This is some bold \emph{and emphasised|}
If I want to finish emphasis there, I type a closing curly bracket/brace:
\textbf{This is some bold \emph{and emphasised}|
But this is not what I wanted at all. I've added a new closing curly bracket but Kile, rather than adding the additional closing curly bracket has simply overwritten the existing one. So although I've entered two closing curly brackets, I've only ended up with one. In order to get two, I have to enter my new, inner closing curly bracket and then retype the existing, outer closing curly bracket.
What I would like Kile to do is this:
\textbf{This is some bold \emph{and emphasised}|}
That way, I can continue in bold text, with my outer, existing curly bracket still where I put it.

Reproducible: Always

Steps to Reproduce:
1. Type \textbf{This is some bold \emph{and emphasised}
2. Position the insertion point just before the closing curly bracket
3. Type an additional closing curly bracket
Actual Results:  
\textbf{This is some bold \emph{and emphasised} with cursor placed after the closing curly bracket.

Expected Results:  
\textbf{This is some bold \emph{and emphasised}} with cursor placed between the inner closing curly bracket and the outer closing curly bracket

This did not happen in older versions of Kile but I cannot recall exactly when the behaviour changed.

I now see the same bug on Fedora 17 since KDE/Kile has been updated recently. So the issue is not specific to Arch's packages and is probably not due to a configuration change on my part. (I have tried to eliminate possible configuration issues but Kile is complex software so I cannot absolutely rule this out.)
Comment 1 Andrew Crouthamel 2018-11-10 03:17:31 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-20 04:06:56 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 Kevin 2019-06-02 00:29:05 UTC
This bug still occurs on Kile, Kwrite, and Kate and now might be a duplicate of a bug introduced in the initial fix to this issue:
https://bugs.kde.org/show_bug.cgi?id=368580