From jfox at mcmaster.ca  Fri Jun  6 13:22:13 2003
From: jfox at mcmaster.ca (John Fox)
Date: Fri Jun  6 18:22:28 2003
Subject: [Rd] stuck tcltk scrollbars under Windows XP
In-Reply-To: <i301evkt8c708e0j4mh9s0fuev4so7r29t@4ax.com>
References: <5.1.0.14.2.20030606072039.01ed78a0@mcmail.cis.mcmaster.ca>
	<5.1.0.14.2.20030606072039.01ed78a0@mcmail.cis.mcmaster.ca>
Message-ID: <5.1.0.14.2.20030606122108.01e5f4a8@mcmail.cis.mcmaster.ca>

Dear Duncan,

Thanks for the confirmation. I assume that the scrollbar problem went away 
when the calls to tkgrab() and tkgrab.release() were removed. Is that right?

Regards,
  John

At 07:58 AM 6/6/2003 -0400, Duncan Murdoch wrote:
>On Fri, 06 Jun 2003 07:23:27 -0400, you wrote:
>
> >
> >You can test for the problem with the following code:
>...
> >I find that I can make the scrollbar stick under Windows XP by repeatedly
> >and rapidly pressing the scroll-down button.
>
>I can reproduce it easily in XP in yesterday's 1.7.1 beta.
>
> >I wonder whether anyone else has encountered this problem or has any
> >insight into its source.
>
>I don't know TCL/TK well enough to know what tkgrab does in Windows
>terms, but the general symptoms look as though events are being
>missed.  When you click on something messages are generated for
>mouse-down and mouse-up events; it looks as though some mouse-up
>messages are being lost.
>
> >I've also had a report of tk windows failing to stay on top of the R-GUI
> >SDI Console in Windows XP, but I haven't been able to duplicate this
> >problem, and it has never occurred in my testing under Windows 2000 and
> >Linux. Has anyone else experienced this behaviour?
>
>TK gets lost behind the MDI main window, but I haven't seen this yet
>with SDI.  I haven't done a lot of testing, though...
>
>Duncan Murdoch

-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox@mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox


[Rd] stuck tcltk scrollbars under Windows XP
John Fox