MSS icon indicating copy to clipboard operation
MSS copied to clipboard

Importing a fligh-track into MSCOlab does not update the versions in the version history automatically

Open joernu76 opened this issue 2 years ago • 5 comments

After importing a flight track, it was not updated to MSColab. Changing a table view longitude coordinate updated then the full plan to the server.

Desired behaviour: After import, a new version should be generated immediately.

joernu76 avatar Aug 08 '23 07:08 joernu76

@joernu76 I can't reproduce, I created a devel category and tried there on the devel1 OP.

ReimarBauer avatar Aug 08 '23 10:08 ReimarBauer

Please provide more details

Refresh on the version history shows the updates

example_ftml_import.webm

ReimarBauer avatar Aug 08 '23 10:08 ReimarBauer

OK, I had a closer look. The Version Window - in contrast to other View windows - is not automatically updated. This is surprising and thus not Pythonic. :-) Manually refreshing helps indeed. Is there a design reason for this?

joernu76 avatar Aug 09 '23 10:08 joernu76

The default is to look on named versions, you need to toggle to All versions too.

To get this updated it requires to implement a handler which act on 'file-changed' (because any user can update), signal_reload.

It was not implemented because it does make on many edits the table flicker.

When implemented that functionality should be covered by a test too.

ReimarBauer avatar Aug 09 '23 11:08 ReimarBauer

If there is a good reason against this update, no worries. But the current situation is confusing. We updated a file to something veery similar and had the apparently bad idea to have a look into the Version History if the import worked as intented instead of looking at the TableView, which would have worked? I am not sure how this is a performance problem. In particular if the VersionHistory is not open it should not have an effect?

However, I requalify this as a feature request.

joernu76 avatar Aug 09 '23 14:08 joernu76