[Lazarus] Display issues under Vista when using classic look (or with themes disabled)

Reenen Laurie rlaurie at gmail.com
Wed Sep 17 20:00:40 CEST 2008


On Tue, Sep 16, 2008 at 6:05 AM, Kostas Michalopoulos
<badsector at slashstone.com> wrote:
> Hi list,
>
> I found a bug in Lazarus that happens under Vista when the advanced
> visual themes are disabled and the mode is in "classic" theme (the one
> that looks like win9x/2k). The bug makes the text in buttons (TBitBtn
> probably since it does it only in the buttons with some icon) disappear
> and the grid in forms is drawn wrongly (with gaps between bunches of
> dots and drawing is *REALLY* slow, i assume the coords are wrong). Those
> are what i found at least, since Lazarus is pretty much unusable at this
> state.

It may be related to this bug - http://bugs.freepascal.org/view.php?id=11590

Although in this case setting the theme to the "classic" theme is the
workaround.

But what I've learnt so far about this thing is that Vista uses 3d
(dunno if it's Direct X or OpenGL) for drawing the advanced themes.
My application uses 3d for the application itself, and the icons on
the buttons (TSpeedButtons) are displayed correctly.

Regards,
-Reenen


-- 
o__
,_.>/ _
(_)_\(_)_______
...speed is good
_______________
I believe five out of four people have a problem with fractions.



More information about the Lazarus mailing list