Plasma’s restore session functionality has started working for me relatively recently, but there’s one thing that bugs me: all my windows are just dumped together into the same activity and workspace I’m in at login, so it becomes a big mess.
Is there a setting somewhere that tells it to respect the last position of the windows?

  • MediumGray@lemmy.ca
    link
    fedilink
    arrow-up
    8
    ·
    19 hours ago

    My understanding is that not saving window size and placement is a limitation of Wayland right now (for security reasons that it’s trying to address rather than ignore like xorg I think?). I think it’s something that’s planned to be added eventually, but who knows when that might be. It is frustrating in the meantime I agree.

    Take all this with a large grain of salt of course, I am by no means an expert on the matter and am just repeating what I read when I looked into it myself a year ago or so.

    • deadcream@sopuli.xyz
      link
      fedilink
      arrow-up
      2
      ·
      1 hour ago

      Your are right, it’s not implemented yet in Plasma Wayland. It must be done in Plasma/KWin itself since top-level Wayland windows can’t position themselves on screen and don’t even know their coordinates (and doing it on the application side is not really correct since not all apps will support it and it duplication of work and code, while compositor can do it consistently for all windows). However it just doesn’t work yet.

    • IceFoxX@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      9 hours ago

      I have simply created custom rules for the respective programs and the associated open windows. Since these are standard programs anyway, which I always have open or want to open again on the same activity with the same arrangement. So I set up one for gaming, Internet, multimedia and work. This works without any problems.

  • lascapi
    link
    fedilink
    arrow-up
    7
    ·
    21 hours ago

    Just to say that I have the same question/problem ! 😌

    • QuazarOmega@lemy.lolOP
      link
      fedilink
      arrow-up
      2
      ·
      1 hour ago

      I group together apps that I want to use together, usually in split screen, and also those that are logically related, say I’m doing web browsing and also listening to music, even if it’s just two apps (browser and music player), they aren’t related by one task, so I put each on their own workspace. Now add that I’m writing down information from the browser, I’ll open the text editor in the same workspace because the info between the two is related and I need to see both at the same time. These are just examples, but things are even more flexible since Plasma allows you to keep a window in multiple workspace and even multiple activities at the same time, I have examples of that too if you’re curious about the logic

      • Clay_pidgin@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        42 minutes ago

        Maybe I just don’t use enough apps to make it desirable? Work chat, browser, and IDE for work; discord, browser, IDE for fun.