Issue 70093 - Search textfield turns red if string is not in the text
Summary: Search textfield turns red if string is not in the text
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-04 13:00 UTC by matthias.mueller-prove
Modified: 2013-02-07 22:38 UTC (History)
3 users (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description matthias.mueller-prove 2006-10-04 13:00:24 UTC
The Find&Replace dialog should offer feedback in advance. E.g. if the users
enters a string into the "Search for" textfield the control's background could
turn red as soon as the string is not part of the current document. 
Of course, the idea is derived from the Find control in Firefox.
Comment 1 Mathias_Bauer 2006-10-04 14:00:39 UTC
I would opt for replacing our S&R dialog with a docked window that in its
simplest form looks similar to the Firefox search bar (of course we will have an
additional edit field for replacing text). The "More" button will enlarge the
window as usual.

The current S&R dialog is a modeless dialog. We could make it a DockingWindow.

BTW: of course then I also would like to have "Find while you type". :-)
Comment 2 Mathias_Bauer 2006-10-04 14:18:39 UTC
setting myself to CC:
Comment 3 eric.savary 2006-10-04 14:39:07 UTC
2 remarks/limitations:

1) what if the search string uses regular expressions? What should happen with:
"\[[0-9].*\n" wich means "Left square bracket + any digit + line break", for
instance?
-> Proposal: nothing happens

2) One of the rules of A11y: "Never relay on colors to provide information".
Indeed, in Firefox, the search field turns from fg=black ;bg=white to  fg=white
;bg=red so that the text is still readable (white) on the red background BUT the
text cursor remains in black on red which is - believe me! - unreadable
(especially when you try to reposition the cursor to correct a typo).
-> Proposal: "Tools - Options - Appearance" -> Yet Another Color Option...