Ticket #2220 (closed bug: obsolete)

Opened 11 years ago

Last modified 9 years 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:
Category: unknown Effort:
Importance: 93 Ticket_group:
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:
Analysis_reviewers: deni Changelog:
Design_reviewers: meddle 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 (1.9 KB) - added by deni 11 years ago.

Change History

comment:1 Changed 11 years ago by todor

  • Status changed from new to s1b_analysis_finished

comment:2 Changed 11 years ago by deyan

  • Importance set to 93

Batch update from file 0911261.csv

comment:3 Changed 11 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.

comment:4 Changed 11 years ago by deni

  • Design_owners set to deni
  • Status changed from s1b_analysis_finished to s2a_design_started
  • Imp._owners set to deni
  • Analysis_reviewers set to deni
  • Analysis_score changed from 0 to 5

comment:5 Changed 11 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 11 years ago by deni

comment:6 Changed 11 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
  • Imp._score changed from 0 to 4
  • Imp._reviewers set to meddle, todor

merged to the trunk at [8456]

comment:7 Changed 9 years 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.