Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » GanttChart bug in Y calcul for Events in some configuration
GanttChart bug in Y calcul for Events in some configuration [message #830144] Tue, 27 March 2012 08:51 Go to next message
Maxime Romand is currently offline Maxime RomandFriend
Messages: 4
Registered: March 2012
Junior Member
Hello.

I'm a recent user of the GanttChart tool and I'd like to describe a bug I found.
I had a problem when I tried to display many events in GanttGroup and many GanttGroup in GanttSection.

GanttEvents were not displayed with the correct Y coordinate when the function setTopItem() was called. (

After some research, I found the (possible) cause of it.

GanttCompoisite.java :
in the method calculateAllScopes(final Rectangle bounds, final GanttSection gs).
lines 3356 and 3408

yDrawPos = groupLocations.get(ge.getGanttGroup()).intValue();

I don't know if the following patch is the good one but it solved my problem.

patch proposed :
yDrawPos = groupLocations.get(ge.getGanttGroup()).intValue() - _vScrollPos;

Best regards,

Maxime Romand
Re: GanttChart bug in Y calcul for Events in some configuration [message #831345 is a reply to message #830144] Wed, 28 March 2012 19:51 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

Hi Maxime,

thanks for reporting this. Please file a bug by clicking on this link [1]. Please also provide a snippet or a test case that exposes the bug.

Best regards,

Wim Jongman

[1] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Nebula&component=GanttChart
Re: GanttChart bug in Y calcul for Events in some configuration [message #837850 is a reply to message #831345] Fri, 06 April 2012 07:08 Go to previous message
Maxime Romand is currently offline Maxime RomandFriend
Messages: 4
Registered: March 2012
Junior Member
Ok I will do that.

Maxime Romand
Previous Topic:gridtableviewer and drag and drop
Next Topic:Experiences with RAP
Goto Forum:
  


Current Time: Thu Apr 25 02:09:09 GMT 2024

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

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

Back to the top