Ticket #2059 (closed bug: worksforme)

Opened 10 years ago

Last modified 10 years ago

Clipping does not always work in preview mode.

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: meddle Changelog:
Design_reviewers: meddle Imp._reviewers: meddle
Test_reviewers: vanya Analysis_score: 4
Design_score: 4 Imp._score: 4
Test_score: 4

Description

  1. Open a new book, insert a new text frame and move it, so that it is partly out of the page.
  2. Open the same book in preview mode. The frame is correctly clipped.
  3. Change the zoom level to 50%. The frame might not be clipped.

Change History

comment:1 Changed 10 years ago by deni

  • Status changed from new to s1b_analysis_finished

comment:2 Changed 10 years ago by deni

  • Status changed from s1b_analysis_finished to s2a_design_started

comment:3 Changed 10 years ago by deni

  • Status changed from s2a_design_started to s3b_implementation_finished
  • Add a new method in DefaultSceneElement - protected void setupEffects()
  • Override it in the scene element of ElementView to call another protected method - protected void setupSceneEffects(DefaultCompositeSceneElement element)
    • By default it adds the color effect that should be applied to mark elements that are invisible, inactive or out of scope.
    • In order to add new effects in a subclass of ElementView, one should override it, call super and then add the desired effects.
  • In MainPageView, override and add the clip effects in setupSceneEffects instead of setupSceneDynamic
  • Source code: [6936]

comment:4 Changed 10 years ago by meddle

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

I have nothing to say, good job

4p

comment:5 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.