Saved a session with 14 gnome-terminals on 8 workspaces. The gnome-terminal RestartCommand is truncated. It is 2069 chars, and ends with "Terminal,--working-dire".
Fixes in CVS, thanks.
This is not fixed in RC1. I just installed it about an hour ago, recreated the situation shown below. Exited and saved the new session. Could not see any difference from before. The session still does not restore properly. Terminals have moved desktops, the RestartCommand is still truncated.
Can you do a grep LINE_MAX /usr/include/*.h /usr/include/*/*.h please.
Created attachment 106 Result of requested grep
Ah, ok, your system headers already set LINE_MAX and in our code we had #ifndef LINE_MAX #define LINE_MAX 8k #endif which of course explains why you still have the same problem. :-) I changed it to #ifdef LINE_MAX #undef LINE_MAX #endif #define LINE_MAX 8k So, it should be finally fixed.
Please tell me which file that is, so I may check it without using CVS.
xfce4/libxfce4util/libxfce4util/xfce-rc-simple.c
Thank you. That is where I made the change. That fixes the truncation. However, the session does not restore the same as it was when saved. Should I open a new bug for that, or continue with it here? Technically, the truncation has been fixed, so this is really a different issue. In either case, I'll try to give you a way to reproduce the problem.
Please file a new bug.