[plt-scheme] File Dialog problem with Linux
At Sun, 31 Oct 2004 05:42:21 -0500, "Neil W. Van Dyke" wrote:
> P.C.Lane at herts.ac.uk <P.C.Lane at herts.ac.uk> writes at 10:30 31-Oct-2004 +0000:
> > The problem arises when double-clicking on folders to step through the
> > file hierarchy. Quite often, around 50% of the time, this does not
> > work smoothly, in that the folder is highlighted but does not change.
>
> Seems like the double-click timeout in the underlying GUI toolkit is
> slightly too short.
MrEd builds on Xt, where the default double-click time is 200 msec. In
contrast, it looks like the default double-click time for GTK-based
apps on my machine is 400 msec.
You can set the double-click time to 400 msec either by adding
(|MrEd:doubleClickTime| 400)
to "plt-prefs.ss", or by adding
mred*multiClickTime: 400
to your ".Xdefaults" file. In this latter case, leave out the "mred"
prefix to have the change apply to all Xt applications. And don't
forget to run `xrdb -merge .Xdefaults' to have the change take effect
immediately.
Due to a bug in versions prior to 299.21, the "plt-prefs.ss" option
doesn't actually affect list boxes. So, change ".Xdefaults" instead of
"plt-prefs.ss" for old versions.
Matthew