|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.dwt - ColumnView tooltips?
Howdy,
I just tried adding tooltips to a ColumnView following the model of
this snippet:
http://tinyurl.com/bsjbdz
But I get a crash in HashMap when afterHideTooltip tries to set the
tool tip to "null".
Since this isn't one of the snippets that has been ported, I suspect
chances are about even that this is a problem in DWT itself.
If someone has time on their hands it would be cool to see a port of
that snippet.
--bb
Here's the stack trace:
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at
tango.util.container.HashMap.__T7HashMapTC6ObjectTC6ObjectZ.HashMap.add.Object.Object
f:/usr/pkg/d/dsss/bin\..\include\d\tango\util\container\HashMap.di:223
(0x0041b48e) thread(7620)
->us
#0 tango.util.container.HashMap.HashMap! () at
f:/usr/pkg/d/dsss/bin\..\include\d\tango\util\container\HashMap.di:223
#1 0x0041bb69 in tango.util.container.HashMap.HashMap! () at
f:/usr/pkg/d/dsss/bin\..\include\d\tango\util\container\HashMap.di:522
#2 0x0041b00a in Object dwtx.dwtxhelper.Collection.HashMap.put () at
f:\usr\pkg\d\dsss\bin\..\include\d\dwtx\dwtxhelper\Collection.d:318
#3 0x00417d6b in dwtx.jface.window.ToolTip.ToolTip.setData () at
f:\usr\pkg\d\dsss\bin\..\include\d\dwtx\jface\window\ToolTip.d:157
#4 0x007c1cd2 in
dwtx.jface.viewers.ColumnViewerToolTipSupport.ColumnViewerToolTipSupport.afterHideToolTip
() at f:\usr\pkg\d\dsss\bin\..\include\d\dwtx\jface\viewers\ColumnViewerToolTipSupport.d:214
#5 0x00418515 in dwtx.jface.window.ToolTip.ToolTip.toolTipHide () at
f:\usr\pkg\d\dsss\bin\..\include\d\dwtx\jface\window\ToolTip.d:462
#6 0x00418b69 in
dwtx.jface.window.ToolTip.ToolTip.ToolTipOwnerControlListener.handleEvent
() at f:\usr\pkg\d\dsss\bin\..\include\d\dwtx\jface\window\ToolTip.d:672
#7 0x00e8d953 in void
dwt.widgets.EventTable.EventTable.sendEvent(class
dwt.widgets.Event.Event, void*) () at dwtgui.d:3250 from EventTable
#8 0x00e48652 in void dwt.widgets.Widget.Widget.sendEvent(class
dwt.widgets.Event.Event, void*) () at dwtgui.d:3250 from Widget
#9 0x00e3dcb9 in bool
dwt.widgets.Display.Display.runDeferredEvents(void*) () at
dwtgui.d:3250 from Display
#10 0x00e3cafd in bool dwt.widgets.Display.Display.readAndDispatch(void*) () at
dwtgui.d:3250 from Display
...
-
Jan 30 2009
Thanks for reporting. I added this snippet to the dwt-samples repo. The problem is, tango container crashes on storing a null value for HashMap!(Object). I added a tango ticket (1468) and a workaround in dwt-addons. Feb 01 2009
Excellent! Thanks as always for your efforts on dwt! --bb On Mon, Feb 2, 2009 at 3:46 AM, Frank Benoit <keinfarbton googlemail.com> wrote:Thanks for reporting. I added this snippet to the dwt-samples repo. The problem is, tango container crashes on storing a null value for HashMap!(Object). I added a tango ticket (1468) and a workaround in dwt-addons. Feb 01 2009
|