× CodeTyphon Cross-Build Development, discussions and problems

Important WinCE crash on resize FloatSpinEdit

  • Alexandros Ntermaris
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 1 week ago - 10 years 1 week ago #1414 by Alexandros Ntermaris
WinCE crash on resize FloatSpinEdit was created by Alexandros Ntermaris
I tried a sample project using on form and a Floatspinedit ancord left , right and top.
the program crashes and the log :

TApplication.HandleException TWinControl.WMMove loop detected: FloatSpinEdit1:TFloatSpinEdit BoundsRealized=l=22,t=10,r=194,b=29 NewBoundsRealized=l=181,t=10,r=353,b=29
Stack trace:
$001230DC
$00122ECC
$0001B6F4
$0011FB88
$0016B854
$000F3310
$00175B1C
$9054D804
$00022F4C
Attachments:
Last edit: 10 years 1 week ago by Alexandros Ntermaris.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
10 years 1 week ago - 10 years 1 week ago #1415 by Sternas Stefanos
Replied by Sternas Stefanos on topic Re: WinCE crash on resize FloatSpinEdit
Sir
I make a new test application and working ok
please test and report.

(Απο τους λιγους Ελληνες που βλεπω το Forum...)

PilotLogic Architect and Core Programmer
Attachments:
Last edit: 10 years 1 week ago by Sternas Stefanos.
The following user(s) said Thank You: Alexandros Ntermaris

Please Log in or Create an account to join the conversation.

  • Konstantinos Papadoulas
  • Offline
  • Junior Member
  • Junior Member
More
10 years 1 week ago #1417 by Konstantinos Papadoulas
Replied by Konstantinos Papadoulas on topic Re: WinCE crash on resize FloatSpinEdit
Μπορεί να είμαστε περισσότεροι απο ότι δείχνουμε ;)

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
10 years 1 week ago #1418 by Sternas Stefanos
Replied by Sternas Stefanos on topic Re: WinCE crash on resize FloatSpinEdit
Πολυ καλο αυτο
γιατι θα χρειαστουμε πολυ βοηθεια... :)

PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Konstantinos Papadoulas

Please Log in or Create an account to join the conversation.

  • Alexandros Ntermaris
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #1437 by Alexandros Ntermaris
Replied by Alexandros Ntermaris on topic Re: WinCE crash on resize FloatSpinEdit
Good Morning
If on the test open the right anchor to the spinedit the crashes....
on the test i send you can see it and i have the compiled for arm wince and the debug log.
I see that the spin edit changed from version 9.28 where it was working fine.....

Καλημερα και απο εμας εδω στα κρυα και βροχερα Γιαννενα. H Lazarus μαζι με το BDS2007 ειναι τα βασικά εργαλεία ανάπτυξης στην εταιρεία μας....... Φυσικά και θα βοηθήσουμε την κατασταση........
Αλέκος Ντερμάρης www.iqsoft.gr

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
9 years 11 months ago #1438 by Sternas Stefanos
Replied by Sternas Stefanos on topic Re: WinCE crash on resize FloatSpinEdit
Thanks Sir
from version 9.28 to 9.31 SVN
and freepascal 2.7.1, many things are new

We working on your sample now...

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
9 years 11 months ago - 9 years 11 months ago #1439 by Sternas Stefanos
Replied by Sternas Stefanos on topic Re: WinCE crash on resize FloatSpinEdit
Αλέκο, we test your sample without problem
CodeTyphon 2.40 lab (emulator WinCE 6.5.3)

PilotLogic Architect and Core Programmer
Last edit: 9 years 11 months ago by Sternas Stefanos.
The following user(s) said Thank You: xcod

Please Log in or Create an account to join the conversation.

  • Konstantinos Papadoulas
  • Offline
  • Junior Member
  • Junior Member
More
9 years 11 months ago #1440 by Konstantinos Papadoulas
Replied by Konstantinos Papadoulas on topic Re: WinCE crash on resize FloatSpinEdit
I have finished with a couple of tests here with Αλέκος program. Here are my results:

1. I have downloaded the provided project1.exe directly to my Omnia2 (WM 6.5) phone and i got errors for the message loop of the TSpinEdit.
2. I have lunched my CT 2.30 installation and RECOMPILED Αλέκος program. Downloaded to my Omnia2 and EVERYTHING worked perfect.
3. I did the same as above BUT including an .rc file for having the resolution of the program adjusted. The .rc files has one and
only directive: HI_RES_AWARE CEUX {1}. Also the program worked perfect.

