Ticket #2220 (closed bug: obsolete)

Opened 2 years ago

Last modified 2 months ago

paragraphs-with-same-content-have-same-styles - Paragraphs that have same content have same formatting.

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

Description

If you have several paragraphs with same style, say:
this is weird
this is not weird
this is weird
When you change the style of the first "this is weird" (make sure that the whole paragraph is changed), the second paragraph "this is weird" automatically changes its style if you try to modify the style of the second "this is wierd" paragraph, despite there are changes in the text style hud the paragraph is not changed.However if you write only one character for example "this is weird!" the style will be changed according tto what you've entered in the style hud. If you change the paragraph again to "this is weird" the miracle happens again and you have to same paragraphs.

Attachments

paragraphs.patch Download (1.9 KB) - added by deni 2 years ago.

Change History

Changed 2 years ago by todor

  • status changed from new to s1b_analysis_finished

Changed 2 years ago by deyan

  • importance set to 93

Batch update from file 0911261.csv

Changed 2 years ago by todor

  • summary changed from paragraphs-with-same-content-are-have-same-styles - Paragraphs that have same content have same formatting. to paragraphs-with-same-content-have-same-styles - Paragraphs that have same content have same formatting.

Changed 2 years ago by deni

  • design_owners set to deni
  • status changed from s1b_analysis_finished to s2a_design_started
  • implementation_owners set to deni
  • analysis_reviewers set to deni
  • analysis_score changed from 0 to 5

Changed 2 years ago by deni

  • status changed from s2a_design_started to s3b_implementation_finished
  • If we have 2 subtexts derived from the same ImmHotText and they have the same characters (the first and the third paragraph from the bug description), their styled hashes will be the same.
  • Since we cache TextLayout s in TextUtils.createAwtLayout(ImmHotText, float), this causes the problem described.
  • Make HotIndexInterval implement Hashable and ImmHotText.getStyledHash() take into account the subSingleInterval field.

Changed 2 years ago by deni

Changed 2 years ago by meddle

  • status changed from s3b_implementation_finished to s3c_implementation_ok
  • design_score changed from 0 to 4
  • design_reviewers set to meddle
  • implementation_score changed from 0 to 4
  • implementation_reviewers set to meddle, todor

merged to the trunk at [8456]

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.