After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 483599 - Editable toolbar
Editable toolbar
Status: RESOLVED WONTFIX
Product: anjuta
Classification: Applications
Component: core application
SVN TRUNK
Other All
: Normal enhancement
: ---
Assigned To: Naba Kumar
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-05 05:35 UTC by Ricardo José Ferrari
Modified: 2012-07-30 11:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ricardo José Ferrari 2007-10-05 05:35:43 UTC
Although there is an option on "Shortcuts->Editor code commenting" to set up a shortcut to the comment/uncomment, it will be nice to have these options in a tool bar format - like VC++ -, so that we can mark (select) the text with the mouse and just click on a icon on a bar to comment/uncomment the selection.
Comment 1 Liran Nuna 2008-05-28 20:48:11 UTC
Instead, I'd change it into a customization of the toolbar, that would solve future requests such as this ("Please add button xxx to the toolbar").
Comment 2 Felix Totir 2010-10-01 21:00:05 UTC
I would like to support this. I am making quite extensive use of the anjuta debugger (plug-in) and there is annoying to either press SHIFT-F12 or access menu Run->Debug program each time.
OTOH, the debugger plug-in comes with some buttons on the toolbar, namely: "Continue or suspend the execution of the program", "Run to the cursor", "Single step into the function" etc.
It would be nice if this plug-in will also include a new pair of buttons: "Run program with debugger" (the same action as pressing SHIFT-F12) and "Stop debugger". More, the menu entries under Run->Debug program, Run->Debug process, Run->debug remote target and Run->Stop debugger should be moved under the Debug menu.
Comment 3 Johannes Schmid 2010-10-02 02:32:13 UTC
> It would be nice if this plug-in will also include a new pair of buttons: "Run
> program with debugger" (the same action as pressing SHIFT-F12) and "Stop
> debugger". More, the menu entries under Run->Debug program, Run->Debug process,
> Run->debug remote target and Run->Stop debugger should be moved under the Debug
> menu.

The menu entries are under Run for a good reason, namely to make it clear that the they belong to the "Program options" dialog. Otherwise that would not be obvious. And in the end, all run a program (or attach to a running program). One could argue about "Debug process" and "Debug remote target" but I guess seperating them won't make things better.

For the toolbar, have you checked with 2.32.0 were namely #515395 is fixed? Otherwise, please report a bug against the debugger because it might be forgotten in the general bug because we don't really think about a configurable toolbar right now as gtk+ doesn't support it and it doesn't really offer that much advantage. We don't like to end up with a three (or four) line toolbar like VC++ which is super-cluttered.
Comment 4 Felix Totir 2010-10-02 07:08:04 UTC
Thank you for your answer, Johannes. I understand your worry about Anjuta interface becoming too cluttered, but I reiterate that I believe having the "Start debugging" and "Stop debugging" buttons on the toolbar is helpful. Just imagine that you will avoid switching between menus and toolbar or between keyboard and toolbar. The place of the two options in the menu is somewhat a secondary issue, but I still believe a better arrangement could be envisaged, maybe by reuniting the menu entries (and presumably, the plug-ins) for the menus Run and Debug.

For the record, I am using indeed Anjuta 2.32.0 on Ubuntu Maverick RC 64 and I did not encountered #515395 (it seems that it has been fixed for good). However, on the other hand, if Anjuta provides the following (thanks to Sébastien GRANJOUX):

"I have removed the suspend button in the tool bar and replaced the continue
button by a button that is doing continue or suspend depending on the debugger
state."

could it be envisaged that the same button, when FIRST pressed will start the program in the debug mode? (It should also become active after building the program, just like the "wheels" button on the toolbar.

Anyway, the bottom line is that I am still pushing for the change of having "Start debugging" and "Stop debugging" on the toolbar. I found that immensely practicable in other IDEs (I am also using Eclipse, but I am a lot closer to Anjuta philosophy of having multiple compile targets, this allows me to create test-cases on the fly - I mostly port code from other languages to C).
Comment 5 Sébastien Granjoux 2010-10-02 07:55:21 UTC
 (In reply to comment #4)
> Anyway, the bottom line is that I am still pushing for the change of having
> "Start debugging" and "Stop debugging" on the toolbar.

Thanks for your report. I have created a new issue for this: bug #631156 and I have replied here with more details.
Comment 6 Felix Totir 2010-10-03 04:12:55 UTC
Thank you. I will continue posting on the other threads.
Comment 7 Johannes Schmid 2012-07-30 11:11:33 UTC
While I think bug #631156 makes sense it is unrelated and we don't want editable toolbars in general.

Closing as WONTFIX.