Project

General

Profile

Actions

tickets #117901

closed

tickets #117442: [Regression] Regression test for SLED

tickets #117745: [Regression][General] General components of regression tests

[Regression][General] Wayland: switch among desktop sessions when Wayland is enabled

Added by GraceWang about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
not_automated
Target version:
Start date:
2022-10-11
Due date:
% Done:

0%

Estimated time:
Relevance:
P0

Description

SLED15 is using Wayland by default, there are two ways to figure out
which type of session you're running.

  1. Wayland session should have WAYLAND_DISPLAY variable set, X11 session should not have it:

    $ echo $WAYLAND_DISPLAY

    wayland-0

  2. loginctl can give you this information.

    First run 'loginctl' in terminal and find your session number

    (it should be an integer number, with your username and seat assigned).

    Then look at the session type (x11 or wayland):

    $ loginctl show-session <YOUR_NUMBER> -p Type

    Type=x11/wayland

Steps:

  1. Log in using the default desktop session(GNOME), launch gedit and cheese
    from activities overview, then drag the app window and adjust the window size.
  2. Check if you are running a Wayland session, change your resolution.
  3. Log out, click the gear button on log in screen, switch to 'SLE classic' then log in.
  4. launch gedit and cheese from activities overview, then drag the app window and
    adjust the window size. Check if you are running a Wayland session and your resolution.
  5. Log out, click the gear button on log in screen, switch to 'GNOME-Classic' then log in.
  6. launch gedit and cheese from activities overview, then drag the app window and
    adjust the window size. Check if you are running a Wayland session and your resolution.
  7. Log out, click the gear button on log in screen, switch to 'GNOME on Xorg' then log in.
  8. Check if you are running a X session and change your resolution.
  9. Log out, click the gear button on log in screen, switch to 'icewm' then log in.
  10. Check if you are running a X session.

Expected Results:

  1. Log in to desktop successfully, applications work fine.
  2. Your session type should be wayland and your resolution should be changed.
  3. Log in to desktop successfully.
  4. Applications work fine, your session type should be x11 and the resolution change
    should be kept.
  5. Log in to desktop successfully.
  6. Applications work fine, your session type should be x11 and the resolution change
    should be kept.
  7. Log in to desktop successfully.
  8. Your session type should be x11 and the resolution could be changed.
  9. Log in to desktop successfully.
  10. Your session type should be x11.

Related issues 1 (0 open1 closed)

Copied to QE-Workstation - tickets #150080: [Regression][General] Wayland: switch among desktop sessions when Wayland is enabledResolvedGraceWang2022-10-11

Actions
Actions #1

Updated by zcjia about 2 years ago

  • Priority changed from Immediate to Normal
Actions #2

Updated by GraceWang about 2 years ago

  • Assignee set to zcjia
Actions #3

Updated by zcjia almost 2 years ago

  • Status changed from New to Resolved
  • Relevance changed from P5 to P0

Tested in Beta3.

Actions #4

Updated by zcjia 12 months ago

  • Copied to tickets #150080: [Regression][General] Wayland: switch among desktop sessions when Wayland is enabled added
Actions

Also available in: Atom PDF