Bug 257356 - Replace functionality not implemented in Composer
Summary: Replace functionality not implemented in Composer
Status: RESOLVED DUPLICATE of bug 257294
Alias: None
Product: KMail Mobile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-19 21:33 UTC by Sabine Faure
Modified: 2010-12-04 22:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Image of replace dialog (50.65 KB, image/png)
2010-12-02 11:38 UTC, Tobias Koenig
Details
Empty 'Replace' dialogue with 3 buttons (41.20 KB, image/png)
2010-12-03 23:52 UTC, Sabine Faure
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sabine Faure 2010-11-19 21:33:26 UTC
Version:           unspecified (using Devel) 
OS:                Linux

The 'Replace' functionality does not seem fully implemented since there is nowhere to enter the word with which to replace the one that is unwanted.

Reproducible: Always

Steps to Reproduce:
- Launch Kmail-mobile
- Click on 'Write new email'
- Enter a subject and a sentence in the composer text editor (ex: Testing the Replace functionality)
- Open the 'Actions' tab
- Click on 'Edit'
- Click on 'Replace'
- A 'Find Text - Kmail Mobile' dialogue appear

Actual Results:  
In it it is possible to enter a word to be found in the text edit in the 'Find' line edit.

However, there is no 'Replace' line edit. 
There is only a 'Replace' button at the bottom right of the dialogue.

So the user cannot enter the word he wishes one occurence to be replaced with.

I am guessing that this functionality is not yet implemented.

Note: If the user enters 'Testing' in the 'Find' line edit and then clicks on the 'Replace' button then another empty dialogue called 'Replace - Kmail Mobile' appears with 3 buttons ('Replace', 'Skip' and 'All')


Expected Results:  
The user should be able to enter the word or words he wishes one occurence to be replace with.

There should not be any empty dialogue.

N900, 4:4.6~20101119.1198723-1maemo1.1198084
Comment 1 Tobias Koenig 2010-12-02 11:38:02 UTC
Created attachment 53970 [details]
Image of replace dialog

Hej Sabine,

when I click on 'Replace', the attached dialog opens on desktop, which contains the 'Replace With' group where you can enter the replacement text.
How does the dialog on the device look like?

Ciao,
Tobias
Comment 2 Tobias Koenig 2010-12-02 11:38:41 UTC
See comment #1
Comment 3 Sabine Faure 2010-12-03 23:49:57 UTC
I retested this today and I could scroll down and see the entire 'Replace' dialogue that looks just like your attachment.

For some reason I could not scroll down last time I tested this.

However I was still able to reproduce the second part of the bug:

If the user enters 'Testing' in the 'Find' line edit and then clicks on
the 'Replace' button then another empty dialogue called 'Replace - Kmail
Mobile' appears with 3 buttons ('Replace', 'Skip' and 'All')
See attachment below.

If the user clicks on the 'Replace' button from this dialogue and then on 'Ok' in the 'Information' one she can see that the replace functionality actually works.

There should not be any empty dialogues.

Also while the 'Replace' dialogue appears the text in the composer is blurred so it does not help the user to decide whether she wants to replace a word or not as she cannot see the context.

N900, 4:4.6~20101203.1203110-1maemo1.1202581
Comment 4 Sabine Faure 2010-12-03 23:52:32 UTC
Created attachment 54065 [details]
Empty 'Replace' dialogue with 3 buttons

Notice how the text in the Composer is blurred preventing the user to make an informed decision on whether to replace or skip since she cannot read the original text anymore.

N900, 4:4.6~20101203.1203110-1maemo1.1202581
Comment 5 Tobias Koenig 2010-12-04 22:00:54 UTC
Hej Sabine,

normally the dialog shows "Replace 'XYZ' with 'xyz'", but it seems to be a general problem that message boxes in Qt for Maemo do not show text anymore.
Since this is the same issue like bug #257294 I'll close this one as duplicate and hope that Artur can fix it :)

*** This bug has been marked as a duplicate of bug 257294 ***