[lazarus] Menu Editor problems

2006-10-18 Thread Graeme Geldenhuys

Hi,

Has anybody else noticed that the menu editor is screwed?
I use Lazarus 0.9.19 (r10047) under Linux with FPC 2.1.1 and Gtk1 widget set.

I create a form, drop a TMainMenu on the form.
Double click the TMainMenu which opens the menu editor.
I insert a Default File menu template.

Save everything and restart lazarus.

Back to my form, double click on the TMainMenu to open the Menu Editor.
Right click on 'Save' and select Delete Item, and two menu items
disappear. This happens every time I select Delete item.

Now what you see in the form designer is different to what you see
when you compile and run the app.  Form design shows a certain amount
of menu items, and when running the app it shows a different amount of
menu items. Also pressing F12 (switching between Form Designer and
Code Editor) a few times, to see what TMenuItems have been inserted in
the code editor crashed Lazarus. It pops up the the OK to ignore the
error, or Cancel to kill the app. Sometimes also showing Unable to
view a hidden or disabled window, well something like that.

Regards,
 - Graeme -


--
There's no place like 127.0.0.1

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


RE: [lazarus] Menu Editor problems

2006-10-18 Thread Crause, Christo \(JC\)
 Has anybody else noticed that the menu editor is screwed?
 I use Lazarus 0.9.19 (r10047) under Linux with FPC 2.1.1 and 
 Gtk1 widget set.
 
 I create a form, drop a TMainMenu on the form.
 Double click the TMainMenu which opens the menu editor.
 I insert a Default File menu template.
 
 Save everything and restart lazarus.
 
 Back to my form, double click on the TMainMenu to open the 
 Menu Editor.
 Right click on 'Save' and select Delete Item, and two menu 
 items disappear. This happens every time I select Delete item.
 
 Now what you see in the form designer is different to what 
 you see when you compile and run the app.  Form design shows 
 a certain amount of menu items, and when running the app it 
 shows a different amount of menu items. Also pressing F12 
 (switching between Form Designer and Code Editor) a few 
 times, to see what TMenuItems have been inserted in the code 
 editor crashed Lazarus. It pops up the the OK to ignore the 
 error, or Cancel to kill the app. Sometimes also showing 
 Unable to view a hidden or disabled window, well something 
 like that.

I can confirm that I have observed the same problem on r. 10088.

It seems as if 2 items get deleted when one selects Delete Item in the
menu editor.  I have also noticed that the menu items displayed in the
Menu Editor after deleting an item is sometimes out of sync with the
items displayed on the form, typically if one deletes the last item.

Christo

NOTICE: Please note that this eMail, and the contents thereof, 
is subject to the standard Sasol eMail legal notice which may be found at: 
http://www.sasol.com/legalnotices   
   

If you cannot access the legal notice through the URL attached and you wish 
to receive a copy thereof please send an eMail to 
[EMAIL PROTECTED]


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives