Re: FVWM: Console switch zaps Fvwm2 colors

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Wed, 07 Feb 2001 21:59:16 -0500

Perry Hutchison <phutchis_at_beaverton.windriver.com> writes:
> > > Hey everyone. I am having a problem with using various consoles on my
> > > Mandrake 7.1 box. As anyone who uses Linux may know, you can switch
> > > consoles with ALT-(F1-F7), with console 7 being the Xserver console.
> >
> > Ctrl-Alt-F1 is processed by X Server (some on this list previously said
> > this is processed by the kernel without X Server even knowing, but I don't
> > think so). Anyway this has nothing to do with a window manager.
>
> Ctrl-Alt-Fn has to be handled mostly by the kernel, because it works
> on a machine where X is not even installed.

I believe thats correct, the VT switching stuff is in the kernel.
It works different when X starts on a VT because X changes the display
mode.

> > > Anyway, I noticed that when I switch the console, then switch back,
> > > the color scheme is gone. All windows, menus and other backgrounds
> > > are black. Only some borders and shadings can be seen - none of them

Is the entire screen's colormap bad, including the background?

> > > are the correct color. Can this be fixed with a config? I seem to
> > > have to reset the Xserver to get it working again. This does not
> > > happen with KDE. Is there another way to fix it without logging out?

> > > I usually have to use Ctrl-Alt-F* to get from F7 to another console,
> > > then just Alt-F* to choose another.

Are you saying that repeating the C-A-F* sequence fixes the problem?
Just above you say you have to log out.

> Based on the OP's description, I suspect something in that chain
> is failing. Since he said it worked OK with KDE, it seems that
> this communication path works:
>
> kernel --reactivate--> X server --restoreColormap--> KDE WM
> --installColormap--> X server --installColormap--> display driver
>
> however it fails when KDE WM is replaced with FVWM. It may not be
> an FVWM bug, but FVWM is somehow a factor.

This reasoning seems sound.

Since fvwm works on lots of Mandrake 7.1 boxes something else
is involved too.

I believe that the VT switching logic is responsible for restoring the
screen image. I don't think fvwm is notified.

Not that I have any idea what the problem is.

Maybe the visual fvwm is using?

Can we see the output from xdpyinfo?

Which fvwm release is this?

--
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
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 Wed Feb 07 2001 - 21:03:38 GMT

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