Author Topic: Automatically give focus to "Add library" edit box ?  (Read 4183 times)

Offline Kalith

  • Multiple posting newcomer
  • *
  • Posts: 67
Automatically give focus to "Add library" edit box ?
« 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.
« Last Edit: June 04, 2011, 04:40:14 pm by Kalith »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: Automatically give focus to "Add library" edit box ?
« Reply #1 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?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline Kalith

  • Multiple posting newcomer
  • *
  • Posts: 67
Re: Automatically give focus to "Add library" edit box ?
« Reply #2 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.
« Last Edit: June 04, 2011, 06:14:25 pm by Kalith »

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Automatically give focus to "Add library" edit box ?
« Reply #3 on: June 04, 2011, 07:07:28 pm »
Confirmed and fixed in svn r7183.


Offline Kalith

  • Multiple posting newcomer
  • *
  • Posts: 67
Re: Automatically give focus to "Add library" edit box ?
« Reply #5 on: June 05, 2011, 01:38:54 am »
Great ! I confirm it works.
Thank you :)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: Automatically give focus to "Add library" edit box ?
« Reply #6 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?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11903
    • Travis build status
Re: Automatically give focus to "Add library" edit box ?
« Reply #7 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]