This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Let's have a document which takes a long time to save. Invoking Save/Save All several times in a row for this document results in multiple parallel requests to save it. Ideally, the framework should filter out the subsequent save requests while the document is being saved.
There is a request processor with unlimited throughput for handling asynchronous actions: package org.openide.util.actions; public abstract class ActionInvoker extends Object { /** thread to run actions in */ private static final RequestProcessor RP = new RequestProcessor("Module-Actions", Integer.MAX_VALUE); // NOI18N The question is whether the SaveAction should be changed to prevent parallelism, or some general mechanism (asynchronousThroughput="1"?) should be invented.
Created attachment 128036 [details] Test that shows the failure
Minor usecase -> P4 Note: This fix (as Jarda suggested) would require API change - add new attribute "asynchronousThroughput" in action creation
Jan, it isn't a minor use case. I develop remote functionality for C/C++; some users work (have to work) on slow connections, so saving a file takes long for them. I know in person at least three users in different companies who suffer from issue 246127 that depends on this one
issue 246127 has been fixed, i am closing this. AFAIK it has been resolved in openide.text, has it not?