View Issue Details

IDProjectCategoryView StatusLast Update
0006395JEDI VCL00 JVCL Componentspublic2021-09-04 14:28
ReporterwarmbooterAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0006395: TjvCaptionButton hides the caption text of the window
DescriptionWhen a form with a TjvCaptionButton becomes visible, the caption of form is not displayed. If you resize the window, the caption becomes visible. Tested with Delphi XE6 and Windows 8.1 Pro.
TagsNo tags attached.

Activities

obones

2018-07-18 15:34

administrator   ~0021476

Please provide the zipped sources of an application showing this.

2019-05-19 11:13

 

CaptionButton1.PNG (9,369 bytes)
CaptionButton1.PNG (9,369 bytes)

mh

2019-05-19 11:14

reporter   ~0021841

I think this button component has even more issues. I can reproduce the issue described with Rio, but as my screenshot shows that when the button is not properly positioned (yet, I need to figure out how to do that), resizing leads to that nasty artifacts my screenshot shows.

2019-05-19 11:17

 

CaptionButtonTest.zip (54,330 bytes)

mh

2019-05-19 11:20

reporter   ~0021842

Ok, I created a small demo now showing the issue. The caption text of the form not only becomes visible on resizing the form, but on clicking that button as well (I implemented a ShowMessage call in the OnClick handler).

Since I had another idea for testing right now I added another demo. The difference to the original one is, that it doesn't call ShowMessage (which will run the message loop), but only change the text of a label on the form.
If implemented like this, clicking the button no longer makes the form's caption visible. Only resize works then.

2019-05-19 11:20

 

CaptionButtonTest2.zip (54,387 bytes)

mh

2019-05-19 11:30

reporter   ~0021843

Another observation: if I enable themes, the text of the form's caption is visible right from the start!

mh

2019-05-19 16:44

reporter   ~0021844

Hm, during loading of the component the caption of the form's title bar is there, only afterwards it is being removed.

obones

2020-05-19 10:34

administrator   ~0021928

Any news on this?

mh

2021-09-04 14:28

reporter   ~0022000

Who do you ask about news? I (instead of the OP) did provide a demo showing this bug.

Issue History

Date Modified Username Field Change
2015-03-25 20:30 warmbooter New Issue
2018-07-18 15:34 obones Note Added: 0021476
2018-07-18 15:34 obones Status new => feedback
2019-05-19 11:13 mh File Added: CaptionButton1.PNG
2019-05-19 11:14 mh Note Added: 0021841
2019-05-19 11:17 mh File Added: CaptionButtonTest.zip
2019-05-19 11:20 mh Note Added: 0021842
2019-05-19 11:20 mh File Added: CaptionButtonTest2.zip
2019-05-19 11:30 mh Note Added: 0021843
2019-05-19 16:44 mh Note Added: 0021844
2020-05-19 10:34 obones Note Added: 0021928
2021-09-04 14:28 mh Note Added: 0022000