google-code-export / labyrinth

Automatically exported from code.google.com/p/labyrinth
GNU General Public License v2.0
2 stars 0 forks source link

Incomplete text box can be created, thereby corrupting the map so it cannot be recovered. #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Scenario One:
1. Click somewhere on the map, type some text to create a thought, move the 
cursor to the left, and hit 'Del' to delete some unwanted text.   
2. Ooops, my thought has completely disappeared.  Press Ctl-Z to recover it.
3. Click somewhere else to add a new thought, type some text, press escape to 
close the thought.

Scenario Two: 
3. Click somewhere else to add a new thought, but without typing anything, 
click on the text entered in step 1, and type something, and close the map.

What is the expected output? What do you see instead?

Expected:  The thought from step 1 should be closed; i.e., the box completely 
formed and a link created to the previously selected thought..  Clicking on it 
should highlight it as selected.

Currently:  
Scenario One: The text fragment that was entered in step 1 remains on the 
screen, but it is not possible to select it, close it, link it, or delete it.  
However, it is possible to close the map.  When it is reopened, the thought 
created in step one has been preserved.

Scenario Two: The entire map is corrupted.  It is not possible to reopen it, 
even after completely closing labyrinth.  Attempting to reopen the map returns 
the following python error: AttributeError: 'MMapArea' object has no attribute 
'tree_model'

What version of the product are you using? On what operating system?

Product Version: svn checkout:
Repository Root: http://labyrinth.googlecode.com/svn
Repository UUID: 8f060a39-251c-0410-b1f3-431655927647
Revision: 351

os Version:Ubuntu 10.04.1 LTS
Linux version 2.6.32-24-generic (buildd@palmer) (gcc version 4.4.3 (Ubuntu 
4.4.3-4ubuntu5) ) #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010

Please provide any additional information below.
Attached:

PythonError.txt:  Console results from attempting to reopen the file.

Original issue reported on code.google.com by eubank...@gmail.com on 24 Sep 2010 at 11:25

Attachments:

GoogleCodeExporter commented 9 years ago
When a Thought is edited, a delete should now delete characters not the whole 
Thought. Is this helping in your situation?

Original comment by matthias...@gmail.com on 24 Apr 2011 at 11:26

GoogleCodeExporter commented 9 years ago

Original comment by matthias...@gmail.com on 24 Apr 2011 at 3:42

GoogleCodeExporter commented 9 years ago
I can't replicate this, so I'm marking it as fixed.

Original comment by tak...@gmail.com on 20 Oct 2012 at 11:04