Can I change layout of windows on run? lazarus / 9-Editor ---------------------------------------------------------------------- staratel20 · 2016-02-11 12:49 When I design forms, write code and so on I'm interest one layout of windows, but when run/debug I want Object inspector,Messages to be hided, but appears on the same positions when debugging stops. Is exist way to reach it? ---------------------------------------------------------------------- balazsszekely · 2016-02-11 13:02 Please try this: Lazarus Menu-->Tools-->Options-->Environment-->Window-->Hide IDE Windows on Run ---------------------------------------------------------------------- staratel20 · 2016-02-11 13:07 Try it, but that's not exactly what I need. I mean exactly layout of Windows - Editor take more place, Object inspector - hided, Messages - hided, Watch list - appears from right, etc. And on stop - same layout back. ---------------------------------------------------------------------- balazsszekely · 2016-02-11 13:17 Then define two desktops(Tools-->Desktops), one of them should be the debug desktop. You can also export/import them to/from file. ---------------------------------------------------------------------- staratel20 · 2016-02-11 13:36 It is useful! Be also great if in this location: Lazarus Menu-->Tools-->Options-->Environment-->Window be a checkbox for auto switch to Debug desktop on run. And also, looks I found bug. I have a three desktops : default, Normal and Debug. I chose Options-->Environment--IDE coolbar and then add to panel(where button Run) button - Desktops. Then press at button appears and choose another desktop - and button disappear from this panel(with button run) and appears in panel where buttons New,Open and so on. ---------------------------------------------------------------------- balazsszekely · 2016-02-11 13:46 QuoteIt is useful! Be also great if in this location: Lazarus Menu-->Tools-->Options-->Environment-->WindowWould you like to access the "Mange Desktops" Dialog  from Lazarus Menu-->Tools-->Options-->Environment-->Window? Yes, I guess it can be implemented. Quotebe a checkbox for auto switch to Debug desktop on run.If you define a debug window, the switch is done automatically. QuoteAnd also, looks I found bug. I have a three desktops : default, Normal and Debug. I chose Options-->Environment--IDE coolbar and then add to panel(where button Run) button - Desktops. Then press at button appears and choose another desktop - and button disappear from this panel(with button run) and appears in panel where buttons New,Open and so on.You tested with the trunk version? Please export the desktops and attach it here, so I can run a few test. ---------------------------------------------------------------------- staratel20 · 2016-02-11 14:09 QuoteWould you like to access the "Mange Desktops" Dialog  from Lazarus Menu-->Tools-->Options-->Environment-->Window? Yes, I guess it can be implemented. It's not needed if correct what you wrote: QuoteIf you define a debug window, the switch is done automatically. I done this, but switch not happening. Also send you screen with Desktop-button position before he jumping. P/s: especially for me more comfortable for Manage desktops Form auto hide when I double click on desktop name - so I recompile Lazarus and now satisfied)) ---------------------------------------------------------------------- staratel20 · 2016-02-11 14:13 Ops! Forgot attachment! ---------------------------------------------------------------------- balazsszekely · 2016-02-11 14:30 Quotedone this, but switch not happening.Please take a look: https://youtu.be/ro_r7R3TsTw QuoteOps! Forgot attachment!Ok, thanks! I will run a few tests later. ---------------------------------------------------------------------- staratel20 · 2016-02-11 17:29 Now and forever  it's clean)! Thank's for your time on video. I was confused because think that's enough to set name of desktop as "debug". Now clean that I need to press button with spider and toggle my current debug-layout window as "debug". Did I said that this automatic toggle is amazing thing? It's so! ---------------------------------------------------------------------- staratel20 · 2016-02-12 07:29 Returning to useful checkboxes in: Lazarus Menu-->Tools-->Options-->Environment-->Window be good to add "Messages window on top if compiling failed" - it's because in most of cases I need to see only a little peace of this window to see the something happens(Lazarus not hanging). But if compiling not success - I click to that peace to move this window on top. ---------------------------------------------------------------------- balazsszekely · 2016-02-12 10:07 Quotebe good to add "Messages window on top if compiling failed" - it's because in most of cases I need to see only a little peace of this window to see the something happens(Lazarus not hanging). But if compiling not success - I click to that peace to move this window on top. What you're asking is not particularly hard to implement, but first you should ask in the Lazarus Mailing List(http://lists.lazarus.freepascal.org/mailman/listinfo), because most of the developers are not visiting this forum. If they agree, I can implement it later. ---------------------------------------------------------------------- staratel20 · 2016-02-12 10:41 To use MailingList comfortable is it necessary to use something like Outlook or Bat? Especially you use? ---------------------------------------------------------------------- balazsszekely · 2016-02-12 10:46 No, just subscribe, after confirmation you can send/ receive mails with your usual mail client. ---------------------------------------------------------------------- staratel20 · 2016-02-12 11:11 And you read ALL letters you receive o_O ? ---------------------------------------------------------------------- balazsszekely · 2016-02-12 12:40 Quote@startel20 And you read ALL letters you receive o_O ?Yes, I do! I have a separate folder in my inbox, dedicated just for the mailing list.  Unfortunately I cannot send mails, somehow my mails get filtered out in the list, but I do read them all. ---------------------------------------------------------------------- staratel20 · 2016-02-12 15:56 I create separate folder in e-mail box for Lazarus too. But I'm not sure that my message also not filtered as yours. Did you see my message in box? Theme of leter: "Useful checkboxes" ---------------------------------------------------------------------- balazsszekely · 2016-02-12 16:08 Quote@staratel20 Did you see my message in box? No, I did not saw your mail. Did you send it to the following address: lazarus@lists.lazarus.freepascal.org ? By the way, you can check the archive here: http://free-pascal- lazarus.989080.n3.nabble.com/ . @wp also wrote a cool desktop application, with similar purpose. You can download it here: http://forum.lazarus.freepascal.org/index.php/topic,30393.0.html. ---------------------------------------------------------------------- staratel20 · 2016-02-12 17:22 Yes, I send it on address you type. Now try to change some of proxy setting and resend it... But despite that, my leter not appear at this link you drop: http://free-pascal-lazarus.989080.n3.nabble.com/ (just get new leter from another user, and his/her leter appear at this link). So by unknown reason I can't send leters too . If I register by this link and create new topic is another user will saw it in mailbox? ---------------------------------------------------------------------- balazsszekely · 2016-02-12 17:32 I'm in the same situation...I even wrote to "mailman- owner@lists.lazarus.freepascal.org" where the bugs should be reported. I received a funny mail: QuoteYou are not allowed to post to this mailing list, and your message has been automatically rejected.  If you think that your messages are being rejected in error, contact the mailing list owner at mailman- owner@lists.lazarus.freepascal.org.Which sound like this: Contact me if necessary, but you will be blocked automatically.  I ask a few developers too, but they where unable to help, finally I gave up. ---------------------------------------------------------------------- staratel20 · 2016-02-12 18:54 Thanks God it's not my fault)). I'm already thinking - "How damn so useful thing, which so many programmers using every day can be so complicated?". But it's not complicated, it's easy I'm blocked))). Be honest, - don't understand why don't to create separate branch for developers in this forum. Site looks pretty good. ---------------------------------------------------------------------- staratel20 · 2016-02-13 17:18 After you suggest me to set checkbox "Hide IDE windows on run" I use it, until don't know issue about desktops and ability to auto toggle it on run.  And then - I clear this checkbox. But fom that time windows behaiviour very buggy - sometime it's all desappears on run(as if checkbox setted) , in run-time I go to the Options - and see - this unset. after some time of debugging I again go to the Options - and it set, I clear it - and sometime it's all happen again. Many times I correct windows position when my project running and re-save desktop(or Editor hided for some reason or Watches). Unfortunately I can't clean describe how I do it step by step because it's happen randomly. ---------------------------------------------------------------------- balazsszekely · 2016-02-13 17:30 If you set a debug desktop(Tools-->Desktops), then don't hide the IDE during run-time. Perhaps you should install anchordocking($(LazrusDir) \components\anchordocking\design\anchordockingdsgn.lpk) and sparta($(L azrusDir)\components\sparta\dockedformeditor\sparta_dockedformeditor.l pk) pacakges. This way you will get only one window, you don't have to worry about each window position. After you install those components go to: Tools-->Destkops and import the following layout(see attachment). If you don't like it, you can always return to undocked IDE. ---------------------------------------------------------------------- staratel20 · 2016-02-13 19:25 Thank for your efforts to help me. But some bottle neck for my habits I illustrate on attached screen. Some of left tabs are not visible. Also space from right is with things I don't use often. Modules I like to get with Ctrl+F12. And the Components, I wrote before in another topic(and illustrate it in this screen) - be good to appear when press the little button on component palette(I show it schematic with big green arrow) and  - at once on 2nd tab - Palette. Also attach the screen how I prefer to work. You see that the main difference - lager place for code. component pallete almost hided, because designing Form - it's in most of cases - separate process from debugging and writing code. In Debug layout almost the same, except from left - Object inspector and Message windows hided, and instead of it - Watch. Also i just think - be good to with anchordocking package to be installed some useful layouts(desktops) for user at once can begin to use(hope anchordocking developer soon will read this   ) ---------------------------------------------------------------------- staratel20 · 2016-02-13 19:26 ...and 2nd file