When new line is inserted in text edit mode surrounding rectangle gets corrupted

Bug #1173773 reported by Elvis Alistar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Fix Released
Medium
Unassigned

Bug Description

Latest Pinta build from git (rev 09dd87e):

- Using the text tool with font size set to 32 type "Hello"
- Press Enter to insert a new line

Surrounding text edit rectangle gets corrupted (see attached image)

Tags: text-tool
Revision history for this message
Elvis Alistar (ealis2001-deactivatedaccount-deactivatedaccount) wrote :
Revision history for this message
Elvis Alistar (ealis2001-deactivatedaccount-deactivatedaccount) wrote :

I found this today and already fixed it. I will prepare pull request in a minute.

Changed in pinta:
assignee: nobody → Elvis Alistar (ealis2001)
status: New → Confirmed
Revision history for this message
grofaty (grofaty) wrote :

Pinta-1.5-preview-20121103 on Windows XP.

Test 1:
1. Open Pinta (if opened, then close it down and start it again).
2. File | New and 500 x 500 px.
3. Click on Text tool from Tools and do NOT! click on canvas. Also do not which between programs with ALT+TAB!!! Any such action and bug can't be reproduced!
4. From text font size drop-down list select 32.
5. Click on canvas.
Problem appears.

It also looks like if you close a file and open a new file and problem does not appear anymore. Also if in step 3 click on canvas and then select font size problem also does not appear. Trick bug...

Revision history for this message
grofaty (grofaty) wrote :

Also tested on Pinta latest development on Ubuntu 12.04. The same problem.

Revision history for this message
Cameron White (cameronwhite91) wrote :

I think I found that I needed to zoom in order to reproduce this bug.

Changed in pinta:
importance: Undecided → Medium
Revision history for this message
Elvis Alistar (ealis2001-deactivatedaccount-deactivatedaccount) wrote :

For me it's enough to use a big font size for the bug to be visible, but maybe it's a combination between font size and canvas size.

Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
milestone: none → 1.5
status: Confirmed → Fix Committed
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.