Report Renderer can Overwrite any Current Tab

Description

If the user runs a bigger report or have a slower internet connection, it is more likely to occur the following issue:

  • if possible, add some throttling to the internet browser tab where iDempiere is opened

  • open Transaction Detail from the Menu twice (the second tab could be anything else, the point is to have multiple tabs open)

  • on the Transaction Detail tab don’t select any parameters

  • press ok, then quickly navigate to the second tab

  • the report renderer will overwrite the content of the second (currently selected) tab as demonstrated below in the video attachment

Environment

None

Attachments

1

Activity

Show:

Peter Takacs April 12, 2023 at 9:32 AM

I’ve created a PR with a fix by sending the WindowNo as you first suggested. The fix for issue with closing the tab while the report is running will be provided here.

Heng Sin Low April 11, 2023 at 10:21 PM

another option is to block the whole desktop (i.e use doHighlighted), that prevent selection of another tab and also fix the closing tab issue raise by at mattermost.

Heng Sin Low April 11, 2023 at 10:05 PM

Instead of selected tab, use window number.

Peter Takacs April 11, 2023 at 2:41 PM

Hi , do you have an idea what would be the best solution for this? Here are the changes for rendering in the same tab. I want to force the report, to be rendered in the same tab where it was started from, even if we switch tabs.

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created April 11, 2023 at 2:36 PM
Updated June 1, 2023 at 12:17 PM
Resolved April 15, 2023 at 12:28 PM