This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2216303 - Ctrl + Alt + [ arrow keys ] doesn't work as expected in RHEL 9
Summary: Ctrl + Alt + [ arrow keys ] doesn't work as expected in RHEL 9
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: gnome-control-center
Version: 9.2
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Felipe Borges
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-20 19:24 UTC by mkielian@redhat.com
Modified: 2023-09-15 19:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-15 19:54:54 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab 918 0 None None None 2023-06-22 00:59:48 UTC
Red Hat Issue Tracker   RHEL-4226 0 None Migrated None 2023-09-15 19:54:50 UTC
Red Hat Issue Tracker RHELPLAN-160325 0 None None None 2023-06-20 19:24:53 UTC
Red Hat Issue Tracker RHELPLAN-160326 0 None None None 2023-06-20 19:24:55 UTC
Red Hat Knowledge Base (Solution) 7020404 0 None None None 2023-06-20 22:47:15 UTC

Description mkielian@redhat.com 2023-06-20 19:24:34 UTC
Description of problem:


Generally, the "LEFT" CTLR+ALT+(LEFT|RIGHT) Arrow keys are shortcuts for switching between workspaces in GNOME. It seems, an unexpected side-effect of this behavior, is that the (UP|DOWN) Arrow keys do not register at all; though, when pressing the "RIGHT" CTLR+ALT+(LEFT|RIGHT|UP|DOWN) Arrow keys DO register.


Note: This key behavior in RHEL 8 work as expected, but it has changed in RHEL9.

Version-Release number of selected component (if applicable):  RHEL 9 


How reproducible:  Very


Steps to Reproduce: Perform test steps in RHEL 8 and RHEL 9 to obtain contrasting behavior

1. Open terminal, run the following command: 

$ dconf watch /


2. Open gedit and type in several lines of text, move cursor to the middle of it.

3. Hold down [ Left Crtl + Left Alt ] and press [ UP or Down or LEFT or RIGHT arrow keys ] 

Then Hold down [ Right  Crtl + Right Alt ] and press [ UP or Down or LEFT or RIGHT arrow keys ] 

4. RHEL 9 Only:   Open the Gnome setting menu and select keyboard.

   The terminal with dconf watch will now say: 
   
/org/gnome/desktop/input-sources/per-window
  false

/org/gnome/desktop/input-sources/xkb-options
  ['lv3:ralt_switch']


5. RHEL 9 Only:  Switch to Open Gedit window and put cursor in the middle of the text.

Then hold down [ Left Crtl + Left Alt ] and press [ UP or Down or LEFT or RIGHT arrow keys ] 

Then Hold down [ Right  Crtl + Right Alt ] and press [ UP or Down or LEFT or RIGHT arrow keys ] 

Note the behavior difference in workspace switching.



Actual results:

RHEL 8:   The workspace switcher works not matter if RIGHT set or LEFT set of [ Ctrl + Alt + Arrows ] is used

RHEL 9:   Before touching the "Compose key" setting it behaves as RHEL8, however after just going into keyboard settings it behaves differently, it will scroll around the gedit text 




Expected results:

Should behave like RHEL 8, or give option to set to RHEL 8 type behavior without forcing a default behavior upon opening keyboard settings.

Or we should document this setting change in keyboard behavior if this is expected behavior or explore a way to unset within the settings.



Additional info:

This seems to be a side effect the new defaults enforced by the keyboard settings in Gnome in RHEL 9.


This can be undone in RHEL 9 by running the following command: 

$ dconf reset /org/gnome/desktop/input-sources/xkb-options 


However re-loading the keyboard settings in gnome setting will re-establish this setting by default: 

/org/gnome/desktop/input-sources/xkb-options
  ['lv3:ralt_switch']

Comment 1 Peter Hutterer 2023-06-22 00:59:48 UTC
>  Before touching the "Compose key" setting it behaves as RHEL8

Turns out it's actually the "Alternate Characters Key" that affects this, not the compose key setting. In RHEL8 this was unset (dconf shows an empty xkb options array by default) but a bug in the GNOME control center sets it to `lv3:ralt_switch` on the first invocation - where it cannot easily be unset through the GUI. The upstream bug for this is https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/918, there is a proposed-but-stale MR upstream too here https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/910, those are the two I found reasonably quickly.

Reassigning to gnome-control-center.

Comment 3 RHEL Program Management 2023-09-15 19:54:31 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 4 RHEL Program Management 2023-09-15 19:54:54 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


Note You need to log in before you can comment on or make changes to this bug.