From: bugzilla-daemon@kernel.org
To: platform-driver-x86@vger.kernel.org
Subject: [Bug 220566] New: Lenovo Ideapad laptops wrongly assign "Cut" intstead of "Selective_screenshot" to the corresponding hardware key
Date: Thu, 11 Sep 2025 12:20:57 +0000 [thread overview]
Message-ID: <bug-220566-215701@https.bugzilla.kernel.org/> (raw)
https://bugzilla.kernel.org/show_bug.cgi?id=220566
Bug ID: 220566
Summary: Lenovo Ideapad laptops wrongly assign "Cut" intstead
of "Selective_screenshot" to the corresponding
hardware key
Product: Drivers
Version: 2.5
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Platform_x86
Assignee: drivers_platform_x86@kernel-bugs.osdl.org
Reporter: tomashnyk@gmail.com
Regression: No
Created attachment 308661
--> https://bugzilla.kernel.org/attachment.cgi?id=308661&action=edit
The key in question
Lenovo ideapad laptops have a key (picture attached) that as per official
Lenovo documentation
(https://support.lenovo.com/au/en/documentation/SG10220/ref_hotkey_icons?language=en
) is supposed to mean this:
"Opens the Snipping tool. (Windows operating systems)"
Right now, as per line 1331 (
https://github.com/torvalds/linux/blob/master/drivers/platform/x86/lenovo/ideapad-laptop.c#L1331C1-L1332C1
) of linux/blob/master/drivers/platform/x86/lenovo/ideapad-laptop.c:
{ KE_KEY, 0x2d | IDEAPAD_WMI_KEY, { KEY_CUT } },
"Cut" is assigned (i.e. action usually triggered by CTRL+X).
I think your key is actually supposed to be Selective_screenshot (
https://github.com/torvalds/linux/blob/7aac71907bdea16e2754a782b9d9155449a9d49d/include/uapi/linux/input-event-codes.h#L675
) and is mislabeled.
Therefore the appropriate line should be:
{ KE_KEY, 0x2d | IDEAPAD_WMI_KEY, { KEY_SELECTIVE_SCREENSHOT } },
(note that on other Lenovo Laptops like for example some Thinkpads, this is
already used, even though the physical icon on the screenshot looks a bit
differently, see for example here:
https://download.lenovo.com//pccbbs/pubs/x1_extreme_p1_2nd_ug/html_en/index.html#t=en%2FUse_the_keyboard_shortcuts_(topic)_T0000709565.html&rhsearch=keyboard&rhhlterm=keyboard&rhsyns=%20
"Open the Snipping Tool program.")
It makes sense - this key is produced by pressing "FN+PRINT_SCREEN", so using
"Cut" for it is odd.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next reply other threads:[~2025-09-11 12:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-11 12:20 bugzilla-daemon [this message]
2025-09-11 13:18 ` [Bug 220566] Lenovo Ideapad laptops wrongly assign "Cut" intstead of "Selective_screenshot" to the corresponding hardware key bugzilla-daemon
2025-09-11 14:20 ` bugzilla-daemon
2026-02-10 11:03 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-220566-215701@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.