Introduce env variable KWIN_XKB_DEFAULT_KEYMAP to force default layout creation
ClosedPublic

Authored by graesslin on Aug 17 2016, 6:38 AM.

Details

Summary

The Xkb class loads keyboard layouts from the users configuration. This
makes tests fail locally if the user has a layout which behaves
differently to the one the test expects. E.g. on a German layout the
right alt key is different to the one of US layout.

In order to have a more stable test base the env variable
KWIN_XKB_DEFAULT_KEYMAP forces the loading of the default keymap, thus
tests have a common layout set.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 5989.Aug 17 2016, 6:38 AM
graesslin retitled this revision from to Introduce env variable KWIN_XKB_DEFAULT_KEYMAP to force default layout creation.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added projects: Plasma on Wayland, KWin. · View Herald TranscriptAug 17 2016, 6:38 AM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
bshah accepted this revision.Aug 17 2016, 6:41 AM
bshah added a reviewer: bshah.
This revision is now accepted and ready to land.Aug 17 2016, 6:41 AM
This revision was automatically updated to reflect the committed changes.