Re: FVWM: Move glitch

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Sat, 23 Feb 2002 00:28:25 +0100

On Fri, Feb 22, 2002 at 11:04:36PM +0000, Mikhael Goikhman wrote:
> On 22 Feb 2002 23:14:27 +0100, Dominik Vogt wrote:
> >
> > On Tue, Feb 19, 2002 at 12:23:59PM +0100, Marcus Lundblad wrote:
> > > I found a small "glitch" in the way the Move command works.
> > > If I initiate a Move operation using keyboard shortcuts and then start
> > > moving a window to the right, it goes on beyond the screen edge. I let go
> > > at say co-ordinate 3000, then immediatly as I let go the window "snaps
> > > back" to the position it would have been if I moved it using the mouse as
> > > far as possible to the right.
> > >
> > > I'm not sure if this is the intended behaviour.
> >
> > No, of course not. For me, it works fine. Which version did you
> > test? Can you give me a minimal config file and exact
> > instructions please?
>
> Dominik, fire Move, hold Shift-rightarrow for some time, press Enter.
> The window comes back to the last switched (during Move) page and its
> position depends on the pointer relatively to the window before Move.

Nope, still works fine for me. Probably it has something to do
with the coinfiguration. The window is placed exactly in the
place indicated in the pager.

> Another point. When the pointer switches from, say, page (0, 0) to page
> (1, 0) the window may be moved to some position inside the second page
> (while holding right arrow), but when the current page is switched after
> EdgeResistence milliseconds the window jumps back to the start of the
> page. Best seen what happens in the pager.

That's what I intended the code to do. When I modified this code
a few weeks ago, my goal was to keep the window in the same
position relative to the pointer even when flipping pages. This
can have the unpleasant side effect that the window moves
backwards after flipping pages. This should go away if you
disable the EdgeResistance. I didn't take into account that you
can continue moving the window while the pointer is already over
the pan frame, but I think the current way is perfectly
acceptable. The alternative would be to forbind moving the window
over the edge without page flipping, but I see no need to enforce
this.

> I really don't know how it _should_ behave correctly with all these page
> switchings during the Move. Pretty complicated.

Yup.

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Feb 22 2002 - 17:27:45 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST