|
|
|
[
Permlink
| « Hide
]
Dmitry Jemerov - 13 Nov 06 15:16
I don't understand why you think this is a bug. The option "Synchronize files on frame activation" controls synchronization of files on frame activation, which is not in any way related to 'p4 info'. We can add a new option to turn off update of p4 info and changelist synchronization on frame activation, but this will be an independent setting.
It just occured to me that "Synchronize files on frame activation" should apply to Perforce synchronization as well. One of the reasons why I think so is because when I do execute File:Synchronize command Perforce synchronization happens as well. If you think it is more natural to do it as a separate setting I am totally fine with that. The point is that I need a way to tell IDEA not to do any automatic refresh/synchronize operations when its frame is activated. As I mentioned my Perforce server is quite slow sometimes and IDEA tends to completely freeze when I activate the frame. Although the blocking issue can be resolved by doing things in the background I think it will lead to unjustified complexity (e.g. what happens if I activate and deactivate the frame many times and many background synchronization commands run in parallel?). I am currently working with the setting "Synchronize files on frame activation" turned off and it is very convenient and simple. I know with 100% certainty when I want files to be synchronized and I can execute that command myself.
If you do add a separate setting for turning off automatic perforce synchronization (BTW this setting should then apply to periodic automatic synchronization also) please make sure it affects all commands including the "p4 fstat" command that is done when the popup Perforce menu is invoked. I can live with the possible errors that might be caused by concurrent changes (the probability of such errors is very small anyway and it can not be eliminated completely regardless how often you synchronize the state with the server). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||