After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163335 - Remember sticky-state for each folder
Remember sticky-state for each folder
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
2.19.x
Other All
: Normal minor
: ---
Assigned To: Christian Neumair
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-08 14:38 UTC by rodja trappe
Modified: 2007-09-03 10:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Proposed patch (4.71 KB, patch)
2007-09-02 10:28 UTC, Christian Neumair
committed Details | Review

Description rodja trappe 2005-01-08 14:38:08 UTC
Each application should remember it's sticky-state. This means if i says
Metacity to "keep window on all workspaces", it would be nice to keep this over
the start/close periode.

This is especially importand for Spatial Nautilus.

Other information:
Comment 1 Elijah Newren 2005-01-08 18:16:27 UTC
Um...  stickyness is one of the things that is saved in the session.  Can you
provide some exact steps to show a circumstance under which it isn't restored
properly?
Comment 2 rodja trappe 2005-01-08 18:27:34 UTC
Ok. I think it's not enough to store it beween sessions. It shoud be stored
imidently.

Try this:
1. open spatial Nautilus and browse to some location (eg. ~/music)
2. set window-state  of the folder to sticky
3. close the folder
4. browse again to the folder
5. change workspace

You will see: it's not sticky anymore. This breaks the spatial metaphor of the
folder.
Comment 3 Elijah Newren 2005-01-08 18:39:52 UTC
Metacity can handle remembering sticky for apps that get hidden by being
minimized or whatever, and has extra info added to be able to restore a session,
but one can't expect Metacity to store all previous windows that ever existed
and try to recognize new windows that happen to be the same as previous ones and
apply all the same properties...  and in many cases, that wouldn't be wanted anyway.

So, this needs to be reassigned to nautilus.
Comment 4 Havoc Pennington 2005-01-08 20:49:50 UTC
This is just a dup of the "window history" bug. Though yes, right now the answer
is that nautilus needs to do it.
Comment 5 Christian Neumair 2007-09-02 10:28:40 UTC
Created attachment 94802 [details] [review]
Proposed patch

This patch should make spatial and navigation windows remember their sticky and keep above state across sessions.
Comment 6 Christian Neumair 2007-09-02 10:30:37 UTC
Discussion: http://mail.gnome.org/archives/nautilus-list/2007-September/msg00003.html
Comment 7 Christian Neumair 2007-09-03 10:41:46 UTC
Committed, fixed, closing. Thanks.