| Summary: | Events disappear when adding new event from menu item after vertical scroll on Linux and OS X | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Uwe Kubosch <uwe> | ||||
| Component: | Nebula | Assignee: | Emil Crumhorn <emil.crumhorn> | ||||
| Status: | CLOSED INVALID | QA Contact: | |||||
| Severity: | blocker | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
This bug does not have a target milestone assigned and is automatically closed as part of the 2.3.0 release cleanup. It could be that this bug is accidentally closed for which we apologize. If this bug is still relevant, please re-open and set a target milestone. |
Created attachment 193360 [details] Modified GanttSectionsExample.java Hi! When running the GanttSectionsExample snippet with one small change, some events disappear. This happens on Linux and OS X, but not on Windows XP. The change we have made is adding the following code inside the handleEvent method of the menu item listener: Calendar c1 = Calendar.getInstance(); c1.add(Calendar.DATE, 8); Calendar c2 = Calendar.getInstance(); c2.add(Calendar.DATE, 9); GanttEvent eventFoo = new GanttEvent(ganttChart, "Event foo", c1, c2, 10); eventFoo.setStatusColor(ColorCache.getColor(254, 0, 0)); eventFoo.setGradientStatusColor(ColorCache.getColor(168, 185, 216)); gg.addEvent(eventFoo); To trigger the error, reduce the size of the window so you get a vertical scroll bar, scroll a bit down, then select the context menu on the checkpoint twice. You will see a red event appear, then disappear. Any help on this is greatly appreciated.