robotframework / RIDE

Test data editor for Robot Framework
Apache License 2.0
963 stars 379 forks source link

Blank squares left behind after a test run #2741

Open JFoederer opened 6 months ago

JFoederer commented 6 months ago

Some robot icons are being cleared in the tree view when running tests and the blank square is then persisted at its latest spot. There is at most one blank square added per test run. It is unclear what triggers this behaviour, it does not always happen.

The position of the blank squares is fixed with respect to the tree view window. This means that if you scroll inside the tree view, the blank squares scroll along. If you expand/collapse a test suite, then the blank square stays at its spot and is no longer with the test case it originated at.

image

JFoederer commented 6 months ago

This was running RIDE 2.1dev23 on Windows with Python 3.11 and wxpython 4.2.1 I haven't noticed it on Linux yet.

HelioGuilherme66 commented 6 months ago

@JFoederer This is very unusual, and I doubt it has anything to deal with RIDE code. Maybe the problem is with wxPython. Do you think the processing resources are low when that happens?

JFoederer commented 6 months ago

Yes, it is unusual, but no, it was not at all heavy on the resources. If anything, it is the opposite. This was a test suite with very few dependencies. It runs 94 test cases in less than half a second.

JFoederer commented 2 weeks ago

Having observed this issue for some time now, I do believe it only happens in very quick test runs where there is very little time to update the icons.