Summary: | Kate crashed on editing (KateSmartCursor::setPositionInternal, KateSmartCursor::setPosition, KTextEditor::Cursor::operator) | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Bartemius Crouch <egxoun8uya67izy> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | abhijeet.linux, afylot, cart, christoph, fbianco, georgecaragea, jogarlo18, j__n, madis, sara.cuenda, teo.red90 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Test file for procedure described below
New crash information added by DrKonqi |
Description
Bartemius Crouch
2009-12-02 22:47:32 UTC
related to 200450? *** Bug 218742 has been marked as a duplicate of this bug. *** *** Bug 218901 has been marked as a duplicate of this bug. *** *** Bug 209855 has been marked as a duplicate of this bug. *** This might have been fixed now with the fix for https://bugs.kde.org/show_bug.cgi?id=200450 , as it might have reduced the size of a group and hence lead to cases where we have lines at the end of a document without a related SmartGroup. I'm tempted to close this as fixed as well until someone can reproduce it again. What would you guys say? *** Bug 223479 has been marked as a duplicate of this bug. *** *** Bug 223545 has been marked as a duplicate of this bug. *** Still got the same bug while using Kile (cf. duplicated bug above). My Kate version is 3.3.4. I fixed something yesterday, without more info, this is closed for me. We need a testcase to fix this. Can somebody with the latest version test the following procedure : 0. Change Kate setting to use no dynamical line return (Retour à la ligne dynamique), and activate Statical line return (Retour à la ligne satique) in Edition settings 1. open test.txt (in attachement below) 2. clic to set cursor just before last "test" on first line, type "add" => get expected behavior 3. use ctrl+z to revert changes works 4. go to fourth line, copy past the whole line (cursor at the end of the line, maj+home, ctrl+c, ctrl+v, ctrl+v) 5. set cursor just before last "test" on fourth line, type "add" => behavior different from 1st line (you get on the next line "adtestd" instead of "addtest") 6. use ctrl+z to revert changes => crash This procedure is 100% reproducible with Kate 3.3.4 and affects all text editor in KDE. Can somebody with the latest version test the following procedure : 0. Change Kate setting to use no dynamical line return (Retour à la ligne dynamique), and activate Statical line return (Retour à la ligne satique) in Edition settings 1. open test.txt (in attachement below) 2. clic to set cursor just before last "test" on first line, type "add" => get expected behavior 3. use ctrl+z to revert changes works 4. go to fourth line, copy past the whole line (cursor at the end of the line, maj+home, ctrl+c, ctrl+v, ctrl+v) 5. set cursor just before last "test" on fourth line, type "add" => behavior different from 1st line (you get on the next line "adtestd" instead of "addtest") 6. use ctrl+z to revert changes => crash This procedure is 100% reproducible with Kate 3.3.4 and affects all text editor in KDE. Created attachment 41059 [details]
Test file for procedure described below
0. Change Kate setting to use no dynamical line return (Retour à la ligne
dynamique), and activate Statical line return (Retour à la ligne satique) in
Edition settings
1. open test.txt (in attachement below)
2. clic to set cursor just before last "test" on first line, type "add" => get
expected behavior
3. use ctrl+z to revert changes works
4. go to fourth line, copy past the whole line (cursor at the end of the line,
maj+home, ctrl+c, ctrl+v, ctrl+v)
5. set cursor just before last "test" on fourth line, type "add" => behavior
different from 1st line (you get on the next line "adtestd" instead of
"addtest")
6. use ctrl+z to revert changes => crash
Below are the correct settings name in English and path to find them : Settings menu → Configure Kate/Kwrite/Kile … → - Editor → Appearance → Dynamic word wrap (checked or uncheked) - Editor → Editing → Enable static word wrap (checked) Dynamic word wrap play actually no role in this bug, it can be checked or not. PS : sorry for the three splitted messages. Works with current trunk, should also work with kde 4.4.1 once it's released (many more fixes got into this version). *** Bug 232508 has been marked as a duplicate of this bug. *** Created attachment 42638 [details]
New crash information added by DrKonqi
Estaba programando un script cuando kate se cerró. Tenía activada la vista de remarcado de bash.
*** This bug has been marked as a duplicate of bug 239046 *** *** Bug 231263 has been marked as a duplicate of this bug. *** *** Bug 245908 has been marked as a duplicate of this bug. *** *** Bug 245084 has been marked as a duplicate of this bug. *** |