[ctrl-a] sometimes makes attributes move too far

Bug #703204 reported by KaiMartin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gEDA
Fix Released
High
Unassigned

Bug Description

In git head, there is a new feature to select all with [ctrl-a].
Under specific circumstances, visible attributes move at double pace
compared to the rest of the symbol. To reproduce:

1) open a new schematic

2) choose two arbitrary symbols and place them about 10 cm above each
other on the canvas

3) select both symbols

4) move the selection such that one of the symbols is below the lower
border of the canvas (not the view port)

5) click somewhere else to unselect the symbols

6) select all with [ctrl-a]

7) move the selection

The visible attributes will move correctly during movement but will
jump ahead when the move is done.

---<)kaimartin(>---

Tags: libgeda
Revision history for this message
Krzysztof Kościuszkiewicz (k-kosciuszkiewicz) wrote :

The bug occurs with all commands executed after executing the action edit-select-all.
For example move-copy copies the attached attributes twice.
Move moves the attributes twice (distance moved is doubled).
In the console the following messages can be seen:
  object already selected == TRUE
This suggests the attributes are added to the selection list twice.

Changed in geda:
status: New → Confirmed
importance: Undecided → Medium
Changed in geda:
assignee: nobody → Krzysztof Kościuszkiewicz (k-kosciuszkiewicz)
Revision history for this message
Krzysztof Kościuszkiewicz (k-kosciuszkiewicz) wrote :

Proposed fix in libgeda - check if object is already selected to avoid double selection.

Revision history for this message
Peter Clifton (pcjc2) wrote :

Good catch. I'll assign Peter B to commit this, as I'm busy right now.

Changed in geda:
assignee: Krzysztof Kościuszkiewicz (k-kosciuszkiewicz) → Peter TB Brett (peter-b)
importance: Medium → High
status: Confirmed → Triaged
Peter TB Brett (peter-b)
Changed in geda:
status: Triaged → In Progress
milestone: none → 1.7.1
tags: added: libgeda
Peter TB Brett (peter-b)
Changed in geda:
status: In Progress → Fix Committed
Peter TB Brett (peter-b)
Changed in geda:
assignee: Peter TB Brett (peter-b) → nobody
Peter TB Brett (peter-b)
Changed in geda:
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.