https://bugs.kde.org/show_bug.cgi?id=460260

--- Comment #12 from Nate Graham <n...@kde.org> ---
Managed to investigate this today.

The problem is that when we read and write the config values, we rely on the
config key used for both being static as long as the screen arrangement itself
is static. But that's not happening; with a multi-screen setup, the value of
window->screen() changes when the same code is run in restoreWindowSize()
compared to saveWindowSize(), and I don't yet understand why. It doesn't make
much sense to me.

However, this has exposed a flaw in the code; we currently embed the name of
the current screen (which changes if you have a multi-screen setup) into the
key but we actually don't need to do that at all; simply using the string
representing the set of all current screens is good enough. That was the
original design intention and the fact that the name of the current screen
sneaks in again again looks like a bug.

Continuing the investigation...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to