Home

After 6 Years, One of Wayland’s Most Annoying Problems is Finally Getting Fixed

$$20341
https://europe.pub/u/cm0002 posted on Mar 30, 2026 03:13

There is a new merge on the Wayland GitLab repo. This new merge (of an old pull request) adds xdg-session-management protocol to Wayland. This is a big development and certainly a feature Linux users will enjoy.

As per the brief message in merge request:

For a variety of cases it’s desirable to have a method for negotiating the restoration of previously-used states for a client’s windows. This helps for e.g., a compositor/client crashing (definitely not due to bugs) or a backgrounded client deciding to temporarily destroy its surfaces in order to conserve resources.

This protocol adds a method for managing such negotiation and is loosely based on the Enlightenment “session recovery” protocol which has been implemented and functional for roughly two years.

In simpler words, session recovery is finally coming to Wayland.

https://europe.pub/post/10868644
Reply
$$20343
https://piefed.zip/u/mrbigmouth502 posted on Mar 30, 2026 03:29
In reply to: https://europe.pub/post/10868644

This will be interesting as well. Your Linux desktop will be able to remember window positions and sizes across restarts. So if you are meticulous about an organized layout where the terminal is on the left and the browser is on the right, it will be the same even after your system restarts. Note that session survives temporary app closures, too.

It’s about freaking time.

https://piefed.zip/comment/4510018
Reply
$$20350
https://piefed.social/u/BurgerBaron posted on Mar 30, 2026 03:39
In reply to: https://europe.pub/post/10868644

Any multi monitor users know my pain? haha.

https://github.com/PCSX2/pcsx2/pull/8071

image:https://media.piefed.social/posts/F6/JE/F6JElN2tKquzkrd.png

https://piefed.social/comment/10744896
Reply
$$20356
https://programming.dev/u/andybytes posted on Mar 30, 2026 03:58
In reply to: https://europe.pub/post/10868644

Sike omgawd I almost destroyed my system. I will never do that again. Wayland or like wayno…. I don’t know what ya’ll talking about… When I “upgraded” it was only dog water

https://programming.dev/comment/23006523
Reply
$$20360
https://programming.dev/u/firelizzard posted on Mar 30, 2026 04:05
In reply to: https://programming.dev/comment/23006523

The ecosystem is slowly migrating to Wayland. It will probably take another decade but at some point your choice is going to be Wayland, or ancient unsupported systems.

https://programming.dev/comment/23006570
Reply
$$20366
https://sh.itjust.works/u/Whostosay posted on Mar 30, 2026 04:22
In reply to: https://europe.pub/post/10868644

This is frickin YUGE

https://sh.itjust.works/comment/24566378
Reply
$$20381
https://lemmy.org/u/howmuchlonger posted on Mar 30, 2026 05:11
In reply to: https://programming.dev/comment/23006570

What’s after Wayland?

https://lemmy.org/comment/5915867
Reply
$$20383
https://tarte.nuage-libre.fr/u/rhubarbe posted on Mar 30, 2026 05:17
In reply to: https://europe.pub/post/10868644

I thought for a moment they were talking about pip windows not remaining on top. Disappointed I am.

https://tarte.nuage-libre.fr/comment/2642037
Reply
$$20388
https://programming.dev/u/Mihies posted on Mar 30, 2026 05:38
In reply to: https://piefed.social/comment/10744896

Combine that when multi virtual desktops and pain is much worse. TBH my top priority would be browsers.

https://programming.dev/comment/23007320
Reply
$$20437
https://piefed.social/u/FishFace posted on Mar 30, 2026 08:25
In reply to: https://piefed.zip/comment/4510018

But kwin can’t restore them to the correct workspace

https://piefed.social/comment/10746857
Reply
$$20450
https://programming.dev/u/gjoel posted on Mar 30, 2026 08:58
In reply to: https://lemmy.org/comment/5915867

Yutani?

https://programming.dev/comment/23009154
Reply
$$20456
https://lemmy.blahaj.zone/u/fushuan posted on Mar 30, 2026 09:28
In reply to: https://piefed.social/comment/10744896

Lately I’m having issues where I have some windows set to open full screen on the second monitor (not even full screen, just making it manually take all the space) via Kwin, but since I have a top toolbar panel on the main monitor, the fucker opens with an empty space above where the imaginary toolbar would be.

I’ve checked mostly everything and now it only happens in a game so I just set it to full screen and then windowed full screen again and I don’t need to worry until I reopen the game, so it’s mostly a non issue. In KDE’s defense, the game does open correctly, it just resized afterwards so it seems like a game issue.

Besides that game though, every other program (telegram, discord..) opens right where I told it to be, I use KDE, I created a window rule for every program I routinely open and I just recorded the position I like them in and they open exactly there. I do have 2 monitors, I can give you more info on my setup if you’d like.

