Skip to main content



      Home
Home » Eclipse Projects » Sirius » Sirius default font preferences not respected
Sirius default font preferences not respected [message #1855570] Thu, 20 October 2022 14:10 Go to next message
Eclipse UserFriend
Hello,

We have noticed that not all of the font preferences in Window -> Preferences -> Sirius -> Sirius Diagram -> Appearance are respected when the user presses the "Reset Style Properties to Default Values" button in the appearance section of the properties panel of say a node in a Sirius diagram.

It seems that only the font family is respected, and not the font size, color, or style (bold, etc.)

I have debugged the class ResetStylePropertiesToDefaultValuesCommand and have noticed that, for example for the font color eAttribute in the for loop on line 170, the if statement on line 171 is not entered.

It appears that the font color eAttribute is not contained in the set of eAttributes ViewQuery.CUSTOMIZABLE_GMF_EXCLUSIVE_STYLE_ATTRIBUTES.

Is there anything we could be doing wrong on our end? It seems to me to be a problem with the ViewQuery class but as usual we may be doing something wrong which would lead the font color eAttribute to not be present in the ViewQuery.CUSTOMIZABLE_GMF_EXCLUSIVE_STYLE_ATTRIBUTES set of eAttributes.

Thanks,

Louis
Re: Sirius default font preferences not respected [message #1857143 is a reply to message #1855570] Thu, 19 January 2023 13:21 Go to previous messageGo to next message
Eclipse UserFriend
Anyone have ideas how to solve this?
Re: Sirius default font preferences not respected [message #1857380 is a reply to message #1857143] Thu, 02 February 2023 11:51 Go to previous messageGo to next message
Eclipse UserFriend
Hi

Effectively as you describe this issue it may be a bug in Sirius.
org.eclipse.sirius.diagram.ui.business.api.query.ViewQuery.isStylePropertyExistingInSiriusStyleModel(EAttribute)
seems to not manage the case of the FONT

I invite you to create a Sirius bugzilla issue(with a reproducible scenario please :) ) so that we can handle this bug

Regards
Re: Sirius default font preferences not respected [message #1857398 is a reply to message #1857380] Fri, 03 February 2023 23:51 Go to previous message
Eclipse UserFriend
Thanks for your reply.

I have filed a bug report:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=581486
Previous Topic:container nesting
Next Topic:Hiding zorder menu on edges
Goto Forum:
  


Current Time: Mon Apr 28 09:13:58 EDT 2025

Powered by FUDForum. Page generated in 0.08070 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top