Public bug reported:

[Impact]

Fn+PrtSc key reports KEY_PROG2 instead of KEY_SELECTIVE_SCREENSHOT on
ThinkPad X9 14/15/15p

The key should report code 383 (KEY_SELECTIVE_SCREENSHOT), which desktop
environments recognize as a screenshot/snipping tool trigger. But The
key reports code 149 (KEY_PROG2). Desktop screenshot tools do not
respond to this keypress.

[ Test Plan ]

* Boot the ubuntu 24.04 image on ThinkPad X9 series

* Press the Fn+ F10 key

* Screenshot UI will show up

[ Where problems could occur ]

 * It only upates the systemd hwdb, to use newer KEY_PICKUP_PHONE,
KEY_HANGUP_PHONE, KEY_SELECTIVE_SCREENSHOT, KEY_NOTIFICATION_CENTER
keycodes.

[ Other Info ]
Upstream commit: 
https://github.com/systemd/systemd/commit/ca5f27037b262143ab387ad9916edccfaad2c780

This commit updates hwdb.d/60-keyboard.hwdb to use the correct keycodes for 
ThinkPad Extra Buttons. 
Specifically, line 1016 changes:

KEYBOARD_KEY_46=prog2                    # Fn + PrtSc, on Windows:
Snipping tool

KEYBOARD_KEY_46=selective_screenshot     # Fn + PrtSc, on Windows:
Snipping tool

** Affects: oem-priority
     Importance: High
     Assignee: Bin Li (binli)
         Status: In Progress

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: jira-sutton-4805 oem-priority

** Tags added: jira-sutton-4805 oem-priority

** Changed in: oem-priority
     Assignee: (unassigned) => Bin Li (binli)

** Changed in: oem-priority
   Importance: Undecided => High

** Changed in: oem-priority
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156337

Title:
  [SRU] Press the Fn+ F10 key could not take screenshot on ThinkPad X9

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2156337/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to