Bug 317119 - Application window's position and size not restored after an unconditional reboot/shutdown
Summary: Application window's position and size not restored after an unconditional re...
Status: RESOLVED WORKSFORME
Alias: None
Product: ksmserver
Classification: Plasma
Component: general (show other bugs)
Version: 4.9.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-21 09:50 UTC by sphakka
Modified: 2020-03-01 04:33 UTC (History)
2 users (show)

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 sphakka 2013-03-21 09:50:39 UTC
Restoring application's window position/size in the workspace (virtual desktops & Co.) works haphazardly across *unconditional* system reboots/shutdowns. Sometimes windows are correctly placed at their original position and size; sometimes they're all placed in the first virtual desktop at a default window size.

This might be related to Bug 62157, though it covers a specific case.

FYI, this is KDE-4.9.5 -- Gentoo Linux.

Reproducible: Sometimes

Steps to Reproduce:
1. Configure session manager to restore the previous session  
2. Do an unconditional shutdown/reboot
3. Reboot
Actual Results:  
Application windows are sometimes all restored to the first virtual desktop at a default window size and default position.

Expected Results:  
Application windows should be restored to their last-seen virtual desktop, size and position.
Comment 1 Jekyll Wu 2013-03-21 12:44:55 UTC
> 2. Do an unconditional shutdown/reboot

What does "unconditional reboot" exactly mean here ?  "# shutdown -r now" ?
Comment 2 sphakka 2013-03-21 14:51:18 UTC
I mean "without confirmation", as triggered by the following keyboard shortcuts in "~/.kde/share/config/kglobalshortcutsrc"

[ksmserver]
Halt Without Confirmation=Ctrl+Alt+Shift+H,Ctrl+Alt+Shift+PgDown,Halt Without Confirmation
Reboot Without Confirmation=Ctrl+Alt+Shift+R,Ctrl+Alt+Shift+PgUp,Reboot Without Confirmation
Comment 3 Mike Morris 2013-10-24 07:41:55 UTC
Confirming that I see the same behaviour on 
Qt: 4.8.4
KDE Development Platform: 4.11.2
KWin: 4.11.2
(Kubuntu 13.10)

Persistence of window geometry is generally all screwed up.
Comment 4 Andrew Crouthamel 2018-11-10 03:17:19 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-11-20 04:09:34 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Nate Graham 2020-01-31 22:17:25 UTC
I don't see this in Plasma 5.17. Do you?

Well, let me clarify that: I don't see this for window size. Window position restoration is broken due to Bug 415150. Can you reproduce the issue for window size?
Comment 7 Bug Janitor Service 2020-02-15 04:33:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2020-03-01 04:33:13 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!