Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Kalith on June 04, 2011, 04:38:35 pm

Title: Automatically give focus to "Add library" edit box ?
Post by: Kalith on June 04, 2011, 04:38:35 pm
Hi !

I have (yet another) suggestion.
When you edit your project's build options, in the "Linker settings" tab, you have a "Add" button at the bottom of the frame.
When pressed, it brings up a new window to enter the new library name.

My humble suggestion would be to automatically give focus to the edit box, so you don't have to click on it to begin typing (furthermore, it is not accessible with the Tab key).

Same goes for adding additional include paths.

Thank you !

PS : is there some specific place to offer suggestions ? I always wonder.
Title: Re: Automatically give focus to "Add library" edit box ?
Post by: MortenMacFly on June 04, 2011, 05:50:18 pm
I have (yet another) suggestion.
When you edit your project's build options, in the "Linker settings" tab, you have a "Add" button [...]
[...]
Same goes for adding additional include paths.
Works fine here, both text boxes have the focus initially. Platform, version please?
Title: Re: Automatically give focus to "Add library" edit box ?
Post by: Kalith on June 04, 2011, 06:00:40 pm
Sorry : Ubuntu 10.10, C::B svn 7142 (edit : tried with latest nightly 7178, no change).
I though the problem was present on Windows as well, but I'm unable to test for now.
Title: Re: Automatically give focus to "Add library" edit box ?
Post by: Jenna on June 04, 2011, 07:07:28 pm
Confirmed and fixed in svn r7183.
Title: Re: Automatically give focus to "Add library" edit box ?
Post by: Jenna on June 04, 2011, 09:15:40 pm
Confirmed and fixed in svn r7183.

... and in my repo (http://apt.jenslody.de/) .
Title: Re: Automatically give focus to "Add library" edit box ?
Post by: Kalith on June 05, 2011, 01:38:54 am
Great ! I confirm it works.
Thank you :)
Title: Re: Automatically give focus to "Add library" edit box ?
Post by: MortenMacFly on June 05, 2011, 10:33:11 am
Confirmed and fixed in svn r7183.
Do you mind telling me if this was a platform thing? Because on Windows this really was OK?!
Title: Re: Automatically give focus to "Add library" edit box ?
Post by: oBFusCATed on June 05, 2011, 10:58:23 am
Probably it is a platform problem.
There is another similar problem:
On Linux all the settings dialogs don't close when I hit escape, but they close correctly if I click on them first and then hit escape.
On window it works without the clicking step.