FS#2063Bad performance while zooming inside layout block with hatches
- Type
- Performance Issue
- Status
- Assigned
- Category
- QCAD (main)
- Severity
- Low
- Priority
- Low
- Reported version
- 3.24.3
- Operating system
- Ubuntu Linux
- Reported
- 2020-04-14 by cccplex
- Votes
- 2
Zooming in and out is lagging to the point of unusable. This is happening in a layout block with the cursor pointing inside geometry with hatches. When the cursor is pointing outside the geometry zooming works as expected.
The attached file has a very simplified testcase that shows this problem almost in the same way as a more complex drawing with multiple layers and hatches.
edit: I also attached the more complex drawing because it is a bit unclear to me where the lagging stops. Outside the viewport or outside the paper.
I just noticed the selection box has the same problem!
Comments (2)
I found out that locking the layer where the viewport is in will make it perform much better.
Also related to cloning load of hatches.
Gravel, Gravel1 is the culprit here
See: https://qcad.org/rsforum/viewtopic.php?f=33&t=7340&p=28515&hilit=lag#p28515