View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010985 | Scribus | Story Editor / Text Frames | public | 2012-08-01 11:18 | 2018-04-30 13:24 |
Reporter | JLuc | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | confirmed | Resolution | open | ||
Product Version | 1.5.0svn | ||||
Target Version | 1.5.5 | ||||
Summary | 0010985: jump over line when going down in text frame | ||||
Description | Create text with 5 lines Line 1 is longer than line 2 for ex : goto end of line (after last charp of note 1) go down with keyboard arrow down : --> editing carret jumps down to begginnig note 3 one more keyboard arrow down : editing carret goes down to character in line 4 at position of end of line of line 1 (or end of line if shorter) When moving up, no such "jump" problem. Edit: Still persists in OSX 10.10.5 1.5.3svn r21352 | ||||
Steps To Reproduce | Reproduce: 1) open attached file 2) put cursor on line 1 1 char before the end 3) press down arrow Result: We're now on line 3 4) press down arrow again Result: We're now on line 5 5a) press up arrow 4 times Result: We've gone up lines 4 through 1 with the cursor at the end of the line OR 5b) press down arrow Result: We're at the end of line 5 6b) press up arrow 4 times Result: We're now going up the same column of characters to the top (as opposed to step 5a) | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
has duplicate | 0014165 | closed | PeterBenedek | While editing Scribus skips multiple paragraphs (skips paragraphs if paragraph empty) |
related to | 0005089 | confirmed | issue with jumping between lines and moving cursor | |
child of | 0003157 | acknowledged | Metabug: Cursor placement fixes |
|
diff --git Scribus/scribus/text/storytext.cpp Scribus/scribus/text/storytext.cpp index f9b0aa1..87ebeba 100644 --- Scribus/scribus/text/storytext.cpp +++ Scribus/scribus/text/storytext.cpp @@ -1433,8 +1433,8 @@ int StoryText::nextLine(int pos) return j; } } - m_lastMagicPos = ls2.lastItem + 1; - return ls2.lastItem + 1; + m_lastMagicPos = ls2.lastItem; + return ls2.lastItem; } } return lastFrameItem; |
|
simply fix for that issue |
|
Yes, that's what i tried. Unfortunately this patch cause another issue when cursor goes to the last line of the frame : in some case cursor is positioned before the last char instead of after. |
|
|
|
Still persists in OSX 10.10.5 1.5.3svn r21352 Reproduce: 1) open attached file 2) put cursor on line 1 1 char before the end 3) press down arrow Result: We're now on line 3 4) press down arrow again Result: We're now on line 5 5a) press up arrow 4 times Result: We've gone up lines 4 through 1 with the cursor at the end of the line OR 5b) press down arrow Result: We're at the end of line 5 6b) press up arrow 4 times Result: We're now going up the same column of characters to the top (as opposed to step 5a) |
|
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-08-01 11:18 | JLuc | New Issue | |
2012-08-02 07:23 | cezaryece | Note Added: 0028725 | |
2012-08-02 07:25 | cezaryece | Note Edited: 0028725 | |
2012-08-02 07:26 | cezaryece | Note Added: 0028726 | |
2012-08-02 07:26 | cezaryece | Assigned To | => jghali |
2012-08-02 07:26 | cezaryece | Status | new => assigned |
2012-08-02 07:27 | jghali | Note Added: 0028727 | |
2012-08-02 08:03 | jghali | Note Edited: 0028727 | |
2012-08-02 13:42 | cezaryece | Assigned To | jghali => |
2015-09-17 20:08 | Kunda | Category | Story Editor / Text Frames => Story Ed/Txt Frames |
2015-09-17 20:12 | Kunda | Category | Story Ed/Txt Frames => Story Editor / Text Frames |
2016-05-24 13:20 | Kunda | Relationship added | related to 0005089 |
2016-05-24 14:19 | Kunda | Relationship added | child of 0003157 |
2016-05-25 04:57 | Kunda | File Added: weird-line-cursor-jump.gif | |
2016-05-25 05:03 | Kunda | Note Added: 0041410 | |
2016-05-25 05:03 | Kunda | Patch | => No |
2016-05-25 05:03 | Kunda | Description Updated | |
2016-05-25 05:03 | Kunda | Steps to Reproduce Updated | |
2016-05-25 05:04 | Kunda | File Added: line-jump-example.sla | |
2016-05-25 05:04 | Kunda | Target Version | => 1.5.4.svn |
2016-05-25 05:04 | Kunda | Status | assigned => confirmed |
2018-03-20 07:19 | PeterBenedek | Relationship added | has duplicate 0014165 |
2018-04-30 13:24 | jghali | Target Version | 1.5.4.svn => 1.5.5 |