Rubberduck: Code Explorer search bar is invisible

Created on 31 Oct 2018  路  6Comments  路  Source: rubberduck-vba/Rubberduck

ref. #4477

The CE search bar is subconsciously picked up as empty space, which makes it invisible for some users.

Let's add a big flashing purple arrow subtle gray watermark "search" text in the search bar - IMO that'll give it just the little nudge it needs to become more easily discoverable, without being obnoxious once you know it's there.

difficulty-01-duckling enhancement feature-code-explorer good first issue user-interface

Most helpful comment

Heh, I'm totally aboard the "subconsciously identified white space" train. I guess my projects haven't been large enough to be needing the search function.

This appears to me like a very fine example of a good first issue. Maybe this should be the moment where I install VS...?

All 6 comments

Heh, I'm totally aboard the "subconsciously identified white space" train. I guess my projects haven't been large enough to be needing the search function.

This appears to me like a very fine example of a good first issue. Maybe this should be the moment where I install VS...?

Can someone please assign me to this issue? I want see how far I can get with it. :)

I've done some research on the weekend and it seems to me that a functionality like watermark, aka cue banner is not natively supported by textbox controls. (I initially assumed that all it would take to resolve this issue was to set a property - it now seems it's a bit more involved than that.)

This SO question has about one million answers showing different implementations of a watermark functionality. We could take a solution from there; some of them are XAML-only - though at this point it's not clear to me how to implement it in a way that makes the functionality reusable.
Or we elect to make use of an existing collection of adorners - not sure what the stance is regarding additional libraries.

Cool. Go for it!

@comintern I just saw in that demo for the new CE that you implemented a watermark there. Which probably means, nothing more needs to be done here?
I'll remove my assignment in any case, as it's unlikely I'll get anything done in the foreseeable future.

@Inarion Gah! Sorry about that, I completely missed this issue when I was trolling for CE related tags.

Not big or flashing purple, but closed by #4661

Was this page helpful?
0 / 5 - 0 ratings