View Issue Details

IDProjectCategoryView StatusLast Update
0004211JEDI VCL00 JVCL Componentspublic2007-08-28 16:32
ReportermaxpAssigned Toremkobonte 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0004211: Setting Font Color resets visual effects (bug in TJvTextAttributes.SetColor)
DescriptionIn JvRichEdit.pas (TJvTextAttributes.SetColor):
 6906 if (Value = clWindowText) or (Value = clDefault) then
 6907 dwEffects := CFE_AUTOCOLOR

line 6907 should be
dwEffects := dwEffects or CFE_AUTOCOLOR

See also Issue 0004038: similar bug was fixed in the procedure TJvTextAttributes.AssignFont.
TagsNo tags attached.

Activities

remkobonte

2007-08-22 16:23

developer   ~0013650

I don't see why that is necessary? Because of the InitFormat call, dwEffect is always 0.

So
  dwEffects := CFE_AUTOCOLOR
and
  dwEffects := dwEffects or CFE_AUTOCOLOR

have the same effect?

maxp

2007-08-28 04:51

reporter   ~0013654

Sorry, you are right.

obones

2007-08-28 06:19

administrator   ~0013655

So what is the status of this issue?

maxp

2007-08-28 10:54

reporter   ~0013656

Think should be closed.

Issue History

Date Modified Username Field Change
2007-08-22 10:17 maxp New Issue
2007-08-22 16:23 remkobonte Note Added: 0013650
2007-08-22 16:23 remkobonte Status new => feedback
2007-08-28 04:51 maxp Note Added: 0013654
2007-08-28 06:19 obones Note Added: 0013655
2007-08-28 10:54 maxp Note Added: 0013656
2007-08-28 16:31 remkobonte Status feedback => resolved
2007-08-28 16:31 remkobonte Resolution open => no change required
2007-08-28 16:31 remkobonte Assigned To => remkobonte