Node coordinates inside a group are inconsistent between the PropertyEditor and the Rulers

Bug #1281645 reported by Stan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Workcraft
Fix Committed
Low
Stan

Bug Description

When entering a group, the coordinate system becomes relative to the group, which introduce confusion: the X and Y properties of the nodes displayed in the PropertyEditor are different from those observed on the Ruler. Similar inconsistency is visible when moving a group - its coordinates are relative to the nodes inside.

Here is two possible solutions:
Option 1: Change the ruler when entering a group (this would not solve the inconsistency of the group coordinates though).
Option 2: Recalculate the X and Y properties to global coordinates before displaying in the PropertyEditor, and back from global coordinates to local ones when editing them.

Tags: group ui

Related branches

Changed in workcraft:
milestone: none → 3.0
assignee: nobody → Stan (sgaflv)
importance: Undecided → Low
status: New → Confirmed
summary: - coordinate system needs to show current group
+ Coordinate system needs to show current group
tags: added: group ui
Changed in workcraft:
status: Confirmed → Opinion
importance: Low → Wishlist
milestone: 3.0 → none
Changed in workcraft:
status: Opinion → Confirmed
importance: Wishlist → Low
summary: - Coordinate system needs to show current group
+ Node coordinates inside the groput is not consistent between the
+ PropertyEditor and the Rullers
description: updated
summary: Node coordinates inside the groput is not consistent between the
- PropertyEditor and the Rullers
+ PropertyEditor and the Rulers
Changed in workcraft:
milestone: none → 3.0
summary: - Node coordinates inside the groput is not consistent between the
+ Node coordinates inside a group is inconsistent between the
PropertyEditor and the Rulers
summary: - Node coordinates inside a group is inconsistent between the
+ Node coordinates inside a group are inconsistent between the
PropertyEditor and the Rulers
Revision history for this message
Danil Sokolov (danilovesky) wrote :

Option 2 was implemented - setter and getter for X and Y properties recalculate node coordinates to the root components.

Changed in workcraft:
status: Confirmed → Fix Committed
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.