View Issue Details

IDProjectCategoryView StatusLast Update
0005250JEDI VCL00 JVCL Componentspublic2011-06-08 12:19
ReporterdreelAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.39 
Target VersionFixed in Version 
Summary0005250: TJvDbLookupCombo doesn't properly redraw at run-time with XP Theme enabled
DescriptionTJvDbLookupCombo placed on a form in TJvPageConrol

object dblcbElementA: TJvDBLookupCombo
  Left = 8
  Top = 32
  Width = 145
  Height = 21
  DropDownCount = 10
  Font.Charset = RUSSIAN_CHARSET
  Font.Color = clBlack
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  LookupField = 'Id'
  LookupDisplay = 'Name'
  LookupSource = dmPathMan.dsElementA
  ParentFont = False
  TabOrder = 0
  OnChange = dblcbElementAChange
end

At run-time the selection button with "open" arrow doesn't properly redraw it's background.

dblcbElementA.ControlStyle := dblcbElementA.ControlStyle + [csOpaque] doesn't help. Copmponent gets background from previous Page on PageControl.
Removing .manifest file helps to restore the view but without XP theming.

Tagsdraw, glitch, JVCL, JvDbLookupCombo, Theme, XP

Activities

2010-05-24 14:11

 

JvDbLookupComboBug.png (1,164 bytes)
JvDbLookupComboBug.png (1,164 bytes)

obones

2010-06-07 13:51

administrator   ~0017457

Could you please provide the zipped sources of a sample application showing this?

dreel

2010-06-09 20:44

reporter   ~0017484

Obones, I'll create a small app to show the glitch and attach the zipped source next my post.
For now I provide some tech details:
- Delphi 7 Up1
- CnPack
- GExperts
- DelphiSpeedUp
- JVCL 3.38
- custom .manifest file (no Delphi XPMan component)

2010-07-05 08:59

 

JvclComboBug.zip (5,715 bytes)

dreel

2010-07-05 09:00

reporter   ~0017527

Obones, sorry for delay. Here the source attached JvclComboBug.zip

dreel

2010-09-06 16:30

reporter   ~0017657

Is there any way to remove the XP theming draw glitches ?

obones

2010-10-11 10:01

administrator   ~0017861

Thanks for this.
Could you try with latest JVCL to see if this still happens?

dreel

2010-11-18 15:34

reporter   ~0018131

I'm using JVCL 3.38. Isn't it the latest version?
Or you means to get it from svn of sf.net?

pka4916

2010-11-18 15:39

reporter   ~0018132

3.41 I the official latest one I believe, or otherwise the daily ones.

dreel

2010-11-18 16:01

reporter   ~0018133

Oh, I've found 3.40
Or you advice to use daly build?

pka4916

2010-11-18 16:10

reporter   ~0018134

I'm using the Daily build, and yes it's 3.40. my bad.

pka4916

2010-11-18 16:11

reporter   ~0018135

btw I did had that problem too in the past, but not anymore.

AHUser

2010-11-28 12:37

developer   ~0018209

I can't reproduce this with Delphi 7 and XE. The combobox-button is painted properly.

obones

2011-06-08 12:19

administrator   ~0018657

No reaction, I believe this is fixed

Issue History

Date Modified Username Field Change
2010-05-24 14:11 dreel New Issue
2010-05-24 14:11 dreel File Added: JvDbLookupComboBug.png
2010-06-07 13:51 obones Note Added: 0017457
2010-06-07 13:51 obones Status new => feedback
2010-06-09 20:38 dreel Tag Attached: JVCL
2010-06-09 20:38 dreel Tag Attached: draw
2010-06-09 20:38 dreel Tag Attached: glitch
2010-06-09 20:38 dreel Tag Attached: JvDbLookupCombo
2010-06-09 20:38 dreel Tag Attached: Theme
2010-06-09 20:38 dreel Tag Attached: XP
2010-06-09 20:44 dreel Note Added: 0017484
2010-07-05 08:59 dreel File Added: JvclComboBug.zip
2010-07-05 09:00 dreel Note Added: 0017527
2010-09-06 16:30 dreel Note Added: 0017657
2010-10-11 10:01 obones Note Added: 0017861
2010-10-11 10:01 obones Status feedback => acknowledged
2010-11-18 15:34 dreel Note Added: 0018131
2010-11-18 15:39 pka4916 Note Added: 0018132
2010-11-18 16:01 dreel Note Added: 0018133
2010-11-18 16:10 pka4916 Note Added: 0018134
2010-11-18 16:11 pka4916 Note Added: 0018135
2010-11-28 12:37 AHUser Note Added: 0018209
2011-06-08 12:19 obones Note Added: 0018657
2011-06-08 12:19 obones Status acknowledged => resolved
2011-06-08 12:19 obones Resolution open => fixed
2011-06-08 12:19 obones Assigned To => obones