TsWorkshhetGrid editing error in Qt5/MDI application
Original Reporter info from Mantis: fmolina
-
Reporter name: Fernando Molina
Original Reporter info from Mantis: fmolina
- Reporter name: Fernando Molina
Description:
A TsWorksheetGrid placewd in a child window in an MDI project shows a serious problem preventing use. Text entered in any cell is lost when the cursor is moved to another cell. If the Enter key was pressed, pressing it again makes the text appear in the adjacent key. Otherwise, the text is lost.
Steps to reproduce:
Unpack and compile the attached project. The system should have Qt5.6.2, Qt5Pas1.dll and mingw installed. Run the program, the main window opens; clicking the button creates a MDIChild window with a TsWorksheetGrid. Enter some text in any cell and press Enter twice: the fiorst time the text vanishes, and the second press causes the text to appear in the cell below the original one. Using any other cursor key or the mouse to move the focus causes the text ot be lost.
Additional information:
The bug does not appear if the second window has FormStyle fsNormal instead of fsMDIChild. Using MDI project with win32 widgetset does not show the bug, but the MDI project does not work properly under win32.
Mantis conversion info:
- Mantis ID: 37596
- OS: Windows 10 x64
- OS Build: 1809
- Build: 63526 FPC 3.2.0
- Platform: win32-x64/Qt5
- Version: 2.0.10
- Monitored by: » fmolina (Fernando Molina)