Ticket #2117 (closed bug: obsolete)

Opened 2 years ago

Last modified 2 months ago

gradient-issues - Putting the two ends of a gradient line one over another throws an exception.

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

Description (last modified by todor) (diff)

1. Create a new book.
2. Open the appearance HUD of a page.
3. Select gradient from dropdown in the background area.
4. Open the gradient HUD.
5. Put the two gradient circles one over another.
As a result exception is thrown (division by 0).

Attachments

gradients.txt Download (28.7 KB) - added by milen 2 years ago.
2117.patch Download (2.3 KB) - added by diana 20 months ago.

Change History

Changed 2 years ago by milen

Changed 2 years ago by milen

  • status changed from new to s1b_analysis_finished

Changed 2 years ago by deyan

  • importance set to 69
  • summary changed from Putting the two ends of a gradient line one over another throws an exception to gradient-issues Putting the two ends of a gradient line one over another throws an exception; gradient should be streched

Batch update from file report_1.csv

Changed 2 years ago by todor

  • summary changed from gradient-issues Putting the two ends of a gradient line one over another throws an exception; gradient should be streched to gradient-issues - Putting the two ends of a gradient line one over another throws an exception; gradient should be streched

Changed 2 years ago by todor

  • description modified (diff)

Changed 2 years ago by todor

  • summary changed from gradient-issues - Putting the two ends of a gradient line one over another throws an exception; gradient should be streched to gradient-issues - Putting the two ends of a gradient line one over another throws an exception.

Changed 2 years ago by deyan

  • description modified (diff)

Batch update from file active_tickets.csv

Changed 22 months ago by todor

  • status changed from s1b_analysis_finished to closed
  • resolution set to later
  • description modified (diff)
  • changelog set to [wiki:Changelog]

Changed 20 months ago by diana

  • design_owners set to diana
  • resolution later deleted
  • status changed from closed to new
  • implementation_owners set to diana

Changed 20 months ago by diana

  • status changed from new to s1b_analysis_finished

Changed 20 months ago by diana

  • status changed from s1b_analysis_finished to s2a_design_started
  • In org.sophie2.main.app.halos.huds.gradient package create new class SophieGradientPreviewPanel extends GradientPreviewPanel - Class for the gradient preview. Used only to catch the exception from the GradientPreviewPanel#getGradient() method when the two points are equal. This class has private MultipleGradientPaint lastGradient - a variable to hold the last gradient gained by the gtGradient function.
  • In SophieGradientPreviewPanel override the getGradient method, catch the exception from the GradientPreviewPanel class and return the lastGradient variable.
  • In GradientPicker:gradientPreview create gradient preview panel instance from SophieGradientPreviewPanel class.

Changed 20 months ago by diana

Changed 20 months ago by diana

  • status changed from s2a_design_started to s3b_implementation_finished

Changed 20 months ago by pap

  • status changed from s3b_implementation_finished to s3c_implementation_ok
  • design_score changed from 0 to 3.5
  • design_reviewers set to pap
  • analysis_reviewers set to deyan, pap
  • implementation_score changed from 0 to 4
  • Commited in [9242].
  • It is not nice that we have to swallow the exception this way.

Changed 2 months ago by meddle

  • status changed from s3c_implementation_ok to closed
  • resolution set to obsolete

Closing all the tickets before M Y1

Note: See TracTickets for help on using tickets.