Re: [Lazarus] IDE Docking windows and Editor Toolbar

2016-09-21 Thread Graeme Geldenhuys
On 2016-09-21 12:44, Ondrej Pokorny wrote:
> As far as I see from Graeme's 
> screenshots the toolbar is there and works but is empty.

Correct, I could right-click on the empty Editor Toolbar and select
"Configure". It worked, but I didn't want to do that in case it
overwrote my existing Editor Toolbar configuration which I knew existed
in environmentoptions.xml.

Up until now, I didn't even know Lazarus supports multiple desktop
configurations. I just found it in the Tools menu.


> Graeme please 
> see http://bugs.freepascal.org/view.php?id=29742 point 2, especially the 
> "why" section.

That is a very valid point. When I go to "Tools -> Options ->
Environment" I would assume all setting under "Environment" apply to the
whole IDE. Moving settings specific for a desktop layout in a new
"Desktop" options would make more sense.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE Docking windows and Editor Toolbar

2016-09-21 Thread Ondrej Pokorny

On 21.09.2016 18:32, Mattias Gaertner wrote:

On Wed, 21 Sep 2016 12:21:12 +0100
Graeme Geldenhuys  wrote:


[...]
Manually copying my Editor Toolbar configuration from desktop1 to
desktop2 - now my IDE has docked windows and the editor toolbar I so
like. :)

I presume this is a bug with Anchor Docking - not copying over certain
settings to desktop2.

Even without copying. You should be able to show the toolbar and
add buttons without editing the xml. I wonder, why it works here, but
not for you.


IMO this is a misunderstanding. As far as I see from Graeme's 
screenshots the toolbar is there and works but is empty. Graeme please 
see http://bugs.freepascal.org/view.php?id=29742 point 2, especially the 
"why" section.


So the only problem is that there is no default layout for AnchorDocking.

Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE Docking windows and Editor Toolbar

2016-09-21 Thread Mattias Gaertner
On Wed, 21 Sep 2016 12:21:12 +0100
Graeme Geldenhuys  wrote:

>[...]
> Manually copying my Editor Toolbar configuration from desktop1 to
> desktop2 - now my IDE has docked windows and the editor toolbar I so
> like. :)
> 
> I presume this is a bug with Anchor Docking - not copying over certain
> settings to desktop2.

Even without copying. You should be able to show the toolbar and
add buttons without editing the xml. I wonder, why it works here, but
not for you.

Mattias
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE Docking windows and Editor Toolbar

2016-09-21 Thread Graeme Geldenhuys
On 2016-09-20 15:23, Graeme Geldenhuys wrote:
> Is it a known issue, or by design, that the Editor Toolbar doesn't
> appear when the Anchor Docking packages is installed? Is it some docking
> window limitation?

Seems I found the problem. My environmentoptions.xml file now contains
two "desktop" settings for some reason. Without Ancher Docking it used
"desktop1", but with Anchor Docking it uses "desktop2". I assume when I
installed Anchor Docking it created a second set of desktop settings -
but never copied over my original Editor Toolbar settings.

Manually copying my Editor Toolbar configuration from desktop1 to
desktop2 - now my IDE has docked windows and the editor toolbar I so
like. :)

I presume this is a bug with Anchor Docking - not copying over certain
settings to desktop2.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE Docking windows and Editor Toolbar

2016-09-21 Thread Graeme Geldenhuys
On 2016-09-21 11:37, Denis Kozlov wrote:
> It is somewhat documented in: http://bugs.freepascal.org/view.php?id=29863

Umm... thanks for that.

