archi-modelrepository-plugin
archi-modelrepository-plugin copied to clipboard
[BUG] Branch selection lag while switching model repositories.
Environment
Archi version: 4.3.3 archi-modelrepository-plugin: 5.0 JDK: Oracle JDK 8 l0calhost:~$ java -version java version "1.8.0_171" Java(TM) SE Runtime Environment (build 1.8.0_171-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
Steps to reproduce:
- Connect and pull 3 model repositories or more
- Select model repository in "Collaboration" workspace
- Go to "Branches" workspace
- Go to "Collaboration" workspace
- Select other model repository
- Go to "Branches" workspace
- Go to "Collaboration" workspace
- Go to "Branches" workspace
Expected behaviour:
Branches lit are displayed for the selected model repository accordingly.
Actual behaviour:
At step 6 we still can see branches list for the previously selected model repository. At step 8 we can see branches list for the newly selected model repository.
I tried to reproduce this but can't.
Are you on Windows? Can you simplify the steps to reproduce it? I tried your steps with 5 repositories in the Collaboration Workspace.
Linux. Ubuntu 18.04 LTS.
вт, 5 мар. 2019 г. в 01:01, Phil Beauvoir [email protected]:
I tried to reproduce this but can't.
Are you on Windows? Can you simplify the steps to reproduce it? I tried your steps with 5 repositories in the Collaboration Workspace.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/archimatetool/archi-modelrepository-plugin/issues/84#issuecomment-469439337, or mute the thread https://github.com/notifications/unsubscribe-auth/AlIkQw8wf-VdhKP3X_zUEo3YY52h4lLUks5vTZfIgaJpZM4bdR3- .
I'll try it in my Windows environment.
вт, 5 мар. 2019 г. в 01:02, Alexander Luchkov [email protected]:
Linux. Ubuntu 18.04 LTS.
вт, 5 мар. 2019 г. в 01:01, Phil Beauvoir [email protected]:
I tried to reproduce this but can't.
Are you on Windows? Can you simplify the steps to reproduce it? I tried your steps with 5 repositories in the Collaboration Workspace.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/archimatetool/archi-modelrepository-plugin/issues/84#issuecomment-469439337, or mute the thread https://github.com/notifications/unsubscribe-auth/AlIkQw8wf-VdhKP3X_zUEo3YY52h4lLUks5vTZfIgaJpZM4bdR3- .
Tried on Linux Mint (Ubuntu based).
I'm selecting alternately between Collaboration Workspace and Branches View, back and forth. And all seems OK.
I must be missing something here?
I'll make a video and link it here. If there are some additional info needed, just tell.
вт, 5 мар. 2019 г. в 01:16, Phil Beauvoir [email protected]:
Tried on Linus Mint (Ubuntu based).
I'm selecting alternately between Collaboration Workspace and Branches View, back and forth. And all seems OK.
I must be missing something here?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/archimatetool/archi-modelrepository-plugin/issues/84#issuecomment-469443993, or mute the thread https://github.com/notifications/unsubscribe-auth/AlIkQ58QKWhNq29JLGsQ85PGeC2UFXVPks5vTZswgaJpZM4bdR3- .
Link to bug reproduction video: https://www.youtube.com/watch?v=KkfyWHUARuY
OK, the problem arises when opening and closing the Branches View from the toolbar.
When opening the Branches View from the toolbar it is activated with the focus, and so the focus is lost on the Collaboration Workspace and therefore doesn't update.
If you keep the Branches View open all the time the it will synchronise with the selections in the Collaboration Workspace
However, this will be fixed in the next version.
The same is true for opening and closing the History View from the toolbar.
Also will be fixed in the next version.