Ticket #2016 (closed bug: worksforme)
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
- Insert a new frame
- Change the zoom level (for example to 50%)
- Drag the title bar to move the frame
The frame moves slower than the mouse.
The same applies for moving stickies.
Change History
comment:3 Changed 16 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 16 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 16 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)
Note: See
TracTickets for help on using
tickets.