9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] rio buglet
@ 2006-08-14 11:14 Steve Simon
  2006-08-14 11:44 ` erik quanstrom
  2006-08-14 18:04 ` Sascha Retzki
  0 siblings, 2 replies; 6+ messages in thread
From: Steve Simon @ 2006-08-14 11:14 UTC (permalink / raw)
  To: 9fans

Hi,


I have hit a bug in rio, not a showstopper, just an anoyance
and for the life of me I cannot find it.

Its an off by one error, if you create a window that abutts the
bottom or right of the screen and do a single click with button 1
the border becomes latched in selected state (red), and any movement
without holding down any buttons.

It seems to be an off by one error, Windows abuting the right, or
top edge of the screen, or any window edge inside the screen,
edge selection is momentary.

The reason this is anoying is because if I select a window by clicking
on its border at one of these edges and then move the mouse into the window
to start typing the edge of the window moves - veryy disconcerting.

I will continue to look if anyone has any thoughts beoynd /sys/src/cmd/rio.

-Steve


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] rio buglet
  2006-08-14 11:14 [9fans] rio buglet Steve Simon
@ 2006-08-14 11:44 ` erik quanstrom
  2006-08-14 18:53   ` Axel Belinfante
  2006-08-14 18:04 ` Sascha Retzki
  1 sibling, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2006-08-14 11:44 UTC (permalink / raw)
  To: 9fans

io does that for me every time i click on the border of a window
behind another.

- erik

On Mon Aug 14 06:20:14 CDT 2006, steve@quintile.net wrote:
> Hi,
> 
> 
> I have hit a bug in rio, not a showstopper, just an anoyance
> and for the life of me I cannot find it.
> 
> Its an off by one error, if you create a window that abutts the
> bottom or right of the screen and do a single click with button 1
> the border becomes latched in selected state (red), and any movement
> without holding down any buttons.
> 
> It seems to be an off by one error, Windows abuting the right, or
> top edge of the screen, or any window edge inside the screen,
> edge selection is momentary.
> 
> The reason this is anoying is because if I select a window by clicking
> on its border at one of these edges and then move the mouse into the window
> to start typing the edge of the window moves - veryy disconcerting.
> 
> I will continue to look if anyone has any thoughts beoynd /sys/src/cmd/rio.
> 
> -Steve


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] rio buglet
  2006-08-14 11:14 [9fans] rio buglet Steve Simon
  2006-08-14 11:44 ` erik quanstrom
@ 2006-08-14 18:04 ` Sascha Retzki
  1 sibling, 0 replies; 6+ messages in thread
From: Sascha Retzki @ 2006-08-14 18:04 UTC (permalink / raw)
  To: 9fans

> Hi,
> 

Hi,

> 
> I have hit a bug in rio, not a showstopper, just an anoyance
> and for the life of me I cannot find it.
> 
> Its an off by one error, if you create a window that abutts the
> bottom or right of the screen and do a single click with button 1
> the border becomes latched in selected state (red), and any movement
> without holding down any buttons.
> 

Confirming this exists.

> 
> The reason this is anoying is because if I select a window by clicking
> on its border at one of these edges and then move the mouse into the window
> to start typing the edge of the window moves - veryy disconcerting.
> 


Actually just the red-coloured border moves, but the window is not resized. Just to clarify things.


Nothing but noise from my site, so I shut up now. ;)



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] rio buglet
  2006-08-14 11:44 ` erik quanstrom
@ 2006-08-14 18:53   ` Axel Belinfante
  2006-08-14 18:57     ` erik quanstrom
  0 siblings, 1 reply; 6+ messages in thread
From: Axel Belinfante @ 2006-08-14 18:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

on a system that has not been updated for a while i could
not reproduce the problem (or I did not understand how to do it).

diff showed changes in rio.c and wind.c, the following updates i 'missed'.
hope this may help tracking it down.

Axel.

