Issue 124171

Summary: 'Find & Replace' dialog forgets 'Match case' option
Product: Writer Reporter: Rainer Bielefeld <rainerbielefeld_ooo_qa>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: hdu, issues, openoffice, rainerbielefeld_ooo_qa, sporz1
Version: 3.4.0   
Target Milestone: ---   
Hardware: All   
OS: Windows 7   
See Also: https://issues.apache.org/ooo/show_bug.cgi?id=123063
Issue Type: DEFECT Latest Confirmation in: 4.1.0-dev
Developer Difficulty: ---
Attachments:
Description Flags
Find & Replace still see dialog box 'Match Case' option
none
Sample Document
none
Sample Document with step by step instruction none

Description Rainer Bielefeld 2014-02-03 06:15:35 UTC
Steps how to reproduce Reproducible with server installation of "AOO 4.1.0-Dev – English UI / German locale - [AOO410m1(Build:9750) - Rev. 1562493 - 2014-01-30]" on German WIN7 Home Premium (64bit)", own separate user profile:

1. From AOO Start Cente open attached sample.odt
2. Menu 'Edit -> Find & Replace' -> Search for "WANT" -> Options = "Match case" 
   and "Whole words only", nothing else -> [Find]
3. [Yes] for "do you want to continue?"
4. [Ok] "Search Key not found
5. Close dialog with 'Close-X' at top right corner of dialog
6. Menu 'Edit -> Find & Replace'
   > Options still "Match case", "Whole words only"
7. Redo same search 2 ... 5
8.  Menu 'Edit -> Find & Replace'
   > Options still "Match case", "Whole words only"
9. Redo same search 2 ... 5, but change "Backwards" option (check if
   unchecked or vice versa"
10. 6. Menu 'Edit -> Find & Replace'
   > Now option  "Match case" has been lost


Additional Info:
----------------
(a) My tests seem to show that it is even more simple: 
    Always if you change any other option before you close dialog with
    'Close-X' or <Esc> or [Close] Options "Match case" will be lost
(b) will not be lost if you close dialog with <control+f>
(d) This might be bothering if you only opened 'Find and Replace' to define
    Options "Match case"  and "Whole words only" for 'Find Bar', then
    [Esc]:  "Match case" will be lost
(e) 'a' already reproducible with sever installation of "OOo 3.3.0 English UI
    / German locale [OOO330m20 (Build 9567)]" on WIN7 Home Premium (64bit) DE
(f) 'a' was still ok with OOo 3.2.1
(g)  Already reproducible with  Pre-3.4.0 (OOo 3.3.0), but because of crippled  
     Version selector (Bug 123063) no useful info can be contributed
Comment 1 Rainer Bielefeld 2014-02-03 06:17:19 UTC
(h)  Still Reproducible with server installation of "AOO 4.1.0-Dev – English UI
    / German locale - [AOO410m1(Build:9750) - Rev. 1562493 - 2014-01-30]"
    on German WIN7 Home Premium (64bit)", own separate user profile.
Comment 2 SharPorz 2014-02-14 17:54:18 UTC
Created attachment 82592 [details]
Find & Replace still see dialog box 'Match Case' option
Comment 3 SharPorz 2014-02-14 17:55:00 UTC
Comment on attachment 82592 [details]
Find & Replace still see dialog box 'Match Case' option

1.	Start -> Programs -> Open Office 3.3.org -> Open Office.org Writer
2.	File Open -> Sample.odt
3.	Menu ‘Edit -> Find & Replace’ -> search for “WANT” -> Options = “Match case” and “Whole words only” displays with check boxes to left and below line displays “More Options” -> Select [Find]
4.	[OK] “Search key not found” or [Yes] for “….do you want to continue at the beginning?”
5.	Close dialog with ‘Close-X’ at top right corner of dialog
6.	Redo same search 3…5
7.	Redo same search 3…5, but change “Backwards” option (check if unchecked) 
8.	All option still display via Windows 7 machine and Open Office 3.3.org Options -> “Match Case” and “Whole words only” displays with check boxes to left and below line displays “More Options”
Comment 4 beckyfiedler 2014-02-20 14:39:55 UTC
I am speaking with SharPorz about her bug report.

I am unable to replicate this issue on AOO 4.0.1 on Win 7, locally installed. 

Using Rainer Bielefeld's steps, I repeated the described sequence 3 times. On the fourth iteration, I checked the Backwards options. On the fifth iteration, the Match case option was still available. 

I chose Match case on first time through the sequence. For the second, third, and fourth times through the sequence, my Match case selection was preserved. 

I chose the Backwards option on the fourth iteration and noticed that my Match case selection was not preserved.
Comment 5 Rainer Bielefeld 2014-02-20 15:58:34 UTC
Created attachment 82638 [details]
Sample Document

I can reproduce that with 2x WIN7 64 bit and 1x WIN XP 32 Bit, so I am afraid there is something unclear in my description.

The simple proceeding: Open 'Find & Replace' Dialog -> Check "Match Case" ->
Find something successfully -> Toggle "Backwards" option -> Close 'Find & Replace' Dialog -> Open 'Find & Replace' Dialog. "Match Case" has gone
Comment 6 Rainer Bielefeld 2014-02-20 16:04:15 UTC
I think my description in original report does not tell clearly at what moment the 'Backwards' option has to be toggled. 

May be better:
1. From AOO Start Center open attached sample1.odt
2. Menu 'Edit -> Find & Replace -> Search for "WANT" -> Options = "Match case"'
   You will find it
3. change "Backwards" option (check if   unchecked or vice versa)
4. Close 'Find & Replace' dialog
5. Menu 'Edit -> Find & Replace' to reopen dialog
   Bug: Option "Match case" has gone
Comment 7 Rainer Bielefeld 2014-02-20 16:05:30 UTC
Created attachment 82639 [details]
Sample Document with step by step instruction
Comment 8 hdu@apache.org 2014-03-12 09:38:13 UTC
Confirmed on AOO410beta and older versions.