Recent

Author Topic: [SOLVED] svn-IDE cannot handle nonvisual components any more  (Read 3150 times)

wp

  • Hero Member
  • *****
  • Posts: 13412
[SOLVED] svn-IDE cannot handle nonvisual components any more
« on: September 01, 2012, 12:27:01 am »
I updated my svn version today (Win, Laz 1.1, FCP 2.6.0) and compiled Lazarus (clean build).

When I load a project, most of the nonvisual components are gone.

The issue can be reproduced as follows: Open a new form, add a TOpenDialog to the top-left corner of the form. Now drag the icon around, it vanishes when the icon leaves the rectangle of (0,0) to about (127, 127); outside that, the coordinates displayed by the hint window turn negative.

A slightly older IDE from a snapshot runs fine.
« Last Edit: September 01, 2012, 01:05:52 pm by wp »

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: svn-IDE cannot handle nonvisual components any more
« Reply #1 on: September 01, 2012, 08:08:29 am »
There have been changes related to coordinates, perhaps it's revision
Code: [Select]
r38465 | juha | 2012-08-31 18:19:36 +0200 (Friday, 31 aug 2012) | 1 line

Use signed instead of unsigned integer in a structure to prevent range check err
ors. Issue #22760
and
Code: [Select]
r38469 | juha | 2012-09-01 00:38:46 +0200 (za, 01 sep 2012) | 1 line

Revert r38465 and use typecasts to prevent range errors. Should fix issue #22760
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

wp

  • Hero Member
  • *****
  • Posts: 13412
Re: svn-IDE cannot handle nonvisual components any more
« Reply #2 on: September 01, 2012, 01:05:31 pm »
r.38469 is running fine again. Thank you.

 

TinyPortal © 2005-2018