Re: [Pharo-project] focus and moving windows
FWIW, I frequently have had troubles like that with graphical systems that were mixing current cursor position with positions from the events. Bill Wilhelm K. Schwab, Ph.D. University of Florida Department of Anesthesiology PO Box 100254 Gainesville, FL 32610-0254 Email: bschwab@anest.ufl.edu Tel: (352) 273-6785 FAX: (352) 392-7029
Alexandre.Bergel@inria.fr 12/19/2008 12:42 PM >>> Dear List,
The cursor position when I grab a window and move it around is not the same than the position where I clicked first. I do not know whether this is clear or not. Sadly, I do not have enough expertise on this to effectively produce a fix. Issue #420 Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
This was the case few years ago in Squeak Alexandre On 19 Dec 2008, at 16:25, Bill Schwab wrote:
FWIW, I frequently have had troubles like that with graphical systems that were mixing current cursor position with positions from the events.
Bill
Wilhelm K. Schwab, Ph.D. University of Florida Department of Anesthesiology PO Box 100254 Gainesville, FL 32610-0254
Email: bschwab@anest.ufl.edu Tel: (352) 273-6785 FAX: (352) 392-7029
Alexandre.Bergel@inria.fr 12/19/2008 12:42 PM >>> Dear List,
The cursor position when I grab a window and move it around is not the
same than the position where I clicked first. I do not know whether this is clear or not. Sadly, I do not have enough expertise on this to effectively produce a
fix.
Issue #420
Cheers, Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Alex, I find the existing behavior also strange. Setting the threshold in HandMorph>>waitForClicksOrDrag:event: to 0 seems to fix this. Does this solve your problem? Adrian On Dec 20, 2008, at 00:18 , Alexandre Bergel wrote:
This was the case few years ago in Squeak
Alexandre
On 19 Dec 2008, at 16:25, Bill Schwab wrote:
FWIW, I frequently have had troubles like that with graphical systems that were mixing current cursor position with positions from the events.
Bill
Wilhelm K. Schwab, Ph.D. University of Florida Department of Anesthesiology PO Box 100254 Gainesville, FL 32610-0254
Email: bschwab@anest.ufl.edu Tel: (352) 273-6785 FAX: (352) 392-7029
Alexandre.Bergel@inria.fr 12/19/2008 12:42 PM >>> Dear List,
The cursor position when I grab a window and move it around is not the
same than the position where I clicked first. I do not know whether this is clear or not. Sadly, I do not have enough expertise on this to effectively produce a
fix.
Issue #420
Cheers, Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
It seems to work. Strange that we had a non-zero value. Is double- clicking being used in pharo ? Cheers, Alexandre On 20 Dec 2008, at 07:43, Adrian Lienhard wrote:
Hi Alex,
I find the existing behavior also strange. Setting the threshold in HandMorph>>waitForClicksOrDrag:event: to 0 seems to fix this.
Does this solve your problem?
Adrian
On Dec 20, 2008, at 00:18 , Alexandre Bergel wrote:
This was the case few years ago in Squeak
Alexandre
On 19 Dec 2008, at 16:25, Bill Schwab wrote:
FWIW, I frequently have had troubles like that with graphical systems that were mixing current cursor position with positions from the events.
Bill
Wilhelm K. Schwab, Ph.D. University of Florida Department of Anesthesiology PO Box 100254 Gainesville, FL 32610-0254
Email: bschwab@anest.ufl.edu Tel: (352) 273-6785 FAX: (352) 392-7029
Alexandre.Bergel@inria.fr 12/19/2008 12:42 PM >>> Dear List,
The cursor position when I grab a window and move it around is not the
same than the position where I clicked first. I do not know whether this is clear or not. Sadly, I do not have enough expertise on this to effectively produce a
fix.
Issue #420
Cheers, Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Looks like it takes the current mouse position after the drag threshold (pixels) has been exceed rather than the original mouse location as the offset... Regards, Gary. ----- Original Message ----- From: "Alexandre Bergel" <alexandre@bergel.eu> To: <Pharo-project@lists.gforge.inria.fr> Sent: Saturday, December 20, 2008 4:34 PM Subject: Re: [Pharo-project] focus and moving windows
It seems to work. Strange that we had a non-zero value. Is double- clicking being used in pharo ?
Cheers, Alexandre
On 20 Dec 2008, at 07:43, Adrian Lienhard wrote:
Hi Alex,
I find the existing behavior also strange. Setting the threshold in HandMorph>>waitForClicksOrDrag:event: to 0 seems to fix this.
Does this solve your problem?
Adrian
On Dec 20, 2008, at 00:18 , Alexandre Bergel wrote:
This was the case few years ago in Squeak
Alexandre
On 19 Dec 2008, at 16:25, Bill Schwab wrote:
FWIW, I frequently have had troubles like that with graphical systems that were mixing current cursor position with positions from the events.
Bill
Wilhelm K. Schwab, Ph.D. University of Florida Department of Anesthesiology PO Box 100254 Gainesville, FL 32610-0254
Email: bschwab@anest.ufl.edu Tel: (352) 273-6785 FAX: (352) 392-7029
Alexandre.Bergel@inria.fr 12/19/2008 12:42 PM >>> Dear List,
The cursor position when I grab a window and move it around is not the
same than the position where I clicked first. I do not know whether this is clear or not. Sadly, I do not have enough expertise on this to effectively produce a
fix.
Issue #420
Cheers, Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (4)
-
Adrian Lienhard -
Alexandre Bergel -
Bill Schwab -
Gary Chambers