https://lemmy.blahaj.zone/comment/19852333
Reply
$$20459
https://lemmy.curiana.net/u/ExLisper posted on Mar 30, 2026 09:34
In reply to: https://europe.pub/post/10868644

Really? People will finally stop pushing it on users that don’t need it?

https://lemmy.curiana.net/comment/1085415
Reply
$$20460
https://lemmy.blahaj.zone/u/fushuan posted on Mar 30, 2026 09:36
In reply to: https://europe.pub/post/10868644

This is great, yet I wish there was a way to send information to specific windows from outside. Yeah I know that that’s technically a security flaw and Wayland’s ethos is practically against it, but if I want to emulate a click in a specific window passively without focusing on it, there should be some way to allow it as long as I know the window ID.

I’m talking about that feature of xdotoolthat let’s you send click or key press events to specific windows that can’t be done by combining ydotool and kdotool, since neither has window specific interactions.

I know that it’s a very specific request, and it’s for a more stupid reason, I want to play bongo cat with my friends and I need a way to send k&m events to that window so it works on Wayland Linux 😭😭

https://lemmy.blahaj.zone/comment/19852396
Reply
$$20496
https://lemmy.sdf.org/u/lambalicious posted on Mar 30, 2026 12:08
In reply to: https://europe.pub/post/10868644

With all the crazy stuff going around in the world, “Wayland adds an actually useful feature that is basically core to a system tasked with managing windows” was not in my 2026 Bingo card. Kudos to them for finally doing it I guess.

Maybe by 2038 this thing will finally be usable, just in time to roll over the 32-bit grave.

https://lemmy.sdf.org/comment/26954661
Reply
$$20503
https://piefed.social/u/magikmw posted on Mar 30, 2026 12:22
In reply to: https://piefed.social/comment/10746857

Yeah I hacked it with window rules but forget positioning if you’re using more than one screen setup.

https://piefed.social/comment/10748772
Reply
$$20518
https://lemmy.world/u/devfuuu posted on Mar 30, 2026 13:09
In reply to: https://europe.pub/post/10868644

Never noticed the issue.

https://lemmy.world/comment/22947417
Reply
$$20520
https://lemmy.today/u/altphoto posted on Mar 30, 2026 13:11
In reply to: https://europe.pub/post/10868644

I just fixed a long standing problem I had. My mouse would stop clicking.

I installed several USB distros just to try the mouse and they all failed.

Then I tried my mouse on other computers and it was fine.

It was the stupid keyboard! I swapped keyboards and its all good now. Apparently keyboards don’t like stuff like drinks falling in between the keys and such.

https://lemmy.today/comment/23224502
Reply
$$20567
https://lemmy.zip/u/joyjoy posted on Mar 30, 2026 15:08
In reply to: https://lemmy.org/comment/5915867

Wayland 2: Electric Boogaloo

https://lemmy.zip/comment/25586236
Reply
$$20681
https://discuss.tchncs.de/u/jpv2390 posted on Mar 30, 2026 21:16
In reply to: https://lemmy.sdf.org/comment/26954661

I’m curious what your use-case is, that prompts you to write that is not usable for you. I have used Wayland on KDE for years without any issues. Even multi monitor setups with weird adapters and HDR seem to just work.

https://discuss.tchncs.de/comment/24872707
Reply
$$20698
https://lemmy.zip/u/regedit posted on Mar 30, 2026 22:03
In reply to: https://lemmy.blahaj.zone/comment/19852396

Sounds like what I used to mess with using AutoIt. Great little scripting language!

https://lemmy.zip/comment/25594757
Reply
$$20733
https://lemmy.sdf.org/u/lambalicious posted on Mar 30, 2026 23:50
In reply to: https://discuss.tchncs.de/comment/24872707

My use case is pretty much having a normal, usable, standard desktop environment where I can do workflows supported by features such as:

  • using a screen recording program to, ya know, record the screen;
    • …without having to buy more into the so-called portals cartel (that is also adding age verification);
  • opening programs with their windows being opened in the workspace, screen and at least approximate positioning where I last used then;
    • being able to drag-and-drop or relocate windows across screens, workspaces or any such entities;
  • launch graphical applications as a different user and have them interact natively with the rest of the desktop (eg.: fullscreen correctly);
  • have a fucking clipboard!;
    • with the Linux-classic middle-click alternate clipboard, too.
  • assign a hotkey or keycombo for an application, that can be fired from anywhere else in the desktop;
  • being able to manufacture input events for keyboard, mouse, joystick etc… for when there are issues;
  • being able to launch the window of a program opened remotely;
  • programs using the graphical theme I’ve assigned for window decoration, instead of inventing their own titlebars and min/maximize buttons;
  • being able to drag-and-drop files from one window to another;
  • and many others.

