Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002829 [JEDI VCL] 00 JVCL Components major always 2005-04-01 23:13 2005-04-02 02:57
Reporter anonymous View Status public  
Assigned To AHUser
Priority normal Resolution fixed  
Status resolved   Product Version 3.00
Summary 0002829: Painting error with non-transparant, non-TWinControl Jv component when themes are enabled
Description tested under d2005 sp2, xp-pro sp2, jvcl3.

the code that actually erases the background incorrectly is in jvthemes.pas, line 1093, PerformEraseBackground

 SetWindowOrgEx(DC, WindowOrg.X, WindowOrg.Y, nil);

it seems that instead of erasing a rectangle in the label.canvas, it's erasing it from the parent canvas.

Affected controls include TJvLinkLabel and TJvSegmentedLEDDisplay.
Additional Information To reproduce,

New win32 application
drop TXPManifest on the form
drop tshape on the form, set align=top.
set the shape.color to blue (just for contrast)
drop a TJvLinkLabel on the form (anywhere)
run the app.

The creation order of the components also affects how visible this bug is. its important that the label is created last, so its the last control to paint.

see attached screenshot for result.
Tags No tags attached.
Attached Files png file icon JvPaintBug.PNG [^] (19,929 bytes) 2005-04-01 23:13

- Relationships

-  Notes
(0006835)
anonymous (viewer)
2005-04-01 23:23

setting label.transparent:=true; is a possible workaround for this bug.
(0006836)
AHUser (developer)
2005-04-02 02:57

Fixed in CVS

- Issue History
Date Modified Username Field Change
2005-04-01 23:13 anonymous New Issue
2005-04-01 23:13 anonymous File Added: JvPaintBug.PNG
2005-04-01 23:23 anonymous Note Added: 0006835
2005-04-02 02:57 AHUser Status new => resolved
2005-04-02 02:57 AHUser Resolution open => fixed
2005-04-02 02:57 AHUser Assigned To => AHUser
2005-04-02 02:57 AHUser Note Added: 0006836


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker