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

Bug #1154363 reported by sojusnik on 2013-03-12
This bug affects 3 people
Affects Status Importance Assigned to Milestone

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!

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


Changed in zim:
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

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

Changed in zim:
status: Incomplete → Expired
sojusnik (sojusnik) wrote :

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

sojusnik (sojusnik) on 2013-08-25
Changed in zim:
status: Expired → New

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
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

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
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  Edit
Everyone can see this information.

Other bug subscribers