Code::Blocks Forums

User forums => Help => Topic started by: rtty21 on August 24, 2012, 05:33:45 am

Title: Problem with the "Find" Window.
Post by: rtty21 on August 24, 2012, 05:33:45 am
I'm having some trouble with the find window. it looks like this:
(http://i137.photobucket.com/albums/q208/rtty_the_pivot/codeblocksbug.png)
it is really just awful.
I can't re-size it. I don't know what is going on.

Any help would be most appreciated!
Cheers!

Rtty21
Title: Re: Problem with the "Find" Window.
Post by: ollydbg on August 24, 2012, 05:54:52 am
I don't have such issue. Which version of C::B do you use?
Title: Re: Problem with the "Find" Window.
Post by: Pecan on August 24, 2012, 12:25:32 pm
This is caused by: at some point in the past, find was issued with a huge long text line that is now stuck in the history of find.

I solved the problem by deleting the find history out of my conf file.
Title: Re: Problem with the "Find" Window.
Post by: MortenMacFly on August 26, 2012, 05:59:49 pm
I solved the problem by deleting the find history out of my conf file.
Interesting... What do I need to do to reproduce? I think a proper fix would be as simple as settings up a max size for the related search/replace fields.
Title: Re: Problem with the "Find" Window.
Post by: Jenna on August 26, 2012, 06:26:45 pm
I solved the problem by deleting the find history out of my conf file.
Interesting... What do I need to do to reproduce? I think a proper fix would be as simple as settings up a max size for the related search/replace fields.
Just create a very long search string (copy and paste "works fine"), search for it, close the dialog and reopen it.
Title: Re: Problem with the "Find" Window.
Post by: MortenMacFly on August 27, 2012, 07:31:02 am
Just create a very long search string (copy and paste "works fine"), search for it, close the dialog and reopen it.
Mmmmh... I think there is simply missing a:
Code
    GetSizer()->SetSizeHints(this);
Before the Connect() statement in finddlg.cpp. I cannot compile C::B for the moment, but anybody willing to try or on the way to compile C::B anyways step forwards...
Title: Re: Problem with the "Find" Window.
Post by: Jenna on August 27, 2012, 09:41:49 am
Just create a very long search string (copy and paste "works fine"), search for it, close the dialog and reopen it.
Mmmmh... I think there is simply missing a:
Code
    GetSizer()->SetSizeHints(this);
Before the Connect() statement in finddlg.cpp. I cannot compile C::B for the moment, but anybody willing to try or on the way to compile C::B anyways step forwards...
I'm currently working on wx2.9 port of the contrib-plugins.

Off topic:
In linux it's ready and working (except for a crash on exit in keybinder caused by event-handler issues, that can be fixed later).
On windows I need some time to create the wx2.9 project-files and test the rest.
If all is working and does not break wx2.8, I will commit the changes.
Title: Re: Problem with the "Find" Window.
Post by: rtty21 on September 02, 2012, 10:43:24 pm
This is caused by: at some point in the past, find was issued with a huge long text line that is now stuck in the history of find.

I solved the problem by deleting the find history out of my conf file.


Where is this config file? and what is it named?

EDIT:

I found the config file in %appdata%
Thank you for the help!