Weasis icon indicating copy to clipboard operation
Weasis copied to clipboard

"weasis" protocol handler: Opening multiple studies in same instance

Open leonardorame opened this issue 2 years ago • 7 comments

Since I replaced the jnlp handler with the "weasis" protocol each study is opened on its own weasis window. The former behavior was one tab per study everything on the same window.

Is there a way to force the new versions to open all studies on the same window?, just as the older protocol handler did.

leonardorame avatar Feb 15 '22 12:02 leonardorame

By default, it should not open a new Window.

There are two exceptions, when:

  1. the user has changed (weasis.user)
  2. the hash of the config.properties and ext-config.properties has changed

This is what we expected if the application configuration has changed or if it is another user

nroduit avatar Feb 15 '22 15:02 nroduit

Mm, no. I deleted the .weasis folder (and no configuration change was made) to be sure and opened two studies again. Each study opens a new Weasis window.

Btw. I'm on Linux and Weasis 3.8.1.

leonardorame avatar Feb 16 '22 13:02 leonardorame

I can't reproduce this problem. When I open several exams from the demo page I get the exams added in the current window.

Which Linux distribution and version is it?

nroduit avatar Feb 16 '22 13:02 nroduit

Did you try clicking more than one time on the "Launch" button?. In my case it opens one Weasis window every time I click there.

leonardorame avatar Feb 16 '22 13:02 leonardorame

Yes. Which Linux distribution and version is it?

And when you run xdg-open weasis:// from several terminals.

nroduit avatar Feb 16 '22 15:02 nroduit

In fact that was using FreeBSD. But I'm testing that on Windows and it looks like it's working as expected.

leonardorame avatar Feb 16 '22 16:02 leonardorame

This system is outside of the tested systems. Could you give the boot log which should give information about the singleton mechanism?

nroduit avatar Feb 17 '22 09:02 nroduit

Please reopen this issue if it has not been resolved in the current version.

nroduit avatar May 27 '23 08:05 nroduit