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
0006395 [JEDI VCL] 00 JVCL Components minor always 2015-03-25 20:30 2019-05-19 16:44
Reporter warmbooter View Status public  
Assigned To
Priority normal Resolution open  
Status feedback   Product Version Daily / GIT
Summary 0006395: TjvCaptionButton hides the caption text of the window
Description When 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.
Additional Information
Tags No tags attached.
Attached Files png file icon CaptionButton1.PNG [^] (9,369 bytes) 2019-05-19 11:13
zip file icon CaptionButtonTest.zip [^] (54,330 bytes) 2019-05-19 11:17
zip file icon CaptionButtonTest2.zip [^] (54,387 bytes) 2019-05-19 11:20

- Relationships

-  Notes
(0021476)
obones (administrator)
2018-07-18 15:34

Please provide the zipped sources of an application showing this.
(0021841)
mh (reporter)
2019-05-19 11:14

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.
(0021842)
mh (reporter)
2019-05-19 11:20

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.
(0021843)
mh (reporter)
2019-05-19 11:30

Another observation: if I enable themes, the text of the form's caption is visible right from the start!
(0021844)
mh (reporter)
2019-05-19 16:44

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

- 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


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