CVS domivogt: * Clarified description of scroll command.

2006-06-01 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm
Module name:fvwm
Changes by: domivogt06/06/01 17:55:46

Modified files:
fvwm   : fvwm.1.in 

Log message:
* Clarified description of scroll command.




Re: bug in the 'Scroll' command

2006-06-01 Thread Dominik Vogt
On Thu, Jun 01, 2006 at 07:21:35PM +0400, Serge (gentoosiast) Koksharov wrote:
   Hello,
 
  It looks like I found bug in 'Scroll' command. Excerpt from manpage:
 
   If  the  horizontal  and  vertical percentages are multiplied by
   1000 then scrolling wraps around at the edge of the desktop.  If

  Scroll 10 0
   
   is executed over and over fvwm moves to the next desktop page on
   each execution and wraps around at the edge of the  desktop,  so
   that every page is hit in turn.
 
 This example works. But now try, for example, command 'Scroll 5 0'.
 In this case fvwm should move to the half of the next right desktop
 page. But as a matter of fact it moves to the extreme right page. So it
 obviously a bug.

Actually, any value smaller than 10 can not wrap anyway
because it does not go far enough across the screen edge.

But the real reason why values between 1000 and 9 do not wrap
is that the code has to cope with values given in pixels, e.g.
1280p.  With the current syntax it is not possible to code a
properly working Scroll command.  Instead we should have
additional options to activate wrapping, e.g.

  Scroll 100 0 wrapx
  Scroll 200 150 wrapy

with values = 10 still triggering wrapping for compatibilty.
I've clarified this in the man page for now.

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: bug in the 'Scroll' command

2006-06-01 Thread Serge (gentoosiast) Koksharov
On Fri, Jun 02, 2006 at 01:02:27AM +0200, Dominik Vogt wrote:
 Actually, any value smaller than 10 can not wrap anyway
 because it does not go far enough across the screen edge.

I wished using these keybindings:

Key DownA 4 Scroll 05000
Key Up  A 4 Scroll 0-5000
Key LeftA 4 Scroll -50000
Key Right   A 4 Scroll 5000 0

to conveniently navigate via pages with small steps and incrementally
wrap when I hit the edges of desktop. But it looks with current state of
things it is unpossible to do so.

 Scroll command.  Instead we should have additional options to activate
 wrapping, e.g.
 
   Scroll 100 0 wrapx Scroll 200 150 wrapy

OK, understood. Hope it will be implemented sometime.

 I've clarified this in the man page for now.

Thanks, now it will not confuse someone else.

-- 
Serge Koksharov, Free Software user  supporter
GPG public key ID: 0x3D330896 (pgp.mit.edu)
Key fingerprint: 5BC4 0475 CB03 6A31 0076  82C2 C240 72F0 3D33 0896




CVS domivogt: * Reformatted.

2006-06-01 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm
Module name:fvwm
Changes by: domivogt06/06/01 19:32:16

Modified files:
fvwm   : fvwm.1.in 

Log message:
* Reformatted.