% history  /n/sources/plan9/sys/src/cmd/rio/rio.c
Mar 13 23:30:11 MET 2006 /n/sources/plan9/sys/src/cmd/rio/rio.c 22866 [rsc]
Mar 13 23:30:11 MET 2006 /n/sourcesdump/2006/0814/plan9/sys/src/cmd/rio/rio.c 22866 [rsc]
Mar 10 19:32:19 MET 2006 /n/sourcesdump/2006/0313/plan9/sys/src/cmd/rio/rio.c 22807 [rsc]
Nov 10 16:21:08 MET 2005 /n/sourcesdump/2006/0310/plan9/sys/src/cmd/rio/rio.c 22791 [rsc]
Nov  9 22:18:37 MET 2005 /n/sourcesdump/2005/1110/plan9/sys/src/cmd/rio/rio.c 22788 [rsc]
Nov  7 16:01:03 MET 2005 /n/sourcesdump/2005/1109/plan9/sys/src/cmd/rio/rio.c 22143 [rsc]

May 20 06:07:22 MDT 2006 /n/sources/plan9/sys/src/cmd/rio/wind.c 33392 [rsc]
May 20 06:07:22 MDT 2006 /n/sourcesdump/2006/0814/plan9/sys/src/cmd/rio/wind.c 33392 [rsc]
Mar 30 14:59:56 MDT 2006 /n/sourcesdump/2006/0520/plan9/sys/src/cmd/rio/wind.c 33445 [rsc]
Mar 10 19:32:23 MET 2006 /n/sourcesdump/2006/0330/plan9/sys/src/cmd/rio/wind.c 33362 [rsc]



> io does that for me every time i click on the border of a window
> behind another.
> 
> - erik
> 
> On Mon Aug 14 06:20:14 CDT 2006, steve@quintile.net wrote:
> > Hi,
> > 
> > 
> > I have hit a bug in rio, not a showstopper, just an anoyance
> > and for the life of me I cannot find it.
> > 
> > Its an off by one error, if you create a window that abutts the
> > bottom or right of the screen and do a single click with button 1
> > the border becomes latched in selected state (red), and any movement
> > without holding down any buttons.
> > 
> > It seems to be an off by one error, Windows abuting the right, or
> > top edge of the screen, or any window edge inside the screen,
> > edge selection is momentary.
> > 
> > The reason this is anoying is because if I select a window by clicking
> > on its border at one of these edges and then move the mouse into the window
> > to start typing the edge of the window moves - veryy disconcerting.
> > 
> > I will continue to look if anyone has any thoughts beoynd /sys/src/cmd/rio.
> > 
> > -Steve


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] rio buglet
  2006-08-14 18:53   ` Axel Belinfante
@ 2006-08-14 18:57     ` erik quanstrom
  2006-08-14 19:30       ` "Nils O. Selåsdal"
  0 siblings, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2006-08-14 18:57 UTC (permalink / raw)
  To: 9fans

i think that it's a timing issue.

- erik

On Mon Aug 14 13:54:30 CDT 2006, Axel.Belinfante@cs.utwente.nl wrote:
> on a system that has not been updated for a while i could
> not reproduce the problem (or I did not understand how to do it).
> 
> diff showed changes in rio.c and wind.c, the following updates i 'missed'.
> hope this may help tracking it down.
> 
> Axel.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] rio buglet
  2006-08-14 18:57     ` erik quanstrom
@ 2006-08-14 19:30       ` "Nils O. Selåsdal"
  0 siblings, 0 replies; 6+ messages in thread
From: "Nils O. Selåsdal" @ 2006-08-14 19:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

erik quanstrom wrote:
> i think that it's a timing issue.
> 
> - erik
Might be a mouse read(the initial one ?) that's ignored.
Though not give much thought, if at all,
I'm unable to reproduce this with:

% diff rio.c /n/sources/plan9/sys/src/cmd/rio/rio.c
963c963
< 	but = mouse->buttons;
---
 > 	
972c972
< 	
---
 > 	but = mouse->buttons;



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-08-14 19:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-14 11:14 [9fans] rio buglet Steve Simon
2006-08-14 11:44 ` erik quanstrom
2006-08-14 18:53   ` Axel Belinfante
2006-08-14 18:57     ` erik quanstrom
2006-08-14 19:30       ` "Nils O. Selåsdal"
2006-08-14 18:04 ` Sascha Retzki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).