Linux Archi 4.8.0 Window Layout

Started by DaveVint, December 14, 2020, 11:11:30 AM

Previous topic - Next topic

DaveVint

Hi,

So I've just put the released 4.8.0 on my main dev system (Ubuntu 16.04 LTS) and I can't seem to change the window layout at all, either by dragging the separator to change the size, or dragging tabs between panels. 4.7.1 worked fine, but I'm guessing this is linked to the Eclipse upgrade? It works fine on my test system, but that's a Windows 10 box.

Any ideas for a user error, or should I raise a bug?

Cheers,

Dave

Phil Beauvoir

#1
Ubuntu 16.04 is not supported by Eclipse 4.18. Or at least you need GTK 3.

See https://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_4_18.xml#target_environments

If the problem is caused by this Eclipse version there's nothing I can do about it.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

DaveVint

ok. Thanks. I'll see what I can do about swapping machine/upgrading.

DaveVint

So I upgraded the machine with Ubuntu 18.04.5 LTS and this problem has gone away - thanks!

However, I'm trying to use the PlantUML "integration" suggested by JB in the first comment on this article:  https://smileham.co.uk/2019/04/23/archimate-plantuml-sequence-diagram-joy/

On a Windows 10 system, using Archi 4.8.0, this works fine. I can drag and drop the generated PNG from the embedded browser window into the canvas. I can also drag and drop the image from the browser window onto the desktop. On the Ubuntu 18 system, using the same Archi release, I get a silent failure with no error message when I drag and drop into the canvas. When I drag and drop the image to the desktop, it saves a link to the image URL instead. As a workaround, I tried 'Copy Image' in the browser in order to Paste it into the canvas, but 'Paste' isn't enabled. Selecting 'Save Image' to a file, and then dragging the generated file into the canvas works.

Any suggestions to help get the direct drag-and-drop working?

Cheers,

Dave

Jean-Baptiste Sarrodie

Hi Dave,

Could you please open an issue on https://github.com/archimatetool/archi/issues

This will make it easier to discuss and see what can be done on this.

Regards,

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Phil Beauvoir

I tested on Ubuntu 18.04 and Linux Mint (based on Ubuntu 18.04) and DnD an image from the embedded browser onto an Archi Canvas works for me.

Here's my test routine:

1. Create a blank Canvas in the current model
2. Do a "Tools -> Preview HTML Report" on the current model to generate a HTML report in the embedded browser
3. Re-arrange Archi's windows so that the Canvas is on the left and the embedded browser is on the right
4. Click on a View in the HTML Report tree so that the View's image is displayed in the embedded browser
5. DnD the View image to the Canvas

The embedded browser is OS specific so the behaviour will be different for each OS and version of Linux. On Windows it is Internet Explorer 11, on Mac it is Safari (and DnD an image to a Canvas does not work at all), and on Linux I'm not sure what it is.

If it's not working on a certain configuration of Linux there's actually nothing I can do about it in Archi's code.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Phil Beauvoir

Actually I tested using an online image as per JB's script:

1. Run this jArchi script with a real URL to an online image:

    Browser.open("https://www.somewhere.com/image.png", "Test")

2. DnD the online image in the embedded browser to a Canvas

Works only on Windows.
Does not work on Linux as it only supports DnD local files in the embedded browser.
Mac doesn't support any DnD from embedded browser at all.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

DaveVint

#7
Phil: That works here also, but the PlantUML server page doesn't.
JB: I'll do that and include as much information as I can, but obvious differences are the remote/local src and the file extension.

From HTML preview:

<img class="diagram" src="../images/0784c9ef-1928-4b1d-a489-128fdb014912.png" alt="05 ABB: Interface Profiles" usemap="#0784c9ef-1928-4b1d-a489-128fdb014912map">

From local install of PlantUML server:

<img src="http://dev-cspence:8080/plantuml/png/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000" alt="PlantUML diagram">

DaveVint

Quote from: Phil Beauvoir on January 07, 2021, 14:26:25 PM
Does not work on Linux as it only supports DnD local files in the embedded browser.
OK, thanks. Is this completely out of your control or should i raise an issue on github?

Cheers,

Dave

Phil Beauvoir

Quote from: DaveVint on January 07, 2021, 14:33:46 PM
Quote from: Phil Beauvoir on January 07, 2021, 14:26:25 PM
Does not work on Linux as it only supports DnD local files in the embedded browser.
OK, thanks. Is this completely out of your control or should i raise an issue on github?

Cheers,

Dave

Nothing I can do about it.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Jean-Baptiste Sarrodie

Hi,

Quote from: Phil Beauvoir on January 07, 2021, 14:34:47 PM
Quote from: DaveVint on January 07, 2021, 14:33:46 PM
Quote from: Phil Beauvoir on January 07, 2021, 14:26:25 PM
Does not work on Linux as it only supports DnD local files in the embedded browser.
OK, thanks. Is this completely out of your control or should i raise an issue on github?

Cheers,

Dave

Nothing I can do about it.

Yes please, I'd like to investigate this issue and keep track of the results.

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

DaveVint