this post was submitted on 10 Jan 2024
169 points (98.8% liked)

Firefox

17954 readers
406 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] deadcream@kbin.social 20 points 10 months ago (2 children)

I had been led to believe that one of Wayland’s strength was solving the correct window coordinates save-and-restore problem. Does someone know what happened here?

It's literally the opposite. Windows aren't allowed to position themselves on Wayland (because it's unsafe or something). Window state save restoration must implemented by the compositor itself. Not sure about GNOME, but KDE doesn't have that.

[–] ProtonBadger@kbin.social 9 points 10 months ago (2 children)

because it's unsafe or something

It’s one of those bits that haven’t been done yet. The protocol extension is being discussed as there are a lot more different use-cases than one would think and a number of ways to do it. Wayland is great but nothing is perfect and this is one of its weaknesses: evolving it takes time as we’re afraid of getting it wrong.

[–] nitefox@sh.itjust.works 3 points 10 months ago

Better this way honestly

[–] deadcream@kbin.social 2 points 10 months ago* (last edited 10 months ago)

Sure, it's hard to craft a perfect solution. However the status quo for a long time was that applications were doing it themselves. And Wayland took it away without providing a replacement.

[–] CosmicCleric@lemmy.world 1 points 10 months ago* (last edited 10 months ago)

Window state save restoration must implemented by the compositor itself. Not sure about GNOME, but KDE doesn’t have that.

Actually KDE has a feature where you can set which display any app shows on, and if it should be maximized horizontally or vertically or both.

I use that for Firefox specifically, as I always like it on my secondary monitor.

Just right click on the title bar of any application to get to those settings.

(I'm using KDE on Fedora.)