archi-modelrepository-plugin icon indicating copy to clipboard operation
archi-modelrepository-plugin copied to clipboard

[BUG] Branch selection lag while switching model repositories.

Open WatchTh1 opened this issue 5 years ago • 8 comments

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:

  1. Connect and pull 3 model repositories or more
  2. Select model repository in "Collaboration" workspace
  3. Go to "Branches" workspace
  4. Go to "Collaboration" workspace
  5. Select other model repository
  6. Go to "Branches" workspace
  7. Go to "Collaboration" workspace
  8. 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.

WatchTh1 avatar Mar 04 '19 21:03 WatchTh1

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.

Phillipus avatar Mar 04 '19 22:03 Phillipus

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- .

WatchTh1 avatar Mar 04 '19 22:03 WatchTh1

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- .

WatchTh1 avatar Mar 04 '19 22:03 WatchTh1

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?

Phillipus avatar Mar 04 '19 22:03 Phillipus

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- .

WatchTh1 avatar Mar 04 '19 22:03 WatchTh1

Link to bug reproduction video: https://www.youtube.com/watch?v=KkfyWHUARuY

WatchTh1 avatar Mar 04 '19 22:03 WatchTh1

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.

Phillipus avatar Mar 04 '19 23:03 Phillipus

The same is true for opening and closing the History View from the toolbar.

Also will be fixed in the next version.

Phillipus avatar Mar 04 '19 23:03 Phillipus