| Summary: | xsession data not saved | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Philip Ashmore <contact> |
| Component: | tdebase | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | NEEDINFO --- | ||
| Severity: | normal | CC: | bugwatch, contact, michele.calgaro |
| Priority: | P5 | ||
| Version: | R14.1.x [Trinity] | ||
| Hardware: | amd64 | ||
| OS: | Debian Buster | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
|
Description
Philip Ashmore
2019-06-09 22:38:37 CDT
It just happened again :( More information: it happened before my upgrade to Buster too. Hi Philip, I have been using TDE on buster for long time and I have no issues with session saving and restoring. The only exception is Kate if you are using TDE R14.1.0-DEV: there is a known bug and the settings of the last sessions are not saved if you logout of TDE without first closing Kate. What version of TDE are you using? Perhaps it is something in your settings?? Curious - I didn't get notified of your comment. Anyway, I noticed that the "show find in files" shortcut was missing in Kate. So I entered the "Settings->Configure Shortcuts..." dialog, tried to set the shortcut and kate and tde would lock up, requiring Ctrl-Alt-Backspace = kill X-server. I continued hunting down the file that stored the shortcuts and found ~/.trinity/share/config/katerc but just now I took a look in ~/.trinity/share/config/session/ and found multiple files for kate and some other programs. I deleted the older ones and now I succeeded in setting the shortcut :) I'm going to log off and on to see if that fixed things. Worked :) Icon border and line numbers are restored too! Konsole's good too! Let's see if it sticks! Back from the shops, powered on, kate on default session, konsole returned to defaults ( 1 session, default schema) - not the 5 I set up with the "paper" schema. Is there any environment variable or setting I can use to log session save + restore function? Hi Philip, > So I entered the "Settings->Configure Shortcuts..." dialog, tried to set the shortcut > and kate and tde would lock up, requiring Ctrl-Alt-Backspace = kill X-server. This is a known bug (see bug 2955). If you press Esc a sufficient number of times, you should be able to avoid killing X server. In fact, with some patience you could even set the desired shortcut properly. What options do you have in TCC -> TDE Components -> Session manager? Just now, I powered on my computer. Konsole's running, one session instead of 5, white background instead of paper. Kate's using the default session instead of the last used. Chrome stated that it didn't shut down correctly and asked me if I wanted to restore pages. Session Manager --------------- General->(all selected) On login->Restore previous session Default Shutdown Option->End current session Advanced->Applications to be excluded from sessions:->(empty) I didn't know about kate running when ending a session was a problem, is there a bug report for that? Sounds like a possible culprit to me. I like to have two kate sessions with me and 5 konsole tabs. Evince doesn't remember last opened files. Sometimes my konqueror windows aren't restored. I even had all my start menu additions disappear once. Hi Philip, the options in Session Management seems ok. Not sure why your sessions are not preserved correctly, I have had no issues in buster for long time. Have you tried creating a different account and see what happen? Regarding Kate, the problem is only on R14.1.0-dev version, not R14.0.x. There is bug 2491 for that, see comment 5. Anyhow as long as you close Kate before closing your TDE session, Kate sessions are saved correctly too. Evince is not a TDE application, so I am now surprised it does not remember its status across sessions. I don't know if it's a factor, but I accidentally installed progress-linux - I thought it was some sort of progress indicator some package needed. On autopilot I enabled its repository and before I knew it, it had replaced bash, dirmngr, fdisk ...maybe 80 packages total. Today I made a concerted effort to remove them, which succeeded. As far as evince, it remembered its last opened filed before my Buster upgrade. I think the panel I set up to monitor wifi packets in ksysguard stopped working before Buster - it used to work. I'm not happy about closing Kate every time I shut down, it used to just work. My experience with session management tells me that there should be some way to record the operations and their outcome. I had a brief look at the source but couldn't find what actually goes through the programs to save session data and what restores them, any hints? Oh yeah, I created a new account directory for my account. Hi Philip, as I said, the Kate behavior is a bug and will get fixed, it is already in the R14.1.0 bug list. For the time you will have to live with that, I guess. If you use a single session, you can just save the session from the session panel, then no need to even close Kate. |