Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31187 - gnome session forgets xterm position & size
Summary: gnome session forgets xterm position & size
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-15 04:16 UTC by Shevek
Modified: 2004-03-01 08:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shevek 2003-10-15 04:16:09 UTC
While gnome is quite happy to restore all my xterms after a logout/login, there are two minor faults.

1) They're all on desktop 1 (annoying). Well, all my windows are on desktop 1.

2) They all think they're 80x25. They're restored to correct size, but any applications run in them come up 80x25 until the first time the window size is changed (intriguing).
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2003-10-29 02:19:21 UTC
what window manager are you using ?
Comment 2 Shevek 2003-11-04 06:36:09 UTC
metacity, as per default.
Comment 3 foser (RETIRED) gentoo-dev 2003-12-07 09:45:39 UTC
i can't reproduce it, it does get the xterm position & size ok here.

I heard some people reporting problems with the gnome-session file after a recent upgrade. They had to remove their session file and create one from scratch to get it to work correctly again. Maybe you could try that. Remove ~/.gnome2/session when you are not inside your session and see if it helps.
Comment 4 Shevek 2003-12-07 10:15:20 UTC
The session file doesn't contain any geometry information! How on earth is it to know where the window is supposed to be, let alone which virtual desktop it's supposed to be on (argh, why the hell doesn't metacity just use viewports?)

6,id=1016ecbb7d000106892963900000081450006
6,Program=xterm
6,CloneCommand=xterm -fn 7x14 -rv -sl 2048 
6,RestartCommand=xterm -xtsessionID 1016ecbb7d000106892963900000081450006 -fn 7x14 -rv -sl 2048

I will try removing the session file sometime. But I don't see where the geometry information is supposed to be.
Comment 5 foser (RETIRED) gentoo-dev 2003-12-30 09:57:31 UTC
any word on this ?
Comment 6 Shevek 2003-12-30 12:05:33 UTC
Well, nothing's changed, and it still doesn't work...

I can't see anywhere that the geometry information is even stored, never mind restored. It certainly isn't in the session file.
Comment 7 foser (RETIRED) gentoo-dev 2004-02-29 08:24:02 UTC
I think you are correct after all. Now i reread all of this it's probably a session<->metacity thing, session is only aware of gnome apps i think and the wm should keep track of size/location, but metacity is too lightweight to do so (although metacity session stuff does seem to store some size/location info).

I'm going to close this LATER, because these are likely upstream problems/features(?) and we need to get our bugcount down and don't have the time to look into this. If you come to some improved insights in this, please do let us know.

I'm sorry for all the delays here.
Comment 8 Shevek 2004-03-01 00:51:56 UTC
Closing bugs just to get the bug count down is not a valid strategy. This is still a bug. Perhaps WONTFIX is a better resolution?
Comment 9 foser (RETIRED) gentoo-dev 2004-03-01 08:59:43 UTC
No, I do think this might be a bug to some extent (it may as well be default session/wm behaviour), although not of great importance. Wontfix means we don't want to fix it, later means we want to fix it if a solution pops up/we have time to look at it.