Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-04

Mild bug in 1.4RC2?

12 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

JuuS

Hi all,

I'm working with Lazarus 1.4RC2 on kubuntu 14.04.

Tonight while designing a form I had a a tcheckbox and a tcombobox that had become hidden. I went to the object inspector and set the Left property to 1, hit enter, then when I went to move the control to the proper place with the mouse it went flying off in y direction by more than a 1000 pixels.

This happened with both controls. I then tried it with a tmemo and other weird movements and controls flying out of the form's bounds.

It only happens (also with top property) when the focus is still on the property of the co-ordinate.

Steps to reproduce:

select a tcheckbox or whatever. Go to object inspector. double click the left property to select the pixels offset. Type 1 and hit enter. Now, with the mouse, simply try to drag that control to another position.

If the focus is not on the left or top in the object inspector everything can be moved with no problems.

Reply by email

JuuS
to JuuS
JuuS wrote 9 lines
Hi all, I'm working with Lazarus 1.4RC2 on kubuntu 14.04. Tonight while designing a form I had a a tcheckbox and a tcombobox that had become hidden. I went to the object inspector and set the Left property to 1, hit enter, then when I went to move the control to the proper place with the mouse it went flying off in y direction by more than a 1000 pixels.

It just struck me...it appears the top/left property is capturing the mouse position...?

Show quoted text 22 lines
This happened with both controls. I then tried it with a tmemo and other weird movements and controls flying out of the form's bounds. It only happens (also with top property) when the focus is still on the property of the co-ordinate. Steps to reproduce: select a tcheckbox or whatever. Go to object inspector. double click the left property to select the pixels offset. Type 1 and hit enter. Now, with the mouse, simply try to drag that control to another position. If the focus is not on the left or top in the object inspector everything can be moved with no problems. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

JuuS
to Juha Manninen
Juha Manninen wrote 6 lines
On Thu, Apr 2, 2015 at 9:44 PM, Vojt?ch ?ih?k wrote: > I'm sure it was this: http://bugs.freepascal.org/view.php?id=23891 Lazarus 1.4 was branched at 11 of January this year. The bug was fixed a long before that, thus the fix is included there. According to JuuS the problem happens in 1.4RC2. Can other people reproduce it?

Yes, I'm definitely using 1.4RC2.

Show quoted text 9 lines
Juha -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

JuuS
to Vojtěch Čihák

Still doing it in RC3.

Blank form, added a TMemo, selected left in object inspector, changed the left coordinate, pressed <enter>, then with mouse tried to move the memo, it is still capturing mouse movements and top went to 1624 with the memo flying off the form boundaries.

Vojt?ch ?ih?k wrote 38 lines
I cannot reproduce in 1.4RC3 under Wine. V. ______________________________________________________________ > Od: Juha Manninen > Komu: Lazarus mailing list > Datum: 03.04.2015 14:02 > P?edm?t: Re: [Lazarus] Mild bug in 1.4RC2? > On Thu, Apr 2, 2015 at 9:44 PM, Vojt?ch ?ih?k wrote: > I'm sure it was this: http://bugs.freepascal.org/view.php?id=23891 Lazarus 1.4 was branched at 11 of January this year. The bug was fixed a long before that, thus the fix is included there. According to JuuS the problem happens in 1.4RC2. Can other people reproduce it? Juha -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Martin Frb
to JuuS
JuuS wrote 10 lines
Still doing it in RC3. Blank form, added a TMemo, selected left in object inspector, changed the left coordinate, pressed <enter>, then with mouse tried to move the memo, it is still capturing mouse movements and top went to 1624 with the memo flying off the form boundaries. On 04/07/2015 05:07 PM, Vojt?ch ?ih?k wrote: > I cannot reproduce in 1.4RC3 under Wine.

Compare the versions of wine involved please?

And also the WindowManager used for your none-wine desktop (since wine would probably get information from it)

Different versions of wine may have bugs of there own. It is possible that the IDE receives messages in an unexpected order.

> >> I'm sure it was this: http://bugs.freepascal.org/view.php?id=23891 > Lazarus 1.4 was branched at 11 of January this year. >

Reply by email

JuuS
to Martin Frb
Martin Frb wrote 18 lines
On 09/04/2015 09:51, JuuS wrote: > Still doing it in RC3. > > Blank form, added a TMemo, selected left in object inspector, changed > the left coordinate, pressed <enter>, then with mouse tried to move the > memo, it is still capturing mouse movements and top went to 1624 with > the memo flying off the form boundaries. > > > On 04/07/2015 05:07 PM, Vojt?ch ?ih?k wrote: >> I cannot reproduce in 1.4RC3 under Wine. Compare the versions of wine involved please? And also the WindowManager used for your none-wine desktop (since wine would probably get information from it) Different versions of wine may have bugs of there own. It is possible that the IDE receives messages in an unexpected order.

Sorry, I should have given more information perhaps. I am not using wine, this was run under brand new install of 1.4RC3 on kubuntu 14.04. I am not sure if you were asking me or Vojtech...

Show quoted text 13 lines
>> >>> I'm sure it was this: http://bugs.freepascal.org/view.php?id=23891 >> Lazarus 1.4 was branched at 11 of January this year. >> -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email