It seems for every good feature in Lazarus IDE, there is an inevitable
trade-off somewhere else. :-(  All I wanted was a single tabbed window
to collect all IDE debug windows in one place - the trade-off is I loose
the useful Editor Toolbar. If I have some time over the weekend I'll see
if I can debug the cause.

Regards,
  Graeme

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE Docking windows and Editor Toolbar

2016-09-21 Thread Denis Kozlov

On 20/09/2016 15:23, Graeme Geldenhuys wrote:

Is it a known issue, or by design, that the Editor Toolbar doesn't
appear when the Anchor Docking packages is installed? Is it some docking
window limitation?


It is somewhat documented in: http://bugs.freepascal.org/view.php?id=29863

All toolbars disappear once you install anchor docking package, so 
toolbars need to be re-enabled manually. That's one of the problems. The 
other one is more severe, i.e. "TWinControl.WMSize loop detected".


Denis
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE Docking windows and Editor Toolbar

2016-09-21 Thread Graeme Geldenhuys
On 2016-09-21 11:01, leledumbo wrote:
> Kinda ugly, but yes it works:

Thanks for confirming... Now I’m very confused as to why it doesn’t work
here.

As for the “ugly” comment - yes, I don’t know why LCL-GTK2 tabs on the
right must be so “fat” (vertical space). With fpGUI or MSEide
pagecontrol widgets, I can fit almost 3× the amount of tabs in the
vertical space taken up by what your screenshot shows.

I use tabs-on-the-right because I work with a lot of files at once. I
hate having to scroll to find a file I need. With vertical stacked tabs,
I see all the open files in one go without any scrolling. It has its
benefits. ;-)

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE Docking windows and Editor Toolbar

2016-09-21 Thread leledumbo
> Is your Lazarus IDE also compiled against LCL-GTK2? Also I have my 
> Editor Tabs set to display on the right, not the top. I don't know if 
> any of these might interfere with the Editor Toolbar + Anchor Docking. 

Kinda ugly, but yes it works:
anchor-docking-and-editor-toolbar-gtk2.png

  



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-IDE-Docking-windows-and-Editor-Toolbar-tp4049569p4049584.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE Docking windows and Editor Toolbar

2016-09-21 Thread Graeme Geldenhuys
On 2016-09-21 09:06, Mattias Gaertner wrote:
> It only disappears when on the right?

Sorry if my message wasn't clear. Here is a screenshot of what I see,
and below is the Editor Toolbar settings as seen in the
environmentoptions.xml file.


  
















  


When I disable Anchor Docking, then the Editor Toolbar displays
correctly. Enable Anchor Docking, and it looks like the attached screenshot.

As I mentioned, I'm using Lazarus 1.7 r52715 FPC 2.6.4 x86_64-linux-gtk
2 on a CentOS 6 Linux system.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE Docking windows and Editor Toolbar

2016-09-21 Thread Mattias Gaertner
On Tue, 20 Sep 2016 17:43:44 +0100
Graeme Geldenhuys  wrote:

> On 2016-09-20 17:38, leledumbo wrote:
> > Not an issue for me:  
> 
> Is your Lazarus IDE also compiled against LCL-GTK2? Also I have my
> Editor Tabs set to display on the right, not the top. I don't know if
> any of these might interfere with the Editor Toolbar + Anchor Docking.

It only disappears when on the right?

I use LCL-GTK2 with Anchordocking and Editor Toolbar to the right, no
problem.

 
> Without Anchor Docking installed, the editor toolbar worked fine - even
> with my editor tabs on the right edge of the editor.

Mattias
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE Docking windows and Editor Toolbar

2016-09-20 Thread Graeme Geldenhuys
On 2016-09-20 17:38, leledumbo wrote:
> Not an issue for me:

Is your Lazarus IDE also compiled against LCL-GTK2? Also I have my
Editor Tabs set to display on the right, not the top. I don't know if
any of these might interfere with the Editor Toolbar + Anchor Docking.

Without Anchor Docking installed, the editor toolbar worked fine - even
with my editor tabs on the right edge of the editor.

Regards,
  Graeme

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE Docking windows and Editor Toolbar

2016-09-20 Thread leledumbo
> Is it a known issue, or by design, that the Editor Toolbar doesn't 
> appear when the Anchor Docking packages is installed? Is it some docking 
> window limitation?

Not an issue for me:
anchor-docking-and-editor-toolbar.png

  




--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-IDE-Docking-windows-and-Editor-Toolbar-tp4049569p4049575.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus