Crashes/closes after right-click + undo

Bug #1317284 reported by melarish
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Fix Released
High
Unassigned

Bug Description

For anyone familiar with MS Paint, you'll know of the right-click-undo feature: when you're holding the left mouse button like when dragging a line or drawing with Pencil, you can do a right-click to delete everything since you pressed down the left mouse button. Now, when I try to do this in Pinta, it does nothing. And then when I click the actual Undo button, it crashes! I'm not even that bothered about the lack of this feature but it's a strong habit of mine and now I keep crashing it all the time! :(

Seems like it only happens with the Pencil tool.

How to reproduce:
*Select Pencil tool
*Press and hold down left mouse button
*While still holding the left, press and release the right mouse button
*Press Undo or use the keyboard shortcut
(*Sometimes this bug doesn't happen, so try again)

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

I can't reproduce the undo crash, but I do get a crash with the following steps:

- Select Pencil tool
- Press and hold left mouse button, and then draw
- While still holding the left button, press and hold the right mouse button
- Release the left button, but continue to hold the right button
- Move the mouse anywhere and then release the right mouse button

Changed in pinta:
importance: Undecided → High
milestone: none → 1.6
status: New → Confirmed
Revision history for this message
melarish (melarish) wrote :

Forgot to mention this is version 1.3. It won't update to 1.4 even with the PPA repository added (should I report this as a bug too?)

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

Are you on Ubuntu 14.04? There is currently an issue with the stable builds PPA for 14.04

Revision history for this message
melarish (melarish) wrote :

Yup, 14.04. I'll wait for the fix then :) (or I might ask a friend for a paint.exe)

Revision history for this message
Don McComb (don-mccomb) wrote :

I am also unable to reproduce problem as stated in bug description (I tried in Windows 7).

I was able to reproduce problem stated in comment 1. Have found a solution. Have submitted a pull request.

Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
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.