Ticket #81 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

Last connected handle gets disconnected after click on background

Reported by: ogba..@gmail.com Assigned to: arj..@yirdis.nl
Priority: minor Milestone: Gaphas 0.3.4
Component: Gaphas Version: gaphas 0.3.0
Keywords: handle Cc:

Description

Without Rubberband tool in the tool chain last connected handle gets disconnected after simple click on view background. After reading the code I guess it is related to the invalid behaviour of HandleTool?.on_button_realase, which operates even if has no grab.

Attachments

test.py (0.9 kB) - added by ogba..@gmail.com on 09/20/07 00:58:32.
minimal example

Change History

09/19/07 23:59:36 changed by arj..@yirdis.nl

  • status changed from new to assigned.

I'm not able to reproduce this bug.

What steps did you take to expose this bug? I tried (in Gaphor) to create a Comment and add a line to the comment. Clicking next to the line doesn't disconnect it though.

What's the exact version of Gaphor and Gaphas you're using?

Thanks,

Arjan

09/20/07 00:58:32 changed by ogba..@gmail.com

  • attachment test.py added.

minimal example

09/20/07 01:12:48 changed by ogba..@gmail.com

I'm trying to use gaphas-0.3.3 with my own code. In test.py is a code that acts like I stated.

I was not able to reproduce this bug in gaphor 0.12.2 with Rubberband and TextEdit? tools disabled. Probably, you shadow this bug with derived code from gaphor.

09/20/07 02:15:34 changed by arj..@yirdis.nl

That's probably true. Gaphor's HandleTool does some extra stuff wrt connecting items to each other.

09/20/07 02:17:55 changed by arj..@yirdis.nl

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [2137]) Fix #81. grabbed handle and item attributes are now properly reset after a button release event.

09/20/07 02:19:52 changed by arj..@yirdis.nl

  • milestone set to Gaphas 0.3.4.

Add/Change #81 (Last connected handle gets disconnected after click on background)




Action