zamtmn / metadarkstyle

65 stars 16 forks source link

Anchordock title bars rendered in white after the first usage of the IDE #31

Open leoburn5 opened 1 year ago

leoburn5 commented 1 year ago

After installing the package, uppon atarting Lazarus, darkmode runs fine.

If I close IDE and start it again, the docked menu bars appears as white as showed belloe:

image

If I unninstall the package and install again, at first usage, it´s fine, but the problem appears again in the subsequent uses.

zamtmn commented 1 year ago

Lazarus version? I have encountered such problems, they were introduced and quickly fixed https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40375

leoburn5 commented 1 year ago

Lazarus version? I have encountered such problems, they were introduced and quickly fixed https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40375

image

image

zamtmn commented 1 year ago

Can`t confirm(( image

leoburn5 commented 1 year ago

Can`t confirm(( image

You have to close IDE, and Open it Again.

The problem seem´s to be related with the dock option "Header Style" = Line or Lines.

I have changed to Themed Button, and it does not happens anymore.

This is a great feature, long waited by us Users, can this be made avaiable online package manager?

zamtmn commented 1 year ago

No, everything works for me((

online package manager

Of course you can add, but I don't know how to do it. Can you help?

leoburn5 commented 1 year ago

No, everything works for me((

online package manager

Of course you can add, but I don't know how to do it. Can you help?

Sure.

I’ll take a look into it!

0x4A4D00 commented 8 months ago

I encounter this problem in both versions 2.2.6 and Trunk. Launching Lazarus from the original binary file (Lazarus.exe without any shortcuts on the desktop) triggers the issue. However, when I start it with a shortcut pointing to startlazarus.exe or open it manually, it runs without problems. Furthermore, launching Lazarus.exe with the --no-splash-screen flag also resolves the issue.

docked_problem

zamtmn commented 8 months ago

Yes, confirm. I have this happening when starting Lazarus with a different settings folder

theonlyasdk commented 2 weeks ago

Does the problem go away when you disable Fill Headers?

zamtmn commented 2 weeks ago

The problem is that there is no mechanism to control the sequence of execution of the package code, at the launch stage of Lazarus, when the folder with the configuration has already been resolved, and initialization has not yet been performed. May be help to change the order of installation of the mds and anchdock packages, but i no check this

theonlyasdk commented 2 weeks ago

Do you know where this initialisation has to be done?