The last time I tried Wayland was in 2023-ish. The fucking thing could not even finish the startup for a desktop session in my machine. It’s honestly the worst vaporware I’ve ever seen, and I’ve been around since the ‘90s. I feel like these things will never ever be truly fixed, because from what I understand of the Wayland model, it is intrinsically about treating the user as an enemy:

“We’re treated like hostile threat actors on our own workstations” [1]

[1] https://gist.github.com/probonopd/9feb7c20257af5dd915e3a9f2d1f2277

Which is, ultimately, worrying. Things like Pulseaudio, systemd, Wayland, …, feel like they are making Linux less for the user and more for corporations. It’s enshittification, and comes from a culture of enshittification (Potter-ing etc).

https://lemmy.sdf.org/comment/26968693
Reply
$$20789
https://lemmy.world/u/meathorse posted on Mar 31, 2026 02:55
In reply to: https://europe.pub/post/10868644

Excuse my dumb, does this mean when I close a window/application in a particular location/size, when I launch it again, it returns to the last known size/location? Or does this only address crash/restore scenarios?

https://lemmy.world/comment/22960144
Reply
$$20862
https://lemmy.blahaj.zone/u/prole posted on Mar 31, 2026 13:15
In reply to: https://lemmy.sdf.org/comment/26954661

I’ve been using Linux for 3-4 years now, and in that time I’ve only ever used Wayland.

I’ve never had any issues with it.

https://lemmy.blahaj.zone/comment/19869705
Reply
$$20863
https://lemmy.blahaj.zone/u/prole posted on Mar 31, 2026 13:16
In reply to: https://lemmy.sdf.org/comment/26968693

The last time I tried Wayland was in 2023-ish.

A lot has changed in 3 years

https://lemmy.blahaj.zone/comment/19869717
Reply
$$20864
https://programming.dev/u/owsei posted on Mar 31, 2026 13:32
In reply to: https://lemmy.sdf.org/comment/26968693

I’m using a tiling window manager, so the placement and window decoration stuff I’ve never tried, but these things worked out without any tinkering for me:

using a screen recording program to, ya know, record the screen;

with wf-recorder or something

launch graphical applications as a different user and have them interact natively with the rest of the desktop

clipboard

assign a hotkey or keycombo for an application, that can be fired from anywhere else in the desktop;

being able to manufacture input events for keyboard, mouse, joystick etc… for when there are issues;

all of these just came in with hyprland and appear to be common case. Hope all your requirements will be met soon!

https://programming.dev/comment/23032414
Reply
$$20874
https://beehaw.org/u/TehPers posted on Mar 31, 2026 14:06
In reply to: https://lemmy.sdf.org/comment/26968693

On the contrary, I have a 1440p 120Hz primary monitor and a 4k 60Hz vertical side monitor, and I can only seem to make that setup work with Wayland. I’ve been using only Wayland this whole time as a result.

As for all your issues with it: - I’m able to record my screen just fine with multiple applications. Are you trying to write your own screen recorder, or use existing ones? - I have not had any issues with fullscreen. If anything, it works better for me than Windows. (I can’t compare it to X11 because I can’t use X11.) - I don’t really understand what you mean by having a clipboard. Do you not have one on Wayland somehow? - Hotkeys seem to work for me, so I’m confused here too. - I’m not too sure what you mean by “manufacture inputs” but my keyboard supports programmable macros and that works for me, though I believe that works by flashing the keyboard instead of through software. - Programs I use often use their own themes regardless of Wayland/X11 so the client-side decorations doesn’t matter nearly as much to me. I would like it to be more consistent, but that’s on both sides (Wayland+application devs) to figure out.

The rest of these aren’t issues I’ve had to deal with at all, but I can see them coming up. Wayland does have some issues, but nothing I’ve come across that’s major enough to bother me all that much.

https://beehaw.org/comment/5728810
Reply
$$20884
https://lemmy.dbzer0.com/u/olenkoVD posted on Mar 31, 2026 15:56
In reply to: https://europe.pub/post/10868644

I swear I see this headlineat least once every two months.

https://lemmy.dbzer0.com/comment/25273755
Reply
$$20889
https://lemmy.sdf.org/u/lambalicious posted on Mar 31, 2026 16:16
In reply to: https://lemmy.blahaj.zone/comment/19869705

Congrats for your experience.

https://lemmy.sdf.org/comment/26982150
Reply
$$21065
https://lemmy.blahaj.zone/u/prole posted on Apr 1, 2026 01:34
In reply to: https://lemmy.sdf.org/comment/26982150

Thanks, it feels great.

https://lemmy.blahaj.zone/comment/19878129
Reply