Cluttered taskbar on Mint 17.2 Cinnamon lazarus / 1-Linux ---------------------------------------------------------------------- BosseB · 2016-02-26 23:27 When I minimize Lazarus on my Mint 17.2 system (Cinnamon) and want to restore it I have to click every single task bar icon in the right sequence. Not fun. I found a setting in Tool/Options/Environment/Window/"Show single button in taskbar" and I thought that this would fix the problem, but it does not... Is there another setting that is a master over this? ---------------------------------------------------------------------- JD · 2016-02-27 00:07 This is a known issue with Mint Cinnamon. The only way I was able to get round it was by removing the default taskbar applet/extension & downloading one that allows the grouping of taskbar windows by application - a Windows 7 style type of grouping. You will find it in the Extensions setting and under Download more extensions. After populating the list with more extensions, choose the one with Windows 7 style grouping of windows, and then activate it. That way all of Lazarus related windows are shown as one window in the taskbar. Cheers, JD ---------------------------------------------------------------------- Abelisto · 2016-02-27 00:49 Cinnamon provides unusual behavior as I understand. Simple test with main and secondary form where secondary form have property ShowInTaskbar = stNever. Minimizing the main form also causes the minimizing of the secondary form, but restoring of the main form does not restores secondary form. So without exclusive code for Cinnamon the secondary form can not be restored in usual way. Sorry for my poor English  Thats why I install and use MATE (XFCE works fine too). ---------------------------------------------------------------------- BosseB · 2016-02-27 07:01 Thanks for the explanation. It seems to be outside of Lazarus control then... I went to Mint because it is supposedly a good mix for development purposes. I run it in a VMWare virtual machine. The reason is that I needed a Linux based IDE for my Raspberry Pi2 target development and there were issues on the target machine that I hoped would be non-present in a more wide-spread environment. Still not Windows. These were gone here but now other issues pop up instead. JD: Regarding the workaround by changing "extension": Is this a thing in Lazarus or Mint/Cinnamon? Exactly where could I change it? Abelisto: What is MATE and XFCE? General about this forum: I did not know about this forum's existence until I asked on the Embarcadero list. So I am a newbie here. Question: Is there any way to get email alerts when someone replies to a thread you have created? All other forums I subscribe to have this facility so I can know when to open the forum page and have a look... ---------------------------------------------------------------------- BosseB · 2016-02-27 07:07 Quote from: JD on February 27, 2016, 01:07:37 amYou will find it in the Extensions setting and under Download more extensions. After populating the list with more extensions, choose the one with Windows 7 style grouping of windows, and then activate it. On my Mint 17.2 when I go to Extensions and click "Available on line" the list populates with a rather small number of items and none mentions the taskbar... You do not happen to have the exact name? ---------------------------------------------------------------------- howardpc · 2016-02-27 08:16 Quote from: BosseB on February 27, 2016, 08:01:42 amIs there any way to get email alerts when someone replies to a thread you have created? All other forums I subscribe to have this facility so I can know when to open the forum page and have a look... If you go to Profile in the forum menu, and then to Notifications (see the sidebar list on that page) you'll see a checkbox for "Turn notification on when you post or reply to a topic". There is also an option to have the reply content included in the notification email. ---------------------------------------------------------------------- BosseB · 2016-02-27 09:02 Quote from: howardpc on February 27, 2016, 09:16:51 amIf you go to Profile in the forum menu, and then to Notifications (see the sidebar list on that page) you'll see a checkbox for "Turn notification on when you post or reply to a topic". There is also an option to have the reply content included in the notification email. Thanks, found it. Now I just have to wait and see if it actually also works... ---------------------------------------------------------------------- JD · 2016-02-27 09:12 Quote from: BosseB on February 27, 2016, 08:07:58 amQuote from: JD on February 27, 2016, 01:07:37 amYou will find it in the Extensions setting and under Download more extensions. After populating the list with more extensions, choose the one with Windows 7 style grouping of windows, and then activate it. On my Mint 17.2 when I go to Extensions and click "Available on line" the list populates with a rather small number of items and none mentions the taskbar... You do not happen to have the exact name? Welcome to Lazarus forums! I see your posts in the Embarcadero forums (under Winsock -> Indy) & I read the thread where you described your initial difficulties with installing Indy in Lazarus/FreePascal on Linux (having to compile the package twice because of IdStreamVCL). Remy Lebeau is also on this Lazarus forum somewhere so you'll be covered anyway. Continue to use both forums and you'll get the best of ALL worlds. The applet you need is called Window List with App Grouping. a) Right click on the taskbar b) Choose Add applets to the panel c) Click the second tab called Available applets (online). Over 300 applets will be listed. d) Look for Window List with App Grouping applet e) Click its checkbox f) Click the button called Install or update selected items g) Go back to the first tab called Installed Applets h) Select the Window List with App Grouping applet i) Click on the Add to panel button (bottom left) Now you'll see the icons of open applications (similar to windows 7) with numbers on them on the taskbar . The numbers indicate the number of open windows for the application. After this I usually remove the default taskbar applet called Window List which is responsible for the clutter you observed from the taskbar. You can do this by right clicking on it in the Installed Applets list & then choosing Remove from panel. To answer another one of your questions, MATE is another flavour of Linux Mint (XFCE is another one). Each uses a different Window Manager. I use them all but I prefer Cinnamon because of its special visual effects out of the box. The Lazarus issue is trivial in my opinion. Cheers, JD ---------------------------------------------------------------------- Abelisto · 2016-02-27 10:24 Quote from: BosseB on February 27, 2016, 08:01:42 amAbelisto: What is MATE and XFCE? https://en.wikipedia.org/wiki/MATE_%28software%29 https://en.wikipedia.org/wiki/Xfce ---------------------------------------------------------------------- Windsurfer · 2016-02-27 10:39 I never found this a problem before, but 'Window List with App Grouping' is great. Thanks for the tip. ---------------------------------------------------------------------- JD · 2016-02-27 12:53 Quote from: Windsurfer on February 27, 2016, 11:39:08 amI never found this a problem before, but 'Window List with App Grouping' is great. Thanks for the tip. You're welcome. I usually spend a lot of time tweaking my Linux distros (for special effects e.g Compiz, MacOSX type launcher etc) and I actually found it by chance. JD ---------------------------------------------------------------------- BosseB · 2016-02-27 13:26 Quote from: JD on February 27, 2016, 10:12:44 amNow you'll see the icons of open applications (similar to windows 7) with numbers on them on the taskbar . The numbers indicate the number of open windows for the application. I did as described and when I started Lazarus I got a very small icon to the very right of the taskbar that expanded to a set of Lazarus shadow images when I hovered the mouse over it. But I have a problem still: If I minimize Lazarus the desktop clears and I can do other stuff. Next I want to restore Lazarus but this is hit&miss in this case. - I have to show the shadows of the windows and click each one to bring it back - So this takes some clicking to do... - If I miss and click an already restored shadow it will disappear instead So instead of bringing back all of Lazarus I can only bring back one window at a time... In Windows there is only one "button" on the taskbar when I have minimized Lazarus and it comes back in its entirety when I click that taskbar button. On Raspbian Jessie minimizing causes all windows to disappear and a separate taskbar button is shown for each. These control its individual window except for the one labelled Lazaus IDE, which brings back all windows when clicked. On Mint 17.2 Cinnamon currently I have no such restore option. It seems to be depending on something not clear to me... - Clicking Lazarus IDE brings back the main Lazarus window plus the Object inspector - Close Lazarus, start it and minimize - Clicking Lazarus IDE brings back the main Lazarus window only Once I have even seen all Lazaus windows being restored There seems to be some randomness in this... Maybe I should ditch this Mint 17.2 Cinnamon altogether and go for a MATE system instead (if it behaves better in this respect)? ---------------------------------------------------------------------- JD · 2016-02-27 13:54 Quote from: BosseB on February 27, 2016, 02:26:36 pmMaybe I should ditch this Mint 17.2 Cinnamon altogether and go for a MATE system instead (if it behaves better in this respect)? It does take getting used to BUT I can assure you that MATE does not behave like this. I've tried Lazarus on Mint MATE & Mint XFCE too. MATE is based on Gnome 2, an older desktop environment & it handles Lazarus windows better. See this article for a brief comparison http://www.makeuseof.com/tag/gnome-based-desktop-environments- explained-mate-vs-gnome-shell-vs-unity-vs-cinnamon/ JD ---------------------------------------------------------------------- Windsurfer · 2016-02-27 14:02 I see what you mean. I have always used the Workspace Switcher applet, with several desktops. That way I can run a different application in each workspace. ---------------------------------------------------------------------- JD · 2016-02-27 14:39 Quote from: Windsurfer on February 27, 2016, 03:02:49 pmI see what you mean. I have always used the Workspace Switcher applet, with several desktops. That way I can run a different application in each workspace. I use it too. Very useful when you want to hide your work from prying eyes.  JD ---------------------------------------------------------------------- BosseB · 2016-02-27 16:41 Quote from: JD on February 27, 2016, 02:54:07 pmQuote from: BosseB on February 27, 2016, 02:26:36 pmMaybe I should ditch this Mint 17.2 Cinnamon altogether and go for a MATE system instead (if it behaves better in this respect)? It does take getting used to BUT I can assure you that MATE does not behave like this. I've tried Lazarus on Mint MATE & Mint XFCE too. MATE is based on Gnome 2, an older desktop environment & it handles Lazarus windows better. I am at the moment installing Mint17.3Mate-X64 in a new virtual machine to compare against. Will take a while to get everything set up though... Hopefully it will behave better regarding he taskbar. Apart from that I do not expect it to be any different from what I had in 17.2Cinnamon. I'll be back... ---------------------------------------------------------------------- BosseB · 2016-02-27 18:50 Now ready: - installed Linux Mint 17.3 MATE X64 - Installed FPC 3.0.0 - Downloaded Lazarus release 1.6 sources and built bigide - Started Lazarus All seems OK so far. There is no way I found to add the "Windows list with App grouping" in MATE but here at least Lazarus when minimized can be restored in full by clicking the "button" for Lazarus IDE. Works like Raspbian Jessie. Still a lot of stuff on the taskbar, but I can live with that. Question: I have read about an alternate way of displaying Lazarus as one single window with the sub-windows docked together like in RAD Studio. How can I test how this looks like? ---------------------------------------------------------------------- balazsszekely · 2016-02-27 19:12 Quote@BosseB I have read about an alternate way of displaying Lazarus as one single window with the sub-windows docked together like in RAD Studio. How can I test how this looks like? Install Anchordocking($(LazrusDir)/components/anchordocking/design/anc hordockingdsgn.lpk) and Sparta($(LazrusDir)/components/sparta/dockedfo rmeditor/sparta_dockedformeditor.lpk) pacakges.  Then go to: Tools-->Destkops and import the following layout(see attachment). ---------------------------------------------------------------------- JD · 2016-02-27 19:55 Quote from: BosseB on February 27, 2016, 07:50:05 pmThere is no way I found to add the "Windows list with App grouping" in MATE but here at least Lazarus when minimized can be restored in full by clicking the "button" for Lazarus IDE. Works like Raspbian Jessie. Still a lot of stuff on the taskbar, but I can live with that. MATE does not have "Windows list with App grouping" like Cinnamon BUT now your Lazarus taskbar windows will be easier to ùanage. JD ---------------------------------------------------------------------- BosseB · 2016-02-27 20:20 Quote from: GetMem on February 27, 2016, 08:12:44 pmInstall Anchordock ing($(LazrusDir)/components/anchordocking/design/anchordockingdsgn.lpk ) and Sparta($(LazrusDir)/components/sparta/dockedformeditor/sparta_do ckedformeditor.lpk) pacakges.  Then go to: Tools-->Destkops and import the following layout(see attachment). I have done this now and it looks OK after I have restarted Lazarus (before restart it looked really strange...). And the toolbar buttons are reduced to one single Lazarus button! Exactly what I was after.  Thanks for all help! ---------------------------------------------------------------------- balazsszekely · 2016-02-27 20:40 @BosseB I'm glad it's working! You can customize it further by going to Tools-->Options--Environment-->Docking/Anchordocking. Check show headers, then drag, dock the windows as you like. After you done, go to Tools-->Desktop and press the "Save current desktop as" button. You can also configure a debug layout if you like. Don't forget to export the desktops to file, for future use.