Last Updated: 31 Oct 2018 07:54 by ADMIN
Created on: 08 Oct 2015 07:47
Category: RichTextBox
Type: Bug Report
RichTextBox: Clicking floating image when the caret position is not in the viewport, starts image dragging instead of just selecting the image
Clicking on floating Image when the caret position is not in the viewport, changes the viewport and starts image dragging. Instead, the image should just be selected.

Steps to reproduce:
1. Start with empty document
2. Insert image, make it floating (right-click on it, select Text Wrapping -> In Front Of Text)
3. Drag the image near the bottom of the document.
4. Scroll and, if needed, zoom to such a factor, so that the first paragraph is outside of the view port.
5. Select the image (keep in mind that the image shouldn't be selected - the position should be at some of the previous paragraphs)
Observe: The image dragging adorner is visible and the viewport is changed.
Expected: The behavior shall be the same as MS Word - the viewport shouldn't be changed, and the image should just be selected