Single Layer, add New Layer, Use text Tool, then Crash

Bug #581105 reported by Jonathan Pobst
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Pinta
Fix Released
High
Unassigned

Bug Description

If you have a single layer and you do the following, Pinta 0.3 crashes:

Use the text tool and create some text.
Create another layer.
Use the same text tool to create more text.
Pinta 0.3 crashes.

System Specs:
Ubuntu Lucid 64bit
Pinta 0.3

Jonathan Pobst (jpobst)
Changed in pinta:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Olivier Dufour (olivier-duff) wrote :

Found it:
it is because you hit text and the focus is given to treeview so you search in treeview with name of layer but do not found so set the selected layer to null ==> exception later.

Fixed in my git:
LayersListWidget.Ctor add:
tree.CanFocus = false;

Revision history for this message
Jonathan Pobst (jpobst) wrote :
Changed in pinta:
milestone: none → 0.5
status: Confirmed → Fix Committed
Jonathan Pobst (jpobst)
Changed in pinta:
status: Fix Committed → Fix Released
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.