The only thing i noticed is that the Lazarus IDE shows the following error: Compiler "c:\codetyphon\fpc\bin\i386-win32\fpc.exe" does not support
target arm-wince. But apart from that everything went ok.

Kostas

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #1441 by Miquel Matas
Replied by Miquel Matas on topic Re: WinCE crash on resize FloatSpinEdit
Sternas,

Please, which is expected release date for 2.40?

Thank you!

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
9 years 11 months ago - 9 years 11 months ago #1442 by Sternas Stefanos
Replied by Sternas Stefanos on topic Re: WinCE crash on resize FloatSpinEdit
Sir, we are waiting to finish Lazarus SVN activity...
The main items of ver 2.40 are ready,
also we use SVN code for both Freepascal (with lot of MODs for Solaris OS) and Lazarus

Give us some days...for release

PilotLogic Architect and Core Programmer
Last edit: 9 years 11 months ago by Sternas Stefanos.
The following user(s) said Thank You: Miquel Matas

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #1443 by Miquel Matas
Replied by Miquel Matas on topic Re: WinCE crash on resize FloatSpinEdit
Of course!

Thank you!

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
9 years 11 months ago #1444 by Sternas Stefanos
Replied by Sternas Stefanos on topic Re: WinCE crash on resize FloatSpinEdit
And a photo from the new version of CentOS 6.1 test

PilotLogic Architect and Core Programmer
Attachments:
The following user(s) said Thank You: Konstantinos Papadoulas, xcod

Please Log in or Create an account to join the conversation.

  • Alexandros Ntermaris
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago - 9 years 10 months ago #1496 by Alexandros Ntermaris
Replied by Alexandros Ntermaris on topic Re: WinCE crash on resize FloatSpinEdit
Hi Kostas.
I want to ask some things because i am fully confuzed.... :S
You recompile thesample i send without changing the Right Anchor fron the floatspinedit and compiled ok????
I focused that the message loop error comes when i try to put the right anchor to the float spin edit. Also spin edit have the same problem.
I tried and Sternas sample test which works ok but it has NOT the right anchor........
Can you send your copy to see it and the compiled if possible to see if there is a copilation issue whith the options i use....
I tried all these with codetyphon 2.4
Thanks for your time
Alekos
Last edit: 9 years 10 months ago by Alexandros Ntermaris.

Please Log in or Create an account to join the conversation.

  • Konstantinos Papadoulas
  • Offline
  • Junior Member
  • Junior Member
More
9 years 10 months ago - 9 years 10 months ago #1497 by Konstantinos Papadoulas
Replied by Konstantinos Papadoulas on topic Re: WinCE crash on resize FloatSpinEdit
Kalimera Aleko,

I have tested your program with the Right Anchor set and indeed i got 3 - 4 error messages from the LCL complaining about
the message loops some windows messages concerning the change of position of the control. After all these message though it
worked correctly.

I also made a change in your program. Instead of applying the Right Anchor in Design time i have placed a button on the main
form and applied the Right Anchor during Runtime. It had the same result of error messages.

And there might be ANOTHER bug.... Setting in runtime the WIDTH of both the controls, they are also changing their LEFT property!!!
Instead of just grow, they MOVE too!

So Alekos, sorry for not testing your program properly the last time i wrote in this forum thread. I have attached the project and
the lcldebug.log that has been generated on my Omnia 2.

Kostas
Attachments:
Last edit: 9 years 10 months ago by Konstantinos Papadoulas. Reason: Added the .zip file
The following user(s) said Thank You: Alexandros Ntermaris

Please Log in or Create an account to join the conversation.

  • Alexandros Ntermaris
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #1498 by Alexandros Ntermaris
Replied by Alexandros Ntermaris on topic Re: WinCE crash on resize FloatSpinEdit
Kalhspera Kosta
Thanks for your review.
I search this issue in the source of LCL and found that there must be a missing implementation in the spinedit and floatspinedit using the auto in the resize procedure.I will try to see if i can fix it but it loks hard. i have to study all the design of the TWinControl.WMMove and TWinControl.WMSize procedures... :S
I made long time ago a bugtracker ticket to the lazarus mantis but they still have it pending.
The only version that this works and we use it on our company is 0.9.28 from the official site of lazarus. This has a comlete different dsign at wincontrol......
Thanks for everything.
Alekos

Please Log in or Create an account to join the conversation.