View Issue Details

IDProjectCategoryView StatusLast Update
0003102JEDI VCL00 JVCL Componentspublic2005-08-28 08:59
ReporteranonymousAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 
Target VersionFixed in Version3.10 
Summary0003102: Click on JvXPBar above the caption does not roll down the bar
DescriptionDESCRIPTION:

When you click slightly above the caption of a JvXPBar, the bar does not open and show its items.


STEPS TO REPRODUCE:

1. Place a JvXPContainer on a form, put three JvXPBars on it, set their Grouped and Collapsed properties to True, their RollMode property to rmFixed, their Align property to alTop, don't assign any icons, and create a bunch of items per XPBar.

2. Compile and run. If you click within the area mentioned above, the bar does not unfold.

Cheers
Uwe
Additional InformationAttached is a small screenshot to show the exact area where a mouse click has no effect.
TagsNo tags attached.

Activities

2005-07-20 17:48

 

jvXPBar.jpg (1,641 bytes)
jvXPBar.jpg (1,641 bytes)

anonymous

2005-07-22 11:08

viewer   ~0007591

I do not have time to recompile and test currently, but I believe that the bug sits in this function in JvXPBar.pas:

function TJvXPCustomWinXPBar.GetHitTestRect(const HitTest: TJvXPBarHitTest): TRect;

begin
  case HitTest of
    htHeader:
      Result := Bounds(0, 5, Width, FHeaderHeight);
    htRollButton:
      Result := Bounds(Width - 24, (FHeaderHeight - GetRollHeight) div 2, GetRollWidth, GetRollHeight);
  end;
end;


Shouldn't the result for htHeader be

  Result := Bounds(0, 0, Width, FHeaderHeight);


Hope that helps
Uwe

anonymous

2005-07-22 12:39

viewer   ~0007592

Confirmed:
The fix mentioned above removes the bug. Can someone please incorporate this fix into the JVCL?

Thanks
Uwe

obones

2005-08-09 05:35

administrator   ~0007706

The current code in JvXBar does not match the one indicated here.
A quick test shows no sign of the error.
Could you confirm it has disappeared with the latest CVS version ?

obones

2005-08-28 08:59

administrator   ~0007862

No answers, I'm considering this to be fixed.

Issue History

Date Modified Username Field Change
2005-07-20 17:48 anonymous New Issue
2005-07-20 17:48 anonymous File Added: jvXPBar.jpg
2005-07-20 18:05 anonymous Note Added: 0007587
2005-07-22 11:08 anonymous Note Added: 0007591
2005-07-22 11:10 anonymous Note Deleted: 0007587
2005-07-22 12:39 anonymous Note Added: 0007592
2005-08-09 05:35 obones Note Added: 0007706
2005-08-09 05:35 obones Status new => feedback
2005-08-28 08:59 obones Status feedback => resolved
2005-08-28 08:59 obones Resolution open => fixed
2005-08-28 08:59 obones Assigned To => obones
2005-08-28 08:59 obones Note Added: 0007862