Paragraph format change in quotation can break stored selection
- evolution-3.30.5-1.fc29.x86_64
- evolution-data-server-3.30.5-1.fc29.x86_64
- webkit2gtk3-2.22.6-1.fc29.x86_64
Steps to reproduce:
- Disable "Edit > Preferences > Composer Preferences > General > Default Behavior > Format messages in HTML"
- Set "Edit > Preferences > Composer Preferences > General > Default Behavior > Number of characters for word wrapping" to "71"
- Enable "Edit > Preferences > Mail Preferences > Plain Text Mode > Show suppressed HTML parts as attachments"
- Set "Edit > Preferences > Mail Preferences > Plain Text Mode > HTML mode" to "Show HTML if present"
- Import testcase.
- Open testcase.
- Hit
Ctrl+R
. - Press
arrow down
key four times, to go to start of the line starting withBxx xx
- Press
Shift
key and keep it pressed - Press arrow down key seven times, to mark the lines from
Bxx xx
to includingXxxx.
- Press
Ctrl+7
to format as "Preformatted" - Press
Enter
key once. Have no idea where you are (as the window does not scroll down). - Press
Enter
key once again.
Expected outcome:
After step 12, have the cursor at the end of the previously marked text area.
Actual outcome:
Have the focus jump to the cursor at the bottom of the email, below the quoted area, two lines above the signature.
Testcase: