Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Glitch when updating a view containing a GanttChart
Glitch when updating a view containing a GanttChart [message #1052857] Tue, 30 April 2013 14:04 Go to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

am implementing an Eclipse view which embeds the GanttChart widget. When a selection change happens in the current editor I succesfully update the chart in the view. The problem is that when the view is repainted the GanttChart may change its height (correctly). In this case however the background behaves strangely. It sometimes shows an old content (i.e. when the composite was taller) or the content of the editor. The background contents turn black when I resize the view.

It seems to relate with the view drawing but I can't see how to fix it. Plus it works fine on MacOs, I am experiencing this behavior on Windows 7.

In both cases I use a JSE1.6 with Juno


Follow me on Twitter @andreasindico

[Updated on: Thu, 02 May 2013 09:07]

Report message to a moderator

Re: Glitch when updating a view containing a GanttChart [message #1053146 is a reply to message #1052857] Thu, 02 May 2013 12:42 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

This is the problem I am experiencing.
As you can see when the GanttChart object is updated I see a black background with different glitches in the view containing it

http://i.stack.imgur.com/I39Fu.png


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1053163 is a reply to message #1053146] Thu, 02 May 2013 15:00 Go to previous messageGo to next message
Wim Jongman is currently offline Wim Jongman
Messages: 254
Registered: July 2009
Senior Member

Hi Andreas,

Did you implement the setFocus method of the view?
Does it go away if you reseize the view?

Regards,

Wim
Re: Glitch when updating a view containing a GanttChart [message #1053167 is a reply to message #1053163] Thu, 02 May 2013 15:35 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

Hi Wim,
I have checked the setFocus method and found a bug that might be cause of the issue. I say may because I am working on a Mac where I don't experience the problem. I have to wait tomorrow to check it.
Thank you very much for your kind help !


Follow me on Twitter @andreasindico

[Updated on: Thu, 02 May 2013 15:46]

Report message to a moderator

Re: Glitch when updating a view containing a GanttChart [message #1053212 is a reply to message #1053167] Fri, 03 May 2013 03:30 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

Hi Wim,
the setFocus method is implemented this way
public void setFocus() {
		ganttChart.getGanttComposite().setFocus();
	}

the problem still happens and it doesn't go away when I resize the view


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1053223 is a reply to message #1053212] Fri, 03 May 2013 04:43 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

To be more precise I am running on a JVM version 1.7.0_09-b05 64 bit

Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1053267 is a reply to message #1053223] Fri, 03 May 2013 09:01 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have tried on a Windows XP with Java 1.7 32bit and it works fine.
The problem seems to be related with Windows 7 or with the 64 bit architecture? could this be possible?


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1053315 is a reply to message #1053267] Fri, 03 May 2013 16:15 Go to previous messageGo to next message
Wim Jongman is currently offline Wim Jongman
Messages: 254
Registered: July 2009
Senior Member

It could be but I doubt it. I think it is caused by something in W7. What are you doing when you receive the new selection? Is it possible for you to experiment a little with the buildup of the new gantt?

Could you for example:

* erase the complete gantt and rebuild it completely instead of updating.
* try the various pack and layout methods
Re: Glitch when updating a view containing a GanttChart [message #1053316 is a reply to message #1053315] Fri, 03 May 2013 16:17 Go to previous messageGo to next message
Wim Jongman is currently offline Wim Jongman
Messages: 254
Registered: July 2009
Senior Member

does it go away if you resize the view?
Re: Glitch when updating a view containing a GanttChart [message #1053323 is a reply to message #1053316] Fri, 03 May 2013 17:17 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

It doesn't go away when I resize the view
I tried to dispose and instantiate a new GanttChart but it behaves in the same way
I tried to get the parent and invoke the layout method but i did not try the pack


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1053346 is a reply to message #1053323] Sat, 04 May 2013 04:33 Go to previous messageGo to next message
Wim Jongman is currently offline Wim Jongman
Messages: 254
Registered: July 2009
Senior Member

Andreas, please crate a plugin (as small as possible) with a view using the gantt with this behavior on windows 7, file a bug and attach the plugin to the bug. Then we can take a look.

Regards,

Wim
Re: Glitch when updating a view containing a GanttChart [message #1054062 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054110 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054141 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054175 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054212 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054250 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054287 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054326 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054366 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054406 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054446 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054487 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054527 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054569 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054611 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054654 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054696 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054739 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054786 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054833 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054885 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054938 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1054993 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1055049 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1055109 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1055168 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1055230 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1055294 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Re: Glitch when updating a view containing a GanttChart [message #1055360 is a reply to message #1053346] Wed, 08 May 2013 04:06 Go to previous messageGo to previous message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I have managed to reproduce the issue in a very small plugin implementing a view and
I am about to open the bug. I can already tell you it seems the problem is about the GanttSection object.
--
Follow me on Twitter https://twitter.com/andreasindico


Follow me on Twitter @andreasindico

Previous Topic:Gantt Chart Position
Next Topic:Children relationship lines in GridTreeViewer
Goto Forum:
  


Current Time: Sat Apr 19 05:54:41 EDT 2014

Powered by FUDForum. Page generated in 0.03057 seconds