Skip to main content



      Home
Home » Eclipse Projects » Nebula » [RichTextEditor] Missing icons in the palette when widget is calling by a plugin
[RichTextEditor] Missing icons in the palette when widget is calling by a plugin [message #1732159] Fri, 13 May 2016 02:03 Go to next message
Eclipse UserFriend
Hi,

I have a very odd problem with the RichTextEditor widget. I have a plugin that have in a view the example code of the nebula project

https://git.eclipse.org/c/nebula/org.eclipse.nebula.git/plain/widgets/richtext/org.eclipse.nebula.widgets.richtext.example/src/org/eclipse/nebula/widgets/richtext/example/RichTextEditorExample.java

While I'm developing and testing the plugin everything is ok, but when I create the release of my plugin there`s several icons of the palette missing (see the screenshot attached).

Anyone have any clues about what could be the root of the problem? I have tried tons of things (even modify the RichTextEditor plugin) and I'm totally missed about what's happening.

Best Regards
Pablo
Re: [RichTextEditor] Missing icons in the palette when widget is calling by a plugin [message #1732237 is a reply to message #1732159] Fri, 13 May 2016 12:40 Go to previous messageGo to next message
Eclipse UserFriend
Which Eclipse version?
Do you use the RichTextEditor as a plugin or do you integrate it in your plugin somehow?
Are these the default icons or do you add custom toolbar buttons?
Re: [RichTextEditor] Missing icons in the palette when widget is calling by a plugin [message #1732252 is a reply to message #1732159] Fri, 13 May 2016 18:04 Go to previous messageGo to next message
Eclipse UserFriend
Did you add your icons to the build.properties file?
Re: [RichTextEditor] Missing icons in the palette when widget is calling by a plugin [message #1732300 is a reply to message #1732252] Sun, 15 May 2016 05:03 Go to previous messageGo to next message
Eclipse UserFriend
I use luna, but i tried with eclipse mars too and i have the same issue. My plug-in is just a view with the code of the example using the RichText plug-in as a dependency.

The example have the default toolbar with two additional button but i tried to remove these parts and the result is the same i think that isn't related because the buttons with problems are generic (cut, copy, undo, redo and one of the indentation options) and use the same image that the other toolbar buttons (the icons.png file inside of the RichText plug-in)

Thank you so much for your help guys!!
Re: [RichTextEditor] Missing icons in the palette when widget is calling by a plugin [message #1732676 is a reply to message #1732300] Thu, 19 May 2016 02:32 Go to previous messageGo to next message
Eclipse UserFriend
Sorry I don't have a clue what is wrong on your side. I just tried it with my Neon installation, and there everything works as intended in the e4 example. What I can see is that the icons that are missing in your screenshot are the ones for disabled buttons.
Re: [RichTextEditor] Missing icons in the palette when widget is calling by a plugin [message #1732786 is a reply to message #1732676] Fri, 20 May 2016 04:20 Go to previous messageGo to next message
Eclipse UserFriend
Thanks a lot for spend time in my problem. I tried again with the last eclipse version and nothing changes Sad (Please note that it's necessary export the plugin and install it to reproduce the behavior)

Can you attach your test plugin? Maybe I could find something new on it... Anyway I added my plugin project and my exported plugin in this message

Best Regards
Pablo



  • Attachment: plugins.zip
    (Size: 33.43KB, Downloaded 255 times)
Re: [RichTextEditor] Missing icons in the palette when widget is calling by a plugin [message #1733171 is a reply to message #1732786] Tue, 24 May 2016 18:52 Go to previous messageGo to next message
Eclipse UserFriend
Are you using Windows 10?

I have found this topic on Stackoverflow, not sure yet how to solve: http://stackoverflow.com/questions/17040654/what-could-cause-ckeditor-icons-to-go-missing
Re: [RichTextEditor] Missing icons in the palette when widget is calling by a plugin [message #1733361 is a reply to message #1733171] Thu, 26 May 2016 16:46 Go to previous messageGo to next message
Eclipse UserFriend
It looks like an issue in SWT.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=440300
Re: [RichTextEditor] Missing icons in the palette when widget is calling by a plugin [message #1733547 is a reply to message #1733361] Mon, 30 May 2016 02:34 Go to previous messageGo to next message
Eclipse UserFriend
I created a new ticket, not sure if it is really a SWT or an Equinox launcher issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=494865
Re: [RichTextEditor] Missing icons in the palette when widget is calling by a plugin [message #1733810 is a reply to message #1733547] Wed, 01 June 2016 03:03 Go to previous message
Eclipse UserFriend
Thanks for open a ticket Dirk,

Reading the information of the bugzilla, I can see the missing toolbar icons if i put the follow parameters at the end of the eclipse.ini

-Dorg.eclipse.swt.browser.DefaultType=ie
-Dorg.eclipse.swt.browser.IEVersion=9999

But, when I put these parameters the ck editor don't fill all the area of the browser widget.

Anyway, when I test my plugin, in the configuration tab of the launch or debug properties is setup to generate a new config.file and the result is good so I'll try to change the configuration to try to make a workarround of the problem. I'll write again if I found the parameter involved in the issue.

Best Regards
Pablo

[Updated on: Wed, 01 June 2016 03:03] by Moderator

Previous Topic:repository location
Next Topic:[GanttChart] Settings: allowInfiniteHorizontalScrollBar nowhere called?
Goto Forum:
  


Current Time: Sat May 03 11:07:36 EDT 2025

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

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

Back to the top