Bug 429134 - Kmail doesn't remember window position after session restore
Summary: Kmail doesn't remember window position after session restore
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: 5.15.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-15 09:43 UTC by Matthias Mueller
Modified: 2020-11-17 15:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Mueller 2020-11-15 09:43:36 UTC
SUMMARY

I use session restore on reboot and usually have kmail on the right half of my second monitor. After boot, kmail is opened in the top left corner of the main screen. Exiting Kmail and starting it (or closing the window and opening it from tray) works fine, the issue only occurs on boot. I'm not sure if its a kmail or kwin/plasma issue, but i only observed this behaviour on kmail yet.

To make matters worse, window rules don't work properly for kmail (i tried "apply on initialization" for position and size) - reported in https://bugs.kde.org/show_bug.cgi?id=381257


STEPS TO REPRODUCE
1. position kmail main window to your hearts content 
2. reboot with option "restore session" active
3. observe wrong placement of kmail main window

OBSERVED RESULT
Kmail is positioned in the top left corner of the main screen

EXPECTED RESULT
Kmail should be where it was on shutdown

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro testing
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Comment 1 Matthias Mueller 2020-11-17 15:05:08 UTC
I have to add to that report - it seems that Kmail now remembers the position it had when exiting kmail through the tray. So that might be a workaround if someone encounters the same problem :)