Ticket #2016 (closed bug: worksforme)

Opened 10 years ago

Last modified 10 years ago

Frame and sticky moving do not work correctly with zoom

Reported by: deni Owned by:
Priority: major Milestone: M12_RELEASE
Component: uncategorized Version: 2.0
Keywords: Cc:
Category: unknown Effort:
Importance: Ticket_group:
Estimated Number of Hours: 0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0
Analysis_owners: deni Design_owners: deni
Imp._owners: deni Test_owners:
Analysis_reviewers: deni Changelog:
Design_reviewers: meddle Imp._reviewers: meddle
Test_reviewers: vanya Analysis_score: 3.5
Design_score: 3.5 Imp._score: 3.5
Test_score: 4

Description

  1. Insert a new frame
  2. Change the zoom level (for example to 50%)
  3. Drag the title bar to move the frame

The frame moves slower than the mouse.

The same applies for moving stickies.

Change History

comment:1 Changed 10 years ago by deni

  • Milestone set to M12_RELEASE

comment:2 Changed 10 years ago by deni

  • Status changed from new to s1b_analysis_finished

comment:3 Changed 10 years ago by deni

  • Design_owners set to deni
  • Status changed from s1b_analysis_finished to s2a_design_started
  • Imp._owners set to deni

comment:4 Changed 10 years ago by deni

  • Status changed from s2a_design_started to s3b_implementation_finished
  • Calculating the movement vector should be in the elements' parent space.
  • We should transfom the vector (0,0) -> (newX, newY) from the coodinates MouseCapture works with to the parent space.
  • However since our the scene coordinates and the MouseCapture coordinates differ only by translation and we're interested in a vector, it is enough to transform by sceneToParent matrix.
  • Tranforming a vector is done by transforming its 2 points and substracting the result.
  • Source code: [6748]

comment:5 Changed 10 years ago by meddle

  • Status changed from s3b_implementation_finished to s3c_implementation_ok
  • Analysis_reviewers set to deni
  • Analysis_score changed from 0 to 3.5
  • Imp._reviewers set to meddle
  • Design_score changed from 0 to 3.5
  • Design_reviewers set to meddle
  • Imp._score changed from 0 to 3.5

Merged into the trunk at [6802].

Very bad branch, took me some time to succeed with the merging...

3.5p (30m)

comment:6 Changed 10 years ago by vanya

  • Status changed from s3c_implementation_ok to closed
  • Test_score changed from 0 to 4
  • Test_reviewers set to vanya
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.