On 25.02.2012 21:45 (UTC+1), Doug Barton wrote:
On 02/25/2012 05:33, Rainer Hurling wrote:
Doug,
thank you very much for the clang run and the new patch. I removed
your older patch, commented out the two lines in Makefile and put
this patch under files. It patches, builds and installs fine.
I am sorry, but there is no change in the behaviour of restoring old
sessions. I am not able to restore sessions, which obviously were
saved before in WMState.
I am wondering, if the next step should be to debug the whole part
(of restoring), beginning with a bp somewhere in src/startup.c? But
I have almost no experiences with that.
Rainer
I wonder if its something outside of wmaker that is causing the trouble.
I also thought about this possibility. At least for one of my boxes,
because on two other boxes all is fine now. But I really have no idea.
Can you clarify the situation for me? You have 3 systems total running
windowmaker, and 2 of them work, but 1 of them still doesn't? If that's
the case, have you tried the "move ~/GNUstep out of the way" trick on
the box that still doesn't work? I found in my testing that if I have
anything weird in the dock or clip that the whole restoration process
aborts.
Ok, on the box where I am not able to restore I removed ~/GNUstep and
copied it from a working box. This did not bring back the restoring
capability. I tried with clear session, save session etc.
If that doesn't work the next step would be for you to build it with
that line you found in startup.c completely out of the picture. In other
words, make the restoration command run unconditionally. If *that*
doesn't work there is a deeper problem somewhere.
Hope I understand right. I commented out line 764 of src/startup.c and
build and install afterwards. Now I am able the restore saved sessions
in every constellation. I can start and exit windows and docks and, when
saving, they come back at the next start.
So it seems there is definitely something odd with
wPreferences.flags.restarting or wPreferences.flags.norestore on FreeBSD?
Thanks again,
Rainer
hth,
Doug
--
To unsubscribe, send mail to [email protected].