Announcement

Collapse
No announcement yet.

What woodsmoke thinks an "activity" "should" do.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • dequire
    replied
    Originally posted by woodsmoke View Post
    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
    Agreed!

    Leave a comment:


  • woodsmoke
    replied
    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

    Leave a comment:


  • dequire
    replied
    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

    Leave a comment:


  • rms
    replied
    Originally posted by woodsmoke View Post
    thanks for the linky rms but it is down.

    woodsmoke
    Yes, must be maintenance, this morning the site was online.

    Leave a comment:


  • woodsmoke
    replied
    thanks for the linky rms but it is down.

    woodsmoke

    Leave a comment:


  • SecretCode
    replied
    Originally posted by rms View Post
    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?
    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.

    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.

    Leave a comment:


  • rms
    replied
    Thanks, it seems that it doesn't at least the last time I fiddled with it.

    Leave a comment:


  • james147
    replied
    Originally posted by rms View Post
    It's odd... because I haven't noticed that Gnome 3 supports restoring sessions, yet.
    gtk seems to support session managment though I don't use gnome so wouldn't know how it works for them.

    Leave a comment:


  • rms
    replied
    It's odd... because I haven't noticed that Gnome 3 supports restoring sessions, yet.

    @woodsmoke

    Regarding LibreOffice, make session support your wish cause it seems feasible.
    Last edited by rms; Apr 20, 2012, 06:05 AM.

    Leave a comment:


  • james147
    replied
    Originally posted by rms View Post
    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?
    kde and qt aren't the only two tool kits that support this ^^ any decent tool kit should

    Leave a comment:


  • rms
    replied
    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?

    Leave a comment:


  • woodsmoke
    replied
    thanks very much james147

    woodsmoke

    Leave a comment:


  • james147
    replied
    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.

    Leave a comment:


  • woodsmoke
    replied
    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

    Leave a comment:


  • james147
    replied
    Originally posted by woodsmoke View Post
    Could you please expand on this a little?
    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).

    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.

    Leave a comment:

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X