News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Problem with the "Find" Window.

Started by rtty21, August 24, 2012, 05:33:45 AM

Previous topic - Next topic

rtty21

I'm having some trouble with the find window. it looks like this:

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

ollydbg

I don't have such issue. Which version of C::B do you use?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Pecan

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.

MortenMacFly

Quote from: Pecan on August 24, 2012, 12:25:32 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Jenna

Quote from: MortenMacFly on August 26, 2012, 05:59:49 PM
Quote from: Pecan on August 24, 2012, 12:25:32 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.

MortenMacFly

Quote from: jens on August 26, 2012, 06:26:45 PM
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:
    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...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Jenna

Quote from: MortenMacFly on August 27, 2012, 07:31:02 AM
Quote from: jens on August 26, 2012, 06:26:45 PM
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:
    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.

rtty21

#7
Quote from: 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.


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

EDIT:

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