STEPS TO REPRODUCE
1. Use a two monitor (left-right) setup. The left screen is the "Primary" Device.
2. Place Konsole windows on left screen.
3. Log out, then log back in.
The Konsole windows appear on the right screen. The window size and screen-relative placement are OK.
The Konsole windows should appear on the left screen.
Linux: Fedora 37
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
May be related to bugs marked as fixed: 427875, 442380
A work around is to set Session Restore to "When session was manually saved", place the windows on the opposite screen, then Save Session.
You're using the Wayland session, I assume? Probably the same root cause as Bug 421870.
(In reply to Nate Graham from comment #1)
> You're using the Wayland session, I assume? Probably the same root cause as
> Bug 421870.
No, X11 with NVidia driver.
Also note that the two screens have different background images which I sometimes see get swapped immediately after login.
(In reply to Karl Robillard from comment #2)
> Also note that the two screens have different background images which I
> sometimes see get swapped immediately after login.
Hmm, that seems related but is a separate issue and need to be reported separately.
I'm not too concerned about the background image swapping as the images always end up on the same screen. That was not the case before KDE 5.27.4, where some startup race condition would determine the screen placement. Knowing that the images still jump screens may provide a clue for why the window placement is wrong.
I can confirm this bug. My setup is two monitors left-right (left: rotated right, right: primary). Windows from the previous session on the left screen are moved to the right screen, with the correct size. During login, the left monitor not is rotated to the right at first, but after a few seconds rotation happens.
This is Opensuse Tumbleweed-20230602, X11/intel integrated graphics.