Info Window Context Variables are not Cleared after Closing

Description

While testing , discovered a serious issue with the Info Window context parameters: they are not cleared after the info window is closed, but they are created every time one is opened. This can cause memory and performance problems.

Steps to reproduce

  • open any info window

  • navigate to iDempiere icon > Errors > View

  • check for parameters with _TabInfo_ prefix - they were added to the context after opening the info window

  • copy the content of the window to a text editor that shows the number of rows

  • go back to iDempiere

  • open and close info windows a couple of times

  • if you check the context parameters again, the number of rows should be increasing on every opening of an info window, and it does not decrease when closing it

Environment

None

discovered while testing

Activity

Show:

Norbert Bede July 14, 2023 at 2:44 PM
Edited

I guess it's important to solve this problem, then would be useful add a counter near the idempiere info tab (trough logo) - how many context records are open. (and/or idempiere monitor too)

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created July 14, 2023 at 2:37 PM
Updated September 1, 2023 at 12:04 PM
Resolved July 16, 2023 at 2:07 PM