Announcement

Collapse
No announcement yet.

Window size and position forgotten on reboot

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Post-Install] Window size and position forgotten on reboot

    On 24.04 when I shut down with windows open (various messaging apps and Konsole) they would all reopen in their last used size and position and Konsole would remember how many panes it was split into. I had (and still do have) "on login, launch apps that were open on last logout".
    Now the windows all land in the middle of the primary monitor rather than where I left them, Konsole also only opens with a single pane.
    Any ideas how to restore the behaviour back to what I used to get?
    My upgrade was done in place and, beyond a couple of third party apps I had to reinstall (not an issue), all went smoothly

    Edit
    Have just tried a clean install, on an old laptop, and the behaviour is the same
    Last edited by Boots; Nov 25, 2026, 11:18 AM.

    #2
    To be clear, you were running a version of Kubuntu prior to 26.04 and all behaved correctly, but after upgrading to 26.04, things don't behave correctly, yes?
    Slava Ukraini! πŸ‡ΊπŸ‡¦
    Windows no longer obstruct my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes​

    Comment


      #3
      please post output of these
      Code:
      plasmashell --version
      Code:
      konsole --version
      Code:
      echo $XDG_SESSION_TYPE​
      we're you on X11 on 24.06 , and now on wayland?
      ▁ β–‚ β–„ β–… β–† β–‡ β–ˆ α„‚IПЦX FΣ¨Π― α„‚IFΞ£ β–ˆ β–‡ β–† β–… β–„ β–‚ ▁

      Comment


        #4
        Originally posted by Boots View Post
        Now the windows all land in the middle of the primary monitor
        ​

        Originally posted by die.boer View Post
        we're you on X11 on 24.06 , and now on wayland?
        This is the exact thing here., 100%.

        Wayland doesn't have proper session restore because of all the usual bikeshedding, and other BS getting all the desktops and relevant projects to agree on how to do stuff.

        It is close-ish now, in Plsma 6.8, now that they did settle on a spec for things.

        Unfortunately, Plasma 6.6 is lacking in this area, so adding and using an x11 session will be needed here.
        Self-built: Asus PRIME B550M-K/Ryzen 5600GT/32Gb/Intel ARC B580 12Gb/KDE neon
        HP Elitedesk 800 G3 Mini: i5-7500T(35w)/32Gb/Kubuntu LTS
        HP Chromebook 14: i5-1135G7/8Gb/512Gb SSD/KDE Linux​

        Comment


          #5
          plasmashell --version
          plasmashell 6.6.7

          ​konsole --version
          konsole 25.12.3

          ​echo $XDG_SESSION_TYPE​
          wayland​

          ​24.04 was working fine, for window placement etc. it was running X11

          Comment


            #6
            You will want to switch back to using Plasma (X11). If you haven’t already done so, you need to install plasma-session-x11​, then log out and at the SDDM Greater login screen, choose Plasma ( X11).
            Slava Ukraini! πŸ‡ΊπŸ‡¦
            Windows no longer obstruct my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes​

            Comment


              #7
              Code:
              sudo apt update
              Code:
              ​sudo apt install plasma-session-x11
              Is the commands to get x11 , then log out/in ,choosing x11 at ssdm
              Last edited by die.boer; Yesterday, 05:46 PM.
              ▁ β–‚ β–„ β–… β–† β–‡ β–ˆ α„‚IПЦX FΣ¨Π― α„‚IFΞ£ β–ˆ β–‡ β–† β–… β–„ β–‚ ▁

              Comment


                #8
                Originally posted by die.boer View Post
                Code:
                sudo apt update
                Code:
                ​sudo apt install plasma-session-x11
                Is the commands to get x11 , then log out/in ,choosing x11 at ssdm
                If you'd rather stay on Wayland, KWin's window rules (System Settings > Window Management > Window Rules) can also force the size and position per application.

                Comment


                  #9
                  I tried Window rules before but failed, however I think I missed the point of how they worked so will give that another try for now but will keep the X11 option in mind. I assume, if I install X11, i can switch between X11 and Wayland at logon, any time I want?

                  Comment


                    #10
                    Originally posted by Boots View Post
                    I assume, if I install X11, i can switch between X11 and Wayland at logon, any time I want?
                    Yes, at the SDDM Login Greeter page.
                    Slava Ukraini! πŸ‡ΊπŸ‡¦
                    Windows no longer obstruct my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes​

                    Comment


                      #11
                      interesting, the rules did work to some extent but not really hit the spot. Reverting to X11 has mostly got me back to where i was. Konsole is good, some messaging apps now go back where I left them but others don't. Good enough as other items, if left open, behave as expected. I think I will stick with X11 for now.
                      Also found out how to get rid of the pesky *************** in Konsole for my password. That seemed so odd having not had it for years and years :-)

                      Thanks for your help

                      Comment

                      Users Viewing This Topic

                      Collapse

                      There are 0 users viewing this topic.

                      Working...
                      X