[SOLVED] Unwanted "autocheck" in TMainMenu Ubuntu lazarus / 31-LCL ---------------------------------------------------------------------- Henppy · 2013-12-15 03:22 Hello gents, new to Lazarus here so I'm having three million question. You've been lucky Google has the answers so far, but this one I can't solve. I'm developing this app and something strange happens with the TMainMenu in Ubuntu. The Autocheck property is set to false, and it works in Windows and Mint, but in Ubuntu, when I click an item it autochecks anyways.  So, anything I should know about menu items in Unity? BTW, the icons are not shown either. Could this be related? ---------------------------------------------------------------------- BigChimp · 2013-12-15 04:44 Welcome. Glad Google was able to answer a lot of your questions. Not an Ubuntu user and can't answer your question, but it always helps to specify the version of Lazarus you use. See first link in my signature. (Actually... you can put it in your forum signature... saves typing...) ---------------------------------------------------------------------- Henppy · 2013-12-15 05:15 Thanks BigChimp. My Lazarus is 1.0.12 and FPC is 2.6.2 (32 bits apparently, "C:\lazarus\fpc\2.6.2\bin\i386-win32\fpc.exe"). Same in Ubuntu. I'm building with "lazbuild -B" so everything by default. Widget I'm using... erm... no idea. I'm not a fan of Ubuntu neither, but for what I understand it's GKT2? As I said, when I click any item in the... Ok, I know what's causing it. Items with icons in them show this behavior. If the item doesn't have an icon (ImageIndex = -1) then everything is fine. And with that knowledge I can see there are some reports about icons not showing in the main menu. Time to investigate! ---------------------------------------------------------------------- BigChimp · 2013-12-15 05:58 Glad you found out quickly. I do remember imageindex bug report(s) as well, yes. Lazarus default widgetset on Linux is indeed GTK2. ---------------------------------------------------------------------- Henppy · 2013-12-21 03:07 This error is solved in Lazarus 1.0.14!