Restrict number of open windows - in general

Description

None

Environment

None

Activity

Show:
Carlos Ruiz
October 22, 2015, 12:30 PM

This has another consequence and is opening the same record in several windows.

In a design meeting at Krefeld with Integratio we discussed how could that be avoided and this is the draft idea to implement:

Only one open window per record

  • Show the record in read-only mode if is on screen in another window, informing the user “Record is editable in another window”

  • verify the status when the window is back on focus because is possible that the other window moved

Nicolas Micoud
October 22, 2015, 12:49 PM

Hi,

Just my 2 cents / ideas
What if the record is opened on a window from another user ? Could it be handled ?
How to setup it ? adding field on AD_Window ?

Nicolas

Carlos Ruiz
October 22, 2015, 12:56 PM

> What if the record is opened on a window from another user ? Could it be handled ?

The idea was just for the current session - I think keeping a list in memory of windowNo+table+ID could do the trick
To manage against other sessions sounds a lot harder - and not sure if that would be useful, iDempiere manages Optimistic concurrency control and that creates some sort of pessimistic locking.

> How to setup it ? adding field on AD_Window ?

In principle the idea we discussed doesn't need a setup, it just must work.

Regards,

Carlos Ruiz

Nicolas Micoud
October 22, 2015, 12:59 PM

Yeah, thinking again about it and you're right, no need to active it or not.
There is no gain for editing a record in several window

Thanks,

Nicolas

Diego Ruiz
July 30, 2020, 8:16 AM

Closing as a potential idea due to lack of interaction from the community in over 5 years.

If you guys feel this is still something desirable, feel free to reopen the ticket with more details.

Assignee

Unassigned

Reporter

Diego Ruiz

Tested By

None

Priority

Minor
Configure