Summary: | Python indentation indents too often since recent update | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Maarten ter Huurne <maarten> |
Component: | indentation | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | simonandric5 |
Priority: | NOR | ||
Version: | 17.08.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Maarten ter Huurne
2017-09-27 00:58:57 UTC
I also have 17.08.1 in Manjaro and can't confirm your case. Is it possible that you wrote an example here(not tested in kate) but in fact have this experience https://bugs.kde.org/show_bug.cgi?id=384658 ? I did test that exact fragment in Kate when I filed the bug. However, when I try to reproduce it now, Kate doesn't indent the third line. So there must be some yet unknown factor that makes this bad indentation trigger. I created the fragment inside the larger source file that I was editing at that moment, so it is possible either the context is relevant or some unseen state in Kate matters. The indent happened when I typed the '+', so not one of the letters mentioned in the other bug. I expect the problem will occur again, since it wasn't the first time it happened when I filed the bug. When it does, I'll try to figure out what is relevant about the context or state to be able to reproduce this. This is a regression in the indentation in the KTextEditor framework 5.38 and 5.39. This regression was introduced since we switched from the Qt Script to the Qt QML javascript implementation. Unfortunately, the Qt QML implementation still had issues which we did not catch early enough. The good news is that if you upgrade your Qt version to Qt >= 5.9.1, then this crash is fixed. A workaround will also be available with KDE Frameworks 5.40 which should prevent the crash. Sorry for the inconvenience! *** This bug has been marked as a duplicate of bug 384404 *** |