Option to put form designer on a container lazarus / 6-IDE-CodeTools ---------------------------------------------------------------------- dmytron · 2014-11-26 19:06 Do you think it would be good to put form designer on a separate container? It would be something like in KZDesktop, where there's a separate tab for designing, but still floats. This would be good for people who like monolith design because now they would be able to use AnchorDocking and anchor the forn designer without hiding it. It would be good even for me -- sorry, but KZDesktop's interface is pretty ugly. Of course, for those who prefer old Delphi 7 style, form designer container would be optional. And can somebody implement it? ---------------------------------------------------------------------- JuhaManninen · 2014-11-26 19:32 Yes, that will be a necessary feature to make docking usable. Who will implement it, I don't know. Mattias and Martin know the relevant code best. In any case the feature must be well designed. If somebody wants to implement it, please discuss with core developers in the mailing list. It is not a trivial feature. If you plan to implement it, first practice with easier bug fixes. ---------------------------------------------------------------------- Never · 2014-11-26 19:34 @dmytron is this [ http://lazplanet.blogspot.gr/2013/03/run-lazarus-in-single- window.html ] what are you looking for? there is a package / packages with this behavior cant remember the names right now thought but you will find them if you google ---------------------------------------------------------------------- dmytron · 2014-11-26 19:38 Quote from: JuhaManninen on November 26, 2014, 08:32:29 pm If you plan to implement it Where did you get this stupid idea? I am just an idea generator. Besides, comparing Lazarus and KZDesktop source code, the latter is more complicated. I'm surprised Lazarus IDE source code is so simple It's just an idea to discuss and maybe to encourage somebody to write the code. I think somebody more experienced could steal the feature from KZDesktop. In its current form AnchorDocking isn't very usable for desktop programmer. Quotes this [ http://lazplanet.blogspot.gr/2013/03/run-lazarus-in- single-window.html ] what are you looking for? Yes, I mention KZDesktop but it's pretty ugly for me. ---------------------------------------------------------------------- Basile B. · 2014-11-26 19:41 I remember that once, while reading/reviewing some IDE units or maybe some Anchordockings ones, a comment was saying (aproximatively): "TODO: find a way to make the designer dockable without adding code" Maybe this is what is blocking the process...But there are also other blockers in Anchordocking, for example the windows, when docked as tabs, are not saved (I mean in an XMLConfig). ---------------------------------------------------------------------- dmytron · 2014-11-26 19:43 Quote from: Basile B. on November 26, 2014, 08:41:18 pmBut there are also other blockers in Anchordocking, for example the windows, when docked as tabs, are not saved (I mean in an XMLConfig). You can save window layout, as far as I know. Maybe there's some way to autosave window layout after every (or some) layout change? ---------------------------------------------------------------------- Basile B. · 2014-11-26 19:51 Quote from: dmytron on November 26, 2014, 08:43:51 pmQuote from: Basile B. on November 26, 2014, 08:41:18 pmBut there are also other blockers in Anchordocking, for example the windows, when docked as tabs, are not saved (I mean in an XMLConfig). You can save window layout, as far as I know. Maybe there's some way to autosave window layout after every (or some) layout change? Maybe you don't get what I mean, of course the layout is saved but when a window is docked as tab, the layout backup doesn't include this particular window. ---------------------------------------------------------------------- dmytron · 2014-11-26 19:55 I now understand what you mean. However, I'm going to use Form Designer in AnchorDocking just as a window, not as a tab. It's a temporary solution but better that nothing that is now. ---------------------------------------------------------------------- Basile B. · 2014-11-26 20:31 Quote from: dmytron on November 26, 2014, 08:38:51 pmWhere did you get this stupid idea? I am just an idea generator. . Sorry to be rude but you're irritant. Everybody has ideas but not everybody can implement them. An idea is nothing. To have ideas is so common. ---------------------------------------------------------------------- JuhaManninen · 2014-11-26 23:32 Quote from: Basile B. on November 26, 2014, 08:41:18 pm...But there are also other blockers in Anchordocking, for example the windows, when docked as tabs, are not saved (I mean in an XMLConfig). Many such problems are fixed in trunk. Try it and tell us if the errors you had still happen there. ---------------------------------------------------------------------- JuhaManninen · 2014-11-26 23:53 Quote from: dmytron on November 26, 2014, 08:38:51 pmI am just an idea generator. Besides, comparing Lazarus and KZDesktop source code, the latter is more complicated. I'm surprised Lazarus IDE source code is so simple Interesting. The major parts of Lazarus are well designed. It often shows as simplicity. For example when dependencies in code are carefully managed and restricted, the end result looks light and clear but getting there often required lots of pondering and experimenting. QuoteIt's just an idea to discuss and maybe to encourage somebody to write the code. I think somebody more experienced could steal the feature from KZDesktop. It has been discussed a lot. We would need functional code more than we need discussions. Without looking at KZDesktop code yet, I doubt we want to steal it. Maintainability and design are crucial for the project's future. ---------------------------------------------------------------------- dmytron · 2015-02-25 12:28 Can somebody at least add an option to make designer window always on top? It would be great in AnchorDocking. Press a button -- and designer form is on top and non-hideable (this way obj. insp. is easier to use), press a button once again -- and designer form is hidden. ---------------------------------------------------------------------- zeljko · 2015-03-02 18:34 Quote from: dmytron on February 25, 2015, 01:28:28 pmCan somebody at least add an option to make designer window always on top? It would be great in AnchorDocking. Press a button -- and designer form is on top and non-hideable (this way obj. insp. is easier to use), press a button once again -- and designer form is hidden. If you're on x11 and you have decent window manager you can do that by your self. Click on title bar menu and check "Keep above others". It is so with KDE, think it should be available under gnome too. ---------------------------------------------------------------------- dmytron · 2015-03-02 19:32 Unfortunately I'm on Windows.