Re: Screen placements wrong in saved settings



On 30 Apr 2001 10:50:37 +0100, Telsa Gwynne wrote:
> On Sun, Apr 29, 2001 at 10:48:40PM -0400 or thereabouts, Edward C. Jones wrote:
> > I keep a GNOME terminal window at the far upper left hand corner of the screen.
> > If I "save current setup" when exiting X then reenter X, the terminal windows
> > are shifted down and to the right by exactly the width of the border of the
> > window. What is happening?
> > 
> > I use Redhat linux on a PC. The problem occurs under both RedHat 6.2 and 7.1. A
> > small piece of a screen grab is attached.
> 
> This again :(
> 
> See also: 
> 
> http://mail.gnome.org/archives/gnome-list/2000-November/msg00527.html
> (and if it makes no sense, then
> http://mail.gnome.org/archives/gnome-list/2000-November/msg00540.html 
> too)
> 
> I would add the description and screenshot to bugzilla, where there's
> at least one example of this already. Either put it in
> http://bugzilla.gnome.org/show_bug.cgi?id=33753
> or create a new bug and specifically mention that bug so someone can
> mark them as duplicates or something. Include the OS/version of GNOME
> and the window manager, so that can be ruled out (since I am using a
> different one, I think it's gnome-terminal's fault).
> 
> It drives me nuts, personally. 

The reason/cause/whatever:

Something (which will be determined later) is storing the gnome-terminal
origin as being the gnome-terminal X window (the bit inside the frame).
Then when the window manager gets told these co-ords, it makes them the
origin of the frame. This is why the x and y offset is the same
width/height of the top and left borders of the frame.

Now, the problem is what is doing this. Is it gnome-terminal saving the
wrong coords, then trying to set them after startup which makes it go
screwy, or is sawfish doing it wrong? I'm going to say it's
gnome-terminal in which case, why is gnome terminal storing it's window
settings anyway, as this (is|should be) a window manager function?

The solution: 
If it is gnome-terminal then the solution is either
a) G-T does the right thing and leaves window management up to the
window manager (duh)
b) G-T gets the right coords for its position and stores them.
If it's the window manager broken, then *shrug*, I dunno. :)

Workaround:
Use your window managers "Remember this windows position" function. It
seems to have worked for the terminals I've set up.

i





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