Sign in Join

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

Mailing lists / lazarus / 2013-01

Change View unit/form (F12) bug

8 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Leonardo M. Ramé

Hi, this is a long time bug (I didn't find it on Mantis).

Let's say you are editing a unit and press F12 to change view to edit the form visually, it should show the form associated to the current unit. If you go back to the source editor, then change tab, to edit another unit, then press F12, you'll end editing the form of the previous unit, and not the current one.

Step by step:

1) Edit unit1.pas
2) Press F12 -> view unit1.lfm
3) Press F12 to go back to the source editor.
4) Change tab to unit2.pas
5) Press F12 --> BUG!!! -> you'll see unit1.lfm instead of unit2.lfm

The workaround I use is to go back and forth between unit1 and unit2, and press F12 until I see the correct form.

Regards,

Reply by email

Bart
to Leonardo M. Ramé
Leonardo M. Ram? wrote 6 lines
1) Edit unit1.pas 2) Press F12 -> view unit1.lfm 3) Press F12 to go back to the source editor. 4) Change tab to unit2.pas 5) Press F12 --> BUG!!! -> you'll see unit1.lfm instead of unit2.lfm

No such problem here: Lazarus 1.1 r39620 FPC 2.6.2 i386-win32-win32/win64

Bart

Reply by email

Leonardo M. Ramé
to Bart
Bart wrote 13 lines
On 1/5/13, Leonardo M. Ram? wrote: > > 1) Edit unit1.pas > 2) Press F12 -> view unit1.lfm > 3) Press F12 to go back to the source editor. > 4) Change tab to unit2.pas > 5) Press F12 --> BUG!!! -> you'll see unit1.lfm instead of unit2.lfm No such problem here: Lazarus 1.1 r39620 FPC 2.6.2 i386-win32-win32/win64 Bart

I'm on Ubuntu 12.04 64bits - Lazarus r39770 / FPC 2.7.1

Reply by email

William Oliveira Ferreira
to Leonardo M. Ramé: Hi, this is a long time bug (I didn't find it on Mantis). Let's say you are editing a…

using anchordocking?

2013/1/5 Leonardo M. Ram?

Show quoted text 30 lines
Hi, this is a long time bug (I didn't find it on Mantis). Let's say you are editing a unit and press F12 to change view to edit the form visually, it should show the form associated to the current unit. If you go back to the source editor, then change tab, to edit another unit, then press F12, you'll end editing the form of the previous unit, and not the current one. Step by step: 1) Edit unit1.pas 2) Press F12 -> view unit1.lfm 3) Press F12 to go back to the source editor. 4) Change tab to unit2.pas 5) Press F12 --> BUG!!! -> you'll see unit1.lfm instead of unit2.lfm The workaround I use is to go back and forth between unit1 and unit2, and press F12 until I see the correct form. Regards, -- Leonardo M. Ram? http://leonardorame.blogspot.com -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
________________________________ William de Oliveira Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130105/2c819084/attachment.html>

Reply by email

Leonardo M. Ramé
to Mattias Gaertner: On Sat, 5 Jan 2013 22:36:51 -0300 Please report this bug. Mattias
Mattias Gaertner wrote 12 lines
On Sat, 5 Jan 2013 22:36:51 -0300 Leonardo M. Ram? wrote: > On 2013-01-05 14:50:42 -0200, William Oliveira Ferreira wrote: > > using anchordocking? > > Yes. Please report this bug. Mattias

Mattias, I found you marked the issue as Fixed in 39774, but I've tested on 39780 and it's still there.

Do you need more info?.

Reply by email