[Qt] when exiting from TEdit it reports wrong SelStart in OnEditingDone
Original Reporter info from Mantis: Valdas
-
Reporter name: Valdas Jankūnas
Original Reporter info from Mantis: Valdas
- Reporter name: Valdas Jankūnas
Description:
Try attached example project:
- focus Edit;
- press Enter key: all text in Edit will be selected;
- now focus Memo with mouse click: in OnEditingDone event of Edit you got wrong SelStart (which is at end of text).
I think this is wrong because:
- in Gtk2 after exiting Edit in event OnEditingDone always reports SelStart as is was before auto-deselection (or selection-hiding);
- in Win same as in Gtk2 (correct);
- when exiting from Edit there is no way to know correct SelStart in OnEditing event.
Mantis conversion info:
- Mantis ID: 27079
- OS: Kubuntu 14.04
- Build: 46976M
- Platform: linux 64 bit
- Version: 1.3 (SVN)
- Fixed in version: 1.3 (SVN)
- Fixed in revision: 47191 (#84987f9c)
- Target version: 1.2.8