Originally posted by woodsmoke
View Post
Announcement
Collapse
No announcement yet.
What woodsmoke thinks an "activity" "should" do.
Collapse
This topic is closed.
X
X
-
Hi dequire!
That is, indeed, a VERY good analogy, now if I could just get it to work! lol
But, it is INDEED a great analogy.
This is the kind of information that should go into the proposed "first time use widget".
woodsmoke
- Top
- Bottom
Leave a comment:
-
Woodsmoke: thought you might find this post useful: The analogy re: going to a different room is the best I've seen so far...
https://lists.ubuntu.com/archives/ku...il/056153.html
- Top
- Bottom
Leave a comment:
-
I think Firefox handles it own state management in its profile (disk folder). If you don't override the profile Firefox is using, it will open a single default app instance of Firefox and then see what the profile says.Originally posted by rms View PostHeh, I wonder how Firefox manages to restore it's state since it is a gtk app and probably doesn't use or inherit KMainWindow class?
One thing it doesn't know or care about, in my experience, is having multiple windows on different virtual desktops or activities. If you closed with multiple windows (and have preferences set to reopen closed tabs and windows), they will all open in the current virtual desktop & activity.
- Top
- Bottom
Leave a comment:
-
Thanks, it seems that it doesn't
at least the last time I fiddled with it.
- Top
- Bottom
Leave a comment:
-
gtk seems to support session managment though I don't use gnome so wouldn't know how it works for them.Originally posted by rms View PostIt's odd... because I haven't noticed that Gnome 3 supports restoring sessions, yet.
- Top
- Bottom
Leave a comment:
-
kde and qt aren't the only two tool kits that support this ^^ any decent tool kit shouldOriginally posted by rms View PostHeh, I wonder how Firefox manages to restore it's state since it is a gtk app and probably doesn't use or inherit KMainWindow class?
- Top
- Bottom
Leave a comment:
-
Heh, I wonder how Firefox manages to restore it's state since it is a gtk app and probably doesn't use or inherit KMainWindow class?
- Top
- Bottom
Leave a comment:
-
woodsmoke, my point was that most applications (haven't used libre office in a while so can't say if it can, but it would surprise me if it didn't) can already save their state, although this is normally invisible to the end user and is triggered when the session manager (ksmserver for kde) tells that application to quit (rather then having a button the user can click). You shouldn't need to script anything and unfortunately if the application dosn't support this already then it would be fairly hard to write a wrapper script to enable it to. The best bet in that situation would be to file a bug report and possibly write a patch to fix it.
- Top
- Bottom
Leave a comment:
-
James147
That was all VERY interesting, all sorts of flow charts, and pie charts ( I just love pie, especially Key Lime ) and scripty things. I completely understand what is needed to be done except, since I'm not that bright, I just don't know "how" to do it!
I looked around in Libre Office to see if there is a clickable button to have it "save session" but nothing that I obviously saw.
There is discussion that the whole "window" has to be made aware to save the session.
I assume, from the second link, that we are to make a script.
Well, one can do that in Gedit, but I have no clue, since I'm not into all those scripty things.
So I think it would be particularly helpful if someone could actually write out a script that would save and reopen a PARTICULAR application, not just a generic "oh, just do this".
Then some old doof like me could actually do it in Gedit or something and save it and try it out.
Unless, of course, there is a button to click "someplace"....much easier! lol
woodsmoke
- Top
- Bottom
Leave a comment:
-
When you logout (or, now stop a activity) kde (or more specifically ksmserver) stops the applications and asks them to save their state. When you next login (or start an activity again) kde starts the applications and asks them to resume the last state they where in. It is aware of different instances of applications (so if you have two windows of the same application open, it will run two instances of that program and restore both sessions correctly).Originally posted by woodsmoke View PostCould you please expand on this a little?
But support for this needs to be added to the application, which is very easy to do in kde so most kde applications take advantage of this.
See here for more information as well.
- Top
- Bottom
Leave a comment:
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Leave a comment: