From: yuri@physics.heriot-watt.ac.uk (Yuri Rzhanov)
Newsgroups: fj.mail-lists.x-window
Subject: Bug in DevGuide ?
Date: 16 Oct 92 16:13:46 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Via: uk.ac.heriot-watt.physics; Fri, 16 Oct 1992 10:32:43 +0100
Date: Fri, 16 Oct 92 10:12:23 BST
Message-Id: <8800.9210160912@photon.phy.hw.ac.uk>



Hi X-perts,

I thinj I found a bug in DevGuide v.3. It's not
a matter of pride - the whole world full of bugs,
I just need this application to work properly.

The problem is: I have a single frame with single
panel which has single drag/drop site. The corresponding
.G file is attached below, but everyone can develop
such an application in exactly ten seconds. All you
should do - is to design two bitmaps 32x32 ("normal"
and "busy") and two cursors 16x16 ("drag" and "accept").

In test mode site works fine - it displays normally "normal"
image, "busy" image while processing, etc. But when I save
.G file, run gxv and make - site has no "normal" image and
does not allow drag from the site. While dropping onto, however,
it behaves properly: displays "busy" image and printf's message.

What's the matter of such a behavior? Any clues would be
appreciated.
	Yuri

yuri@uk.ac.hw.phy
-----------------------------------------------------------------
;GIL-3
(
(
	:type                   :base-window
	:name                   window1
	:owner                  nil
	:width                  234
	:height                 148
	:background-color       ""
	:foreground-color       ""
	:label                  "Base Window"
	:label-type             :string
	:initial-state          :open
	:show-footer            t
	:resizable              t
	:icon-file              ""
	:icon-label             ""
	:icon-mask-file         ""
	:event-handler          nil
	:user-data              ()
	:actions                ()
)
(
	:type                   :control-area
	:name                   controls1
	:owner                  window1
	:help                   ""
	:x                      0
	:y                      0
	:width                  234
	:height                 148
	:background-color       ""
	:foreground-color       ""
	:initial-state          :visible
	:show-border            nil
	:menu                   nil
	:event-handler          nil
	:user-data              ()
	:actions                ()
)
(
	:type                   :drop-target
	:name                   drop_target1
	:owner                  controls1
	:help                   ""
	:x                      112
	:y                      56
	:width                  18
	:height                 16
	:drop-target_width      12
	:default-drop-site      nil
	:draggable              t
	:droppable              nil
	:label                  ""
	:label-type             :string
	:normal-drop-glyph      "normal.icon"
	:busy-drop-glyph        "busy.icon"
	:dnd-cursor             "drag.cur"
	:dnd-cursor-xhot        0
	:dnd-cursor-yhot        0
	:dnd-accept-cursor      "accept.cur"
	:dnd-accept-cursor-xhot 0
	:dnd-accept-cursor-yhot 0
	:foreground-color       ""
	:initial-state          :active
	:notify-handler         nil
	:event-handler          nil
	:user-data              ()
	:actions                ()
)
)