[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: windows visual preferences messed up after log-in



On Thursday, January 14, 2021 2:20:21 PM CET Sandro Knauß wrote:
> Hi,
> 
> Using sid.
> 
> > Every times I open Kmail, the "list" part of the main window, "subject",
> > "senders", "date", are crammed to the left. Just to the point you can't
> > read anything meaningful. For instance all subjects are restricted to
> > "Re:...".
> I only see this issue sometimes when I plug an external monitor than restart
> without the monitor available.
> 
> > But the main point is, mouse-sliding the column separators, works only
> > until you close the window: every time it is closed and then opened back
> > again, the modifications I made to the column width are lost, and
> > everything is again in its unreadable configuration.
> > 
> > Every times I open Kmail after logging, it opens in full-screen. I could
> > force it with "special window setting", but that's not the point. Of
> > course
> > I mouse- change the geometry, but each times it re-open full screen.
> 
> This works for me. I also did another try the size of Kontact in general and
> also the columns width is restored correctly. Maybe you need to remove your
> current session to restart with a fresh one. I have different session
> artifacts, like apps get started again and again, but I also close them.
> > I usually have two konsole windows. One of them is restored correctly but
> > not the other one. That point might be related to my using two monitors,
> > though.
> 
> I cannot reproduce, as I don't have two monitors attached to my computer.
> 
> > There is the poor session tab management of okular, which "could" be
> > related, or not  (https://bugs.kde.org/show_bug.cgi?id=335852).
> 
> Don't use okular that much, so I normal don't have okular open when
> restarting.
> 
> > All those points really hinder the usability of the desktop, because, when
> > you have papers arranged on you desk, you expect them to be at the same
> > place when you come back the next day. You are not supposed to spend half
> > an hour to carefully put every paper in some drawer, and writing a very
> > complicated note to yourself, and the next day spend a similar amount of
> > time, reorganizing your desk.
> 
> Please search for upstream bugs and if there are non please create them
> https://bugs.kde.org.  I would place them at ksmserver, as it is mostly
> likely that this has the issues.If there are patches we can backport them
> to Debian.

Well, thanks a lot. I've been investigating the line of old session files, 
removing all that could easily be removed, and still in the process of looking 
into the others.

I've found that line that actually forces session saving:

```
qdbus org.kde.ksmserver /KSMServer 
org.kde.KSMServerInterface.saveCurrentSession
```

And it works, in that there is a `~/.config/session/okular_10df6-blah-blah` file 
created.
And that this file contains:

```
[1]
ActiveTab=0
Urls[$e]=file:$HOME/file1.pdf,file:$HOME/file2.pdf

...
```

I'll also investigate in the line of: https://bugs.kde.org/show_bug.cgi?
id=403848

If you do a log-out, with okular multiple tabs: logout process is actually 
interrupted. Until the time you click "yes", I do want to close all okular 
tabs. If you answer cancel to that dialog box, the log-out is stopped.

If instead it's a reboot, you have the same visual, but after a while the 
reboot wins the battle.

However that doesn't seem like sound at all. Like, at what point is the 
session saved, before or after okular is closed, or tabs are closed.

I'll keep you informed.

> 
> Regards
> 
> hefee





Reply to: