* * *

Author Topic: Form wsMaximized bug...  (Read 1579 times)

jojo86

  • New member
  • *
  • Posts: 5
Form wsMaximized bug...
« on: June 17, 2012, 11:24:41 pm »
Hi, I'm french, and i need your help!

I have a problem with many applications build with lazarus.
In my firm, we use a program build with lazarus.  Some users report a bug.

In Lazarus, i set the windowstate of my form to wsMaximized. When the program is starting, the form is maximized and the screen become transparent. I can't see controls on the form, but i see the behind window.

My form stay transparent ...

i don't unsterdant it's incredible. Do you have an idea? (many user uses dual screens...)

Thank you very much.
« Last Edit: June 17, 2012, 11:26:50 pm by jojo86 »

Bart

  • Hero Member
  • *****
  • Posts: 1093
    • Bart en Mariska's Webstek
Re: Form wsMaximized bug...
« Reply #1 on: June 17, 2012, 11:52:20 pm »
Works fine here (Lazarus trunk on Win7).

What Lazarus/Fpc version?
Which OS?

Bart

jojo86

  • New member
  • *
  • Posts: 5
Re: Form wsMaximized bug...
« Reply #2 on: June 18, 2012, 10:36:14 pm »
Hi, i use lazarus 0.9.30.4, my OS is Win XP.

The problem isn't present in all computer. Today, i try again an the bug disappeared...

Do you think i'm crazy?  :D

Very curious problem.
I've posted in french forums and peoples have never seen this bug.
If you have an idea, please tell me !



avra

  • Sr. Member
  • ****
  • Posts: 350
    • Additional info
Re: Form wsMaximized bug...
« Reply #3 on: June 19, 2012, 11:58:59 am »
Check if all computers with problem have the same graphic type vendor. If they do, update drivers and retest. If there is still a problem then change the graphic card type and repeat tests. I have seen some Delphi applications behaving strange on some graphic cards in the past. You can also check free resources on these computers with some tool. Maybe there aren't enough resources for drawing widgets. It used to be a big problem on Win9x, but less of a problem on WinNT+.
« Last Edit: June 19, 2012, 12:02:06 pm by avra »

jojo86

  • New member
  • *
  • Posts: 5
Re: Form wsMaximized bug...
« Reply #4 on: June 19, 2012, 01:04:13 pm »
Hi, thank for your answer.
The problem is ramdon...
This morning, no problem... So, wait and see!


felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3366
Re: Form wsMaximized bug...
« Reply #5 on: June 19, 2012, 04:07:52 pm »
Please attach a screenshot showing the problem.

jojo86

  • New member
  • *
  • Posts: 5
Re: Form wsMaximized bug...
« Reply #6 on: June 19, 2012, 08:23:35 pm »
Today again, no bug...

But when the problem will come again, i'll post a screenshot.
Hope you'll can help me.

See you later.

Thank you all.

Fred vS

  • Hero Member
  • *****
  • Posts: 888
    • miXimum is the DJ's best friend
Re: Form wsMaximized bug...
« Reply #7 on: June 19, 2012, 09:38:29 pm »
Hello.
I had the same problem...

That solves the thing for me ...

Code: [Select]
procedure TMiximazeCrash.FormCreate(Sender: TObject);

begin
  application.ProcessMessages;
  ...
end;
« Last Edit: June 19, 2012, 09:40:05 pm by Fred vS »
Many thanks.

I use Lazarus 1.1.2 32/64 and FPC 2.6.2 32/64  on Ubuntu 13.04 32/64, Windows 7 32/64, Windows XP 32 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, Win32, GTK2, Qt, Carbon.

jojo86

  • New member
  • *
  • Posts: 5
Re: Form wsMaximized bug...
« Reply #8 on: June 20, 2012, 12:26:05 pm »
Hi,
Realy the same? Could you post a screen shot for other users?

I'll try the processmessages. I must insert this action in the form.create?

Thank!

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads