zamtmn / metadarkstyle

68 stars 18 forks source link

Bug: metadarkstyle revokes modal dialog's border style .... when a TTreeview shows hints #57

Open klaus101 opened 1 day ago

klaus101 commented 1 day ago

Hi zamtmn, from another thread occasionally if found an ugly side effect definiively due to the dark theme:

It appears to me that at hint painting some calls are triggered affecting the dialog style of the form. Could you please try out the test project (you may want to replace the herein embedded metadarkstyle files by your own installation)? _prob_ModalDialog_without_icon.zip

zamtmn commented 1 day ago

Yes, problem present((

klaus101 commented 1 day ago

Thanks zamtmn! For to exclude possible side effects of recent updates, i tried with a somehow older verison (around June 2023); but it's the same.

It does feel for me as if calls are triggered or allowed to pass that affect the form's style. And this reminds me somehow on an older Lazarus issue about wrong pointer types shown here: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/19321

Remark: the testcase given at the end of the report behaves correctly for me with newer Lazarus version and light theme. Do you see any possible dependency, or any chance to track it down?

zamtmn commented 7 hours ago

I don't have any thoughts on how to fix it yet((