Public bug reported: For 17.10, please treat this as a 0-day SRU bug report.
[Impact] Without this fix, in any text editor that uses this framework (Kate and KDevelop are two of them), the text editor unexpectedly and automatically indents when the user types any of the following characters directly after a function (which is indented): u, n, d, e, f, i and n [Test Case] 1. Open Kate. 2. On the lower right corner, set the syntax highlighting to Python (default for .py files). 3. Type the following code, go to a new line, and backspace so your cursor is not indented like the print function: def func(): print("foo") 4. Type "abcd" The cursor should stay where it is, but instead after pressing "d" it autoindents. [Regression Potential] There is little to no regression potential, unless somehow the trigger character is undefined but needs to automatically indent for some reason (which, it should be defined in the template anyways, it shouldn't need hardcoding in this spot). ** Affects: ktexteditor (Ubuntu) Importance: Medium Assignee: Simon Quigley (tsimonq2) Status: Confirmed ** Affects: ktexteditor (Ubuntu Artful) Importance: Medium Assignee: Simon Quigley (tsimonq2) Status: Confirmed ** Affects: ktexteditor (Ubuntu Bb-series) Importance: Medium Assignee: Simon Quigley (tsimonq2) Status: Confirmed ** Also affects: ktexteditor (Ubuntu Bb-series) Importance: Undecided Status: New ** Also affects: ktexteditor (Ubuntu Artful) Importance: Undecided Status: New ** Changed in: ktexteditor (Ubuntu Artful) Assignee: (unassigned) => Simon Quigley (tsimonq2) ** Changed in: ktexteditor (Ubuntu Bb-series) Assignee: (unassigned) => Simon Quigley (tsimonq2) ** Changed in: ktexteditor (Ubuntu Artful) Importance: Undecided => Critical ** Changed in: ktexteditor (Ubuntu Artful) Importance: Critical => Medium ** Changed in: ktexteditor (Ubuntu Bb-series) Importance: Undecided => Medium ** Changed in: ktexteditor (Ubuntu Artful) Status: New => Confirmed ** Changed in: ktexteditor (Ubuntu Bb-series) Status: New => Confirmed ** Changed in: ktexteditor (Ubuntu Artful) Milestone: None => artful-updates ** Changed in: ktexteditor (Ubuntu Bb-series) Milestone: None => ubuntu-17.11 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1724709 Title: Indentation is broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ktexteditor/+bug/1724709/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs