Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-02

Please stop the IDE regressions!

7 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

The Editor Toolbar is loosing functionality again (just like Procedure List did)! I had toolbar shortcuts for debug windows (eg: watches, call stack etc). Now with Lazarus v1.6 and later you can't add those to the Editor Toolbar. Why???

The new configurable Coolbar (toolbars) are useless in the same sense. None of the "View -> Debugger Windows" menu items can be added to any toolbars in the IDE.

Reverting back to Lazarus 1.5 r48959 x86_64-linux-gtk 2 where things still worked.

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

Reply by email

Ondrej Pokorny
to Graeme Geldenhuys
Graeme Geldenhuys wrote 6 lines
Hi, The Editor Toolbar is loosing functionality again (just like Procedure List did)! I had toolbar shortcuts for debug windows (eg: watches, call stack etc). Now with Lazarus v1.6 and later you can't add those to the Editor Toolbar. Why???

There were a lot of buttons/commands registered that did nothing. I rewrote the toolbar/coolbar code and kept only IDE and editor commands in the EditorToolbar. Because commands from other windows are dependent on them and should be listed in configurable toolbars in their windows. See http://mantis.freepascal.org/view.php?id=27722

It's OK if you disagree with me. In this case please tell exactly what commands you are missing. I still think that it will be better if every window has its own configurable toolbar with its tool buttons. So the watches commands will be available in the watches dialog only.

The new configurable Coolbar (toolbars) are useless in the same sense. None of the "View -> Debugger Windows" menu items can be added to any toolbars in the IDE.

Well, these can easily be added. I remember telling on the issue tracker after I made this change to check whether all needed commands are listed. I got no answer :)

Ondrej

Reply by email

Graeme Geldenhuys
to Ondrej Pokorny
Ondrej Pokorny wrote
I added them and other debug commands in r51693.

Thank you. I'll get an update today and retest.

As for IDE commands vs Other commands. I don't know how they are organised... the hierarchy seems different to the IDE main menu. The eg: Debug Windows menu items are in the IDE main menu hierachy, but not in the IDE Command hierarchy. Weird.

I use shortcuts extensively, and I also remap shortcuts extensively to suite my needs.... The standard ones often don't work well for the Dvorak keyboard layout. So for the odd ball cases where I can't think of a logical keyboard shortcut, I assigning those actions to the editor toolbar, where I can find them very fast.

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

Reply by email

Graeme Geldenhuys
to Ondrej Pokorny: There were a lot of buttons/commands registered that did nothing. I rewrote the…
Ondrej Pokorny wrote
if every window has its own configurable toolbar with its tool buttons. So the watches commands will be available in the watches dialog only.

I'm not sure I follow you 100%. Maybe what Lazarus IDE needs is the "detachable menus" - a feature supported by GTK for decades, but seldom used. If you don't know, "detachable menus" are popup menus say from the main menu, but the fist entry is a dashed line. If you click the dashed line entry, that popup menu detaches and becomes a independent window which you can place anywhere on the screen, and it says open. Clicking the menu items in that detached windows DOESN'T close the window (unlike what happens in popup menus). So this gives you a kind of "command toolbar" all over the place.

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

Reply by email