Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsKeeping CSS theme when copying models
https://www.eclipse.org/forums/index.php/mv/msg/1067109/1697234/#msg_1697234
I notice that when I select some elements in a diagram and I copy and
paste those elements, for instance, in Microsoft PowerPoint it works.
Nevertheless, if I do the same with a diagram where I have some custom
css to create a theme, these customizations (colours, ...) are ignored
and not shown in the Powerpoint.
Is this the expected behaviour, or is it some kind of bug?
Best,
Víctor]]>2015-06-02T15:36:11-00:00Re: Keeping CSS theme when copying models
https://www.eclipse.org/forums/index.php/mv/msg/1067109/1697237/#msg_1697237
Can you please provide some steps to reproduce the issue? Also, are you using Papyrus Luna or Papyrus Mars milestone builds? I couldn't reproduce the issue on Mars, and the Export to Image feature has been rewritten on Mars, so maybe that's just a Luna issue?
Camille]]>Camille Letavernier2015-06-02T15:43:35-00:00Re: Keeping CSS theme when copying models
https://www.eclipse.org/forums/index.php/mv/msg/1067109/1697586/#msg_1697586
It's a little bit wierd. I'm using Luna SR2.
The context is a SysML internal block diagram.
First, when I try without the theme, I copy and paste in a Powerpoint
and it works. Then, I apply the theme to the diagram and then copy
feature is not working at all, either with keyboard shortcut or by using
Papyrus Edit submenu from the contextual menu.
I'll give it a try in Mars.
Of course, I could take a screenshot instead of copying and pasting, but
I don't think it's the best solution.
Víctor
El 02/06/2015 a las 17:43, Camille Letavernier escribió:
> Hi Victor,
>
> Can you please provide some steps to reproduce the issue? Also, are you
> using Papyrus Luna or Papyrus Mars milestone builds? I couldn't
> reproduce the issue on Mars, and the Export to Image feature has been
> rewritten on Mars, so maybe that's just a Luna issue?
>
> Camille]]>2015-06-05T08:00:43-00:00Re: Keeping CSS theme when copying models
https://www.eclipse.org/forums/index.php/mv/msg/1067109/1697613/#msg_1697613
Some more details on this. I tested in Mars and got the same results.
Nevertheles, I learn that the problem is in copying the container block
of the sysml internal block diagram. If I select some of the css-styled
elements inside the root block it works perfectly. Somehow, it looks
like applying the css prevents the user from copying the whole container.
Best,
Víctor
El 05/06/2015 a las 10:00, "V. López" escribió:
> Hi Camille,
> It's a little bit wierd. I'm using Luna SR2.
> The context is a SysML internal block diagram.
> First, when I try without the theme, I copy and paste in a Powerpoint
> and it works. Then, I apply the theme to the diagram and then copy
> feature is not working at all, either with keyboard shortcut or by using
> Papyrus Edit submenu from the contextual menu.
> I'll give it a try in Mars.
> Of course, I could take a screenshot instead of copying and pasting, but
> I don't think it's the best solution.
>
> Víctor
>
> El 02/06/2015 a las 17:43, Camille Letavernier escribió:
>> Hi Victor,
>>
>> Can you please provide some steps to reproduce the issue? Also, are you
>> using Papyrus Luna or Papyrus Mars milestone builds? I couldn't
>> reproduce the issue on Mars, and the Export to Image feature has been
>> rewritten on Mars, so maybe that's just a Luna issue?
>>
>> Camille
>]]>2015-06-05T11:41:16-00:00Re: Keeping CSS theme when copying models
https://www.eclipse.org/forums/index.php/mv/msg/1067109/1697614/#msg_1697614
I still can't reproduce the issue Copying styled blocks from a SysML IBD (Or parts, or the whole diagram) still works fine for me
Can you please give more details on the following:
- How do you apply the stylesheets? Is it a CSS Theme (Workspace), a Project-level Stylesheet, or a local one? (Model/Diagram)
- Does it fail on any stylesheet (Including very simple ones), or does it fail only on a specific stylesheet?
- When you make the copy, is there any entry in the error log?
- When you look at the Edit > Copy menu, is it enabled?