pqConsoleWidget does not handle selection correctly
When selecting in the pqConsoleWidget (PythonShell, OutputMessage with full messages), the selected text can be incorrect.
How to reproduce :
- Open ParaView with python
- Open Python Shell
- Type some commands in it
- Select some text by pressing the left button of the mouse within the widget, keep the button pressed until it is fully out of the widget on the left of the widget
- Unpress the button
- move the mouse in the widget
- selection is changed even though the button is not currently pressed.