I apologize for the cross posting (between -devel and -user) but I feel
that this topic is relevant to both lists.
In doing more research on the subject, I got ahold of Mike Pinkerton who
is one of the developers of the drag and drop functionality of Mozilla.
He pointed out that the embedders, (Galeon etc) could make use of the
(For enabling / disabling) of drag and drop. This is probably what most
of the kiosk mode supporters are looking for.
As for setting the threshold, it would appear that a value of 5 pixels
is statically set in Mozilla. In the 1.3 code, under
Line 1375 reveals the following:
const long pixelDeltaToStartDrag = 5;
It would appear that in order for Galeon to control the drag threshold,
it is up to the Mozilla camp to make this long available for userland
setting instead of being a fixed value.
However, this is only part of the puzzle. Dealing with the pointer, the
button click, and drag off of the link pixelDeltaToStartDrag distance,
won't result in a proper drag. Food for thought for the developers.
From: Tommi Komulainen [mailto:tommi.komulainen@...]
Sent: Thursday, July 10, 2003 9:23 AM
To: Evan Brewer
Subject: Re: [Galeon-user] Disable drag and drop in the main content
On Thu, 2003-07-10 at 03:29, Evan Brewer wrote:
> I apologize if this question has been already answered on this list, but
> sourceforge's archives for this list returned "Forum not found."
> I am working with a tablet PC, and nine times out of ten, clicking links
> ends up in a drag. Ultimately I would like to see Galeon use the gconf
> setting /desktop/gnome/peripherals/mouse/drag_threshold to adjust this,
> but for now I would like to just disable dragging of links (in the main
> window) altogether. I have looked through Galeon 1.2.11 source and is my
> assumption that this handling is done in the Mozilla libraries. Am I on
> track with this? Does anyone have any thoughts about this? Thanks.
Yep, you're quite right. I found the following from bugzilla simply
searching for 'drag disable'. Have fun.
Tommi Komulainen tommi.komulainen@...
GPG 1024D/68388EE6 6FD6 DD79 EB38 BF6F 3533 09C0 04A8 9871 6838 8EE6