crash db navigator with LCL Scaling and low res lazarus / 31-LCL ---------------------------------------------------------------------- calm_sea · 2024-12-12 14:27 Hi to everyone. I have application crash. The crash does not occur if LCL Scaling (Hi-DPI), but I have to enable it. The crash occurs if I move with the mouse to the dbnavigator, even without clicking. Occurs only at resolution below 1920 1080 ---------------------------------------------------------------------- calm_sea · 2024-12-12 14:49 solved using panel and align al client ---------------------------------------------------------------------- wp · 2024-12-12 15:38 Quote from: calm_sea on December 12, 2024, 03:27:42 pmHi to everyone. I have application crash. The crash does not occur if LCL Scaling (Hi- DPI), but I have to enable it. The crash occurs if I move with the mouse to the dbnavigator, even without clicking. Occurs only at resolution below 1920 1080 Just to check: What is your operating system? In case of Linux: which widgetset (gtk2, qt, qt5, qt6)? Which Lazarus/FPC version? What is the monitor resolution in pixels per inch? ---------------------------------------------------------------------- calm_sea · 2024-12-12 15:47 I didn't solve it. It had been a allucination. OS windows 11. On full hd screens everything is OK. On lower resolution screens, or lowering the full hd crash resolution when I move the muose on the dbnavigator ---------------------------------------------------------------------- calm_sea · 2024-12-12 15:48 LAZARUS 3.6 ---------------------------------------------------------------------- wp · 2024-12-12 16:34 Quote from: calm_sea on December 12, 2024, 04:47:41 pmOn full hd screens everything is OK. On lower resolution screens, or lowering the full hd [...] This does not an answer my question. You are mentioning LCLScaling, and the screen's pixel-per-inch density is an important parameter for it. In Windows, right-click on the desktop, select "Display settings". In the block "Scaling and Layout" (or similar...), what is shown in the field "Scaling (changes the size of text, apps and other elements)"? If you see "100%" here, you do not need LCLScaling at all. On the other hand, if I know your pixels-per-inch I can run experiments on my own and check whether the DBNavigator has a scaling issue. Or better: Create a small demo application showing the issue and upload it here. ---------------------------------------------------------------------- calm_sea · 2024-12-12 17:01 I, at home, have two PCs that I use with 1920 x 1080 and 125% and I have made an application that works perfectly. At school on many different PCs, all of which have 1366 x 768 resolution and 100% , the application crashes on the db navigator. If , in the PC I have at home to develop ,I lower the resolution to 1366 x 768 and 100% the application crashes on my PC as well ---------------------------------------------------------------------- calm_sea · 2024-12-12 17:06 Another thing. sometimes, before crashing, I have an error   list index out of bound I use Firebird Embedded latest version ---------------------------------------------------------------------- calm_sea · 2024-12-12 19:45 I moved the management of the table from a pagecontrol of the main form to a dedicated form and the problem disappeared ---------------------------------------------------------------------- wp · 2024-12-12 22:07 Just made a simple application with a TBufDataset, TDataSource and TDBNavigator on Windows at 100% and 1024x768, and I did not see a crash when I moved with the mouse over the DBNavigator. Please try to create and upload a small project which demonstrates the error. ---------------------------------------------------------------------- calm_sea · 2024-12-13 12:45 Now I have many dbnavigators and none had problems. Just one what I had error in a tabpage in the main form. I suspect that the problem was connected with from the fact that I do development and testing on fullhd pc at 125% and that problem arose on other pc with the exe at 1440x900 at 100% . Now I don't have any problems, so if I do a project it definitely works. ---------------------------------------------------------------------- calm_sea · 2025-01-22 17:04 I know it seems strange. But after many tests I see that the problem occurs only with some specific screen resolutions and when there is a panel or label above the dbnavigator ---------------------------------------------------------------------- jamie · 2025-01-26 15:30 Are you using any application.processmeassages during update cycles ? That also includes while in paint cycles. ---------------------------------------------------------------------- calm_sea · 2025-01-26 16:35 No. However, the error and/or crash happens when I move the mouse quickly over the component without a click, therefore without any operation on the data. Now I have redesigned the windows layouts to have the navigators always in the top left and everything seems ok