[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Chromium jumps to any workspace it likes.......



On Thu 04 Aug 2016 at 23:17:08 (+1000), Charlie wrote:
> On Thu, 04 Aug 2016 07:29:23 -0500 John Hasler sent:
> 
> > Programs do sometimes open in other viewports......
> 
> 	After contemplation, my reply is:
> 
> Until now, I have never had a program open in a different viewport from
> where it was opened, unless...........
> 
> Brought up and clicked on a program and before it could open, moved my
> mouse cursor onto a different viewport and/or desktop before the
> program/package had opened.

Yes, that's normal behaviour. It is, of course, a race because you
might not make it all the way to the desired location.

Sometimes fvwm can get tripped up itself. When I start X, I map
22 xterms on the 20 pages (xterm terminology). Occasionally, the first
xterm will map on Page: 0 0 before fvwm has managed to switch to
Page: 4 3 (I map them in turn from bottom right to top left).

The tool that allows me to map so many so quickly is xtoolwait, for which
I still have to run the squeeze version.

> So after opening a program on a viewport that I had just had another
> program finish opening. I would click on another program, and before it
> opened, move the cursor to the desktop and viewport where I wanted it to
> open and click on it, and it would open in that location. However, that
> is by design. It opened exactly where required.

That sounds as if you're using    Style * ManualPlacement
which requires you to click to place the window when its frame
appears (tethered to the cursor). I used to use that years ago but
prefer   Style * TileCascadePlacement   nowadays.

Applications can dodge being placed manually if thy specify their
own geometry specifically.

But I thought I would point out one detail in the workaround I gave.
In the lines

+ I All ('*Mozilla Firefox*') PipeRead '/bin/cat ${HOME}/.fvwm/move-firefox'
+ I All ('*Chromium*') PipeRead '/bin/cat ${HOME}/.fvwm/move-chromium'

the string is a pattern, so the asterisks at each end allow for the
frequent changes in the Window Title that occur as you navigate
the web. (You probably only need to first *.)

Cheers,
David.


Reply to: