Author Topic: Replace Text Greyed Out  (Read 7395 times)

Offline pickle

  • Single posting newcomer
  • *
  • Posts: 7
Replace Text Greyed Out
« on: November 16, 2009, 09:38:37 pm »
Maybe im missing something but I cant replace any text as the text to replace with is always grey out. Im using svn 5911.

On a side nore I dont know if the dev team is aware of this, but some of the dialogs are too large. For example on one system i use, I cant add search paths to the compiler setup since the dialog is larger my screen (1280x800).

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Replace Text Greyed Out
« Reply #1 on: November 16, 2009, 10:50:23 pm »
On a side nore I dont know if the dev team is aware of this, but some of the dialogs are too large. For example on one system i use, I cant add search paths to the compiler setup since the dialog is larger my screen (1280x800).

http://forums.codeblocks.org/index.php/topic,11315.0.html

No idea on the greyed text issue; you might want to give more details.
Like where the text is greyed; if in editor, the file extension/encoding.

Tim S.
« Last Edit: November 16, 2009, 10:51:58 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline pickle

  • Single posting newcomer
  • *
  • Posts: 7
Re: Replace Text Greyed Out
« Reply #2 on: November 16, 2009, 11:11:29 pm »
the "replace with" dropdown is greyed out, meaning its disabled, so I cant add anything to replace the text i select.
thanks for the link, thats good the discussion is already started on dialog sizes.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Replace Text Greyed Out
« Reply #3 on: November 17, 2009, 01:08:56 am »
the "replace with" dropdown is greyed out, meaning its disabled, so I cant add anything to replace the text i select.
thanks for the link, thats good the discussion is already started on dialog sizes.

I could not duplicate your problem; using the same nightly 5911 and the matching DLLs and did NOT see the issue.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline pickle

  • Single posting newcomer
  • *
  • Posts: 7
Re: Replace Text Greyed Out
« Reply #4 on: November 17, 2009, 09:02:25 pm »
im using a prebuilt rpm package on opensuse linux, if you using dll's (windows), maybe this is a linux problem

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Replace Text Greyed Out
« Reply #5 on: November 17, 2009, 09:16:11 pm »
im using a prebuilt rpm package on opensuse linux, if you using dll's (windows), maybe this is a linux problem
No it's definitely not a linux-problem !

I use C::B here on my debian 64-bit system and at work also on win xp sp3 and I have test environments with w2k sp4, vista home premium, ubuntu 9.10, centos 5.4 and openSuse 11.2.

I did not test on openSuse system, because it's my freshest system (installed this afternoon), but all others have no problems.
I use the system-provided wxWidgets libraries, except for debian, here I use the libs from apt.wxwidgets.org.
Win libs are self-compiled not dev-paks.

Offline pickle

  • Single posting newcomer
  • *
  • Posts: 7
Re: Replace Text Greyed Out
« Reply #6 on: November 17, 2009, 11:13:27 pm »
I probably should say its could be a opensuse linux/wxwidget problem ;-)

well if you could test on your new opensuse system I think it may help narrow the problem down, i used the package from this repo:
http://download.opensuse.org/repositories/devel:/tools:/ide/openSUSE_11.2/

You can also find it through the get software search tool:
http://software.opensuse.org/search

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Replace Text Greyed Out
« Reply #7 on: November 18, 2009, 11:11:05 am »
Not so easy to get a reall 11.2  :? .

I used the netinstaller iso (for 11.2), but all repos where set to 11.1, I had to manually change them to 11.2 and the update a bunch of files (about 1 GB).


Seems to be my error, I accidently fetched the 11.1 netinstall-iso, but used the 11.2 repos for install (changed it while install-procedure).

Nevertheless I finally managed to do so, installed wxWidgets 2.8.10 from opensuse and C::B from the repo you pointed me.
Everything is fine.

I should say, that I use a 32-bit systems (except for my real system), but that should not make adifference (at least not in this case).

Which version of C::B do you have ?
It's 5919 here.


EDIT2:

Just saw you used 5911, maybe you should update your C::B.
Nevertheless I try a 64-bit suse also.
« Last Edit: November 18, 2009, 12:18:52 pm by jens »

Offline pickle

  • Single posting newcomer
  • *
  • Posts: 7
Re: Replace Text Greyed Out
« Reply #8 on: November 18, 2009, 03:04:09 pm »
im using 32 bit in 2 installation instances. One is virtual and I just updated the virtual to 5919 and the problem is still there.
Im also using wxWidgets 2.8.10

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Replace Text Greyed Out
« Reply #9 on: November 18, 2009, 03:23:38 pm »
im using 32 bit in 2 installation instances. One is virtual and I just updated the virtual to 5919 and the problem is still there.
Im also using wxWidgets 2.8.10
Really strange, there is no code that disables one of the comboboxes.

Does this only happen for normal replace or also for replace in files ?

Which desktop-environment do you use ?

Offline pickle

  • Single posting newcomer
  • *
  • Posts: 7
Re: Replace Text Greyed Out
« Reply #10 on: November 18, 2009, 03:52:37 pm »
im using KDE4, It happens with both. I can sometimes see the replace with dropdown flicker going from enabled to disabled.

Edit: I did some more tests
I loaded my project attempted to use find, find in files, replace, replace in files. All were greyed out
Ran all 4 again through the menu bar, now the find and find in files are enabled, replace, replace in files have the first combobox enabled.
If I close and reopen the project the combo boxes continue to work except the second ones in the replace dialogs

Edit2:
Ok it as nothing to do with the menu bar. The first time any find, replace method is used the combos are disabled. The second use the first combo box is enabled.
To repeat the behavior I have to delete the ~/.codeblocks folder. Maybe there another setting in there to control the second combobox?
« Last Edit: November 18, 2009, 04:05:01 pm by pickle »

Offline pickle

  • Single posting newcomer
  • *
  • Posts: 7
Re: Replace Text Greyed Out
« Reply #11 on: November 18, 2009, 04:18:38 pm »
I found a hack to get it to work. It enabled if something was in the history:

         <LASTREPLACE>
            <astr>
               <s>
                  <![CDATA[test]]>
               </s>
            </astr>
         </LASTREPLACE

If I take 'test' out the combobox goes back to being disabled

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Replace Text Greyed Out
« Reply #12 on: November 18, 2009, 04:48:27 pm »
I found a hack to get it to work. It enabled if something was in the history:

         <LASTREPLACE>
            <astr>
               <s>
                  <![CDATA[test]]>
               </s>
            </astr>
         </LASTREPLACE

If I take 'test' out the combobox goes back to being disabled

Again: very strange, both my virtual systems are fresh installs (of course), so the history was empty on first run.

Offline uwehag

  • Single posting newcomer
  • *
  • Posts: 3
Re: Replace Text Greyed Out
« Reply #13 on: January 13, 2010, 11:31:47 am »
Hi,
I experience the same behaviour, e.g. the "replace" box is greyed out. I'm using OpenSuse 11.2 64bit, KDE4.3.1 and wxWidgets 2.8.10.
As for the CB version I'm not sure, it says 6058 in the help menu, but the package is 6061-1.1. CB was installed from the same rpm at
http://download.opensuse.org/repositories/devel:/tools:/ide/openSUSE_11.2/.
Any news on this one?
cheers,
uwehag

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Replace Text Greyed Out
« Reply #14 on: January 13, 2010, 01:51:15 pm »
Any news on this one?

Not from here, because I can not reproduce it.

Maybe you should ask the maintainer who builds the openSuse-packages.