Debian Patches

Status for kconfig/5.103.0-2

Patch Description Author Forwarded Bugs Origin Last update
Allow-packagers-set-kconfig_compiler-install-dir.patch Allow packagers set kconfig_compiler install dir Maximiliano Curia <maxy@gnuservers.com.ar> no debian Debian 2018-01-25
tests-skip-flaky-KConfigTest-testLocalDeletion.diff Skip KConfigTest::testLocalDeletion() This test generally passes, however not every time. It appears that it is
somehow flaky, and I cannot determine the reason for that.
.
Since the test of the test suite passes in all the cases without issues,
skip this test only for now.
Pino Toscano <pino@debian.org> not-needed 2022-05-15
tests-skip-flaky-KConfigTest-testKdeglobalsVsDefault.diff Skip KConfigTest::testKdeglobalsVsDefault() This test generally passes, however not every time. It appears that it is
somehow flaky, and I cannot determine the reason for that.
.
Since the test of the test suite passes in all the cases without issues,
skip this test only for now.
Pino Toscano <pino@debian.org> not-needed 2022-05-27
upstream_a502123a_sort-connector-names-for-multi-screen-size-position-keys.patch [PATCH] Sort connector names for multi-screen size/position keys
A string including the connector names is used in the config file key for
storing per-screen-arrangement size and position data, which means we
need this string to be consistent for the same screen arrangement. But
connector order is non-deterministic. We need to sort the list to keep a
consistent order and avoid losing multi-screen size and position data.

(cherry picked from commit 3f84ef821d76cd7c646d4328b4627eb70dae4ab3)
Nate Graham <nate@kde.org> no 2023-02-13
upstream_d254f986_Fix-multimonitor-window-size-restoration.patch [PATCH] Fix multimonitor window size restoration
The size saving and restoring code saves width and height values under a
config key that changes based on the active screens, the name of the
current screen, and the resolution of the current screen. This suffers
from a few issues:
- Due to https://bugreports.qt.io/browse/QTBUG-50788, what counts as the
current screen is volatile at runtime, and hence data gets saved to
and read from different config file keys.
- Including the screen resolution of the current screen only makes sense
for single-screen setups anyway as it's just random data causing
entropy for multi-screen setups.

Both of these issues contribute to the problem of window size being
restored incorrectly for multi-screen setups.

This commit fixes the issue by no longer including current-screen-based
data in the config file keys for multi-screen setups; just including the
current set of screens is good enough and it's non-volatile within the
scope of what we care about.

(cherry picked from commit fc46a2215809abebfdab8ca471c1b27b65b7ad56)
Nate Graham <nate@kde.org> no upstream 2023-02-13
upstream_239bb9c4_Dont-include-screen-connector-names-in-screen-position-size-data.patch [PATCH] Don't include screen connector names in screen position/size data

We have code that saves window positions (on X11) and sizes. It saves
this data independently for single screens, different resolutions, and
multi-screen arrangements. Identifying these in a way that's reliable
has proved to be a challenge and multiple approaches have been taken
over time. Currently we do the following:

- For single screens, save data on a per-primary-screen-name and
per-resolution basis
- For multi-screen, save data on a per-screen-arrangement basis (with
"screen arrangement" being defined as "an alphabetically-sorted
string list of all connector names)

Unfortunately, we know that under various circumstances connector names
are volatile and change their text. For example:

- When switching GPUs
- When plugging a screen into a different type of port in the same GPU
(e.g. HDMI -> DP or vice versa)
- When using an external screen with a laptop and switching between the
external screen being connected to a dock vs connected directly to the
laptop
- When switching between the X11 and wayland sessions
- Due to kernel bugs like https://bugzilla.kernel.org/show_bug.cgi?id=206387

We've done our best to minimize the impact of this volatility by sorting
the list alphabetically and no longer including the name of the
"current" screen in the config file key. But the whole approach of using
screen connectors in the first place is inherently flawed due to the
above-mentioned volatility and cannot be made to work perfectly
reliably. For this reason, as of Plasma 5.27, Plasma and KScreen no longer
use screen names to try to identify specific screens.

We can do the same here to significantly increase the robustness of the
size and position restoration code. Instead of using screen names anywhere,
now we do the following:

* Single screen*
Only save data on a per-resolution basis. Example config file contents:

[MainWindow]
1920x1080 screen: Height=770
1920x1080 screen: Width=1122
1920x1080 screen: XPosition=588
1920x1080 screen: YPosition=216

*Multi-screen arrangements*
Only save data on a "number of connected screens" basis. Example config
file contents:

[MainWindow]
2 screens: Height=770
2 screens: Width=1122
2 screens: XPosition=1865
2 screens: YPosition=1274

This commit implements that change in the most minimal and
backportable-to-kf5 manner. Further refactoring to remove
now-unnecessary code will be done later only for KF6, to minimize risk.

Test Plan:

X11, single screen:
1. Open Info Center
2. Move it to another location on screen and resize it
3. Close Info Center
4. Re-open Info Center -> position and size are remembered

Wayland, single screen as well as 2 screens
1. Open Info Center
2. Move it to another location on screen and resize it
3. Close Info Center
4. Re-open Info Center -> size is remembered; position is not wnd it
instead opens on the screen with the cursor on it according to the
active window positioning mode, which is intentional at this point
in time on Wayland

X11, 2 screens:
1. Pin Info Center to Task Manager on Panel
1. Open Info Center using Task Manager, and, if it doesn't open on the
screen with the Panel, move it there, close it, and open it again
2. Move it to the other screen that does not have the Panel on it
3. Close Info Center
4. Re-open Info Center from Task manager pinned icon -> position and
size are remembered, including opening on the screen that doesn't
have the Panel on it



(cherry picked from commit 9d4418b3b9521514298c8aca1191617eb4be9985)
Nate Graham <nate@kde.org> no 2023-02-16

All known versions for source package 'kconfig'

Links