Zim

Overlapping indent tags

Bug #1823028 reported by Stephen Mikesell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
New
Undecided
Unassigned

Bug Description

I hit "alt-i" (Insert menu), then "t" (bullet list) which gave the following bug message. Subsequently I get it whether I hit "t" or use the mouse to select "bullet list". The problem might have been initiated by hitting a wrong key, but not certain what brought it about given it was working normally up to then. I'll try opening and closing to see if it fixes it.

This is zim 0.65
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 13, 'final', 0)
Gtk: (2, 24, 31)
Pygtk: (2, 24, 0)
Zim revision is:
  branch: zim-trunk
  revision: 805 <email address hidden>
  date: 2015-11-01 15:42:45 +0100

======= Traceback =======
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 885, in _action_handler
    method(*arg)
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 5667, in insert_bullet_list
    self._start_bullet(BULLET)
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 5684, in _start_bullet
    buffer.set_bullet(line, bullet_type)
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 1261, in set_bullet
    self._replace_bullet(line, bullet)
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 1266, in _replace_bullet
    indent = self.get_indent(line)
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 1759, in get_indent
    assert len(tags) == 1, 'BUG: overlapping indent tags'
AssertionError: BUG: overlapping indent tags

Revision history for this message
Stephen Mikesell (4-stephen) wrote :

It seems to work correctly once I closed and reopened Zim. I think it may have been brought on by hitting the wrong key combination.

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.