Zim

Second line is added after an indented text when a header follows

Bug #1154363 reported by sojusnik
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Zim
Confirmed
Medium
Unassigned

Bug Description

Write a text and make it indented, by pressing tab when the cursor is at the beginning of a text. Then position the cursor at the end of the text, then press enter two times, backspace once, to delete the indent and type a word as a header. Press Strg+R and then write something under the header, and press Strg+R again. You will realize that the space between the indented text and the header extended to two lines, where just before only one line was.

Happens with Zim 0.59 under Ubuntu Gnome Remix 12.10.

Best regards!

Tags: pageview
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Afraid I do not fully understand this descriptn. Can you give the page content as an example, or a screenshot ?

Thanks

Changed in zim:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Zim because there has been no activity for 60 days.]

Changed in zim:
status: Incomplete → Expired
Revision history for this message
sojusnik (sojusnik) wrote :

You can find an video example here: https://www.wuala.com/sojusnik/Zim/?key=CzWu9A7Exz3M

sojusnik (sojusnik)
Changed in zim:
status: Expired → New
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Tested in dev branch pyzim-refactor and can not reproduce, assuming this is fixed with new parser code

Changed in zim:
status: New → Fix Committed
Revision history for this message
sojusnik (sojusnik) wrote :

Still not working in the ZIM version from your Snapshots PPA. Strangely enough it works with bullet points and checkboxes.

Changed in zim:
status: Fix Committed → Confirmed
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Confirmed. The issue seems related to how the "indent" region ends. If it "spills over" at the start of the next line, end of line gets inserted twice. Issue is in serialization code of the text buffer. Will need to take along in refactoring of that widget.

Changed in zim:
importance: Undecided → Medium
tags: added: pqageview
tags: added: pageview
removed: pqageview
Revision history for this message
sojusnik (sojusnik) wrote :

A second line is also added, when a "pre" code block comes before a heading.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.