Repository navigation
[feature-request] Support pen pressure and pointer kinds on Linux #63209
Description
Activity
- addeda: desktopRunning on desktopRunning on desktopengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectplatform-linuxBuilding on or for Linux specificallyBuilding on or for Linux specificallyc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capability
on Aug 7, 2020 - changed the title
[-][feature-request] Support pen pressure and pointer kinds on Linux and improve on web[/-][+][feature-request] Support pen pressure and pointer kinds on Linux[/+]on Aug 7, 2020 Hi, I tried starting work on this, and I want to implement this feature.
If you can give me some guidance, I can work on it, I have a lot of free time.
(I will most likely stream it on twitch)Reacted by The one with the braid, n0nvme, Paul, mityax, Léo Salé, byquanton and Gustavo ScilingoHas there been any updates on this?
- addedteam-linuxOwned by the Linux platform teamOwned by the Linux platform teamand removed
on Jun 6, 2024 The
triaged-desktoplabel is irrelevant if there is noteam-desktoplabel orfyi-desktoplabel.- addedtriaged-linuxTriaged by the Linux platform teamTriaged by the Linux platform team
on Jun 7, 2024 This is still a very much needed feature, having some cross-platform projects that are not usable on Linux such as :
Do you know if this is still worked on ?
Considering flutter is trying to have the same behavior, regardless of platform, this should be considered a bug and not a feature.
Thanks
Reacted by CodeDoctor, Finn Drünert, Valentin Lill, CAYEUX Mathieu, Gustavo Scilingo, mityax, Pius Walser, Weiss, Sot, wangjian30 and 5 moreReacted by Brian Wo, mityax and Pius Walser- added a commit that references this issue
on Jul 1, 2026 - added a commit that references this issue
on Jul 18, 2026 I fixed it in #186831 so this can be closes.
Reacted by byquanton, Adil Hanney and Nando Schenkclosing per #63209 (comment), thanks @CodeDoctorDE
- addedr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
on Aug 28, 2026 This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Sep 11, 2026
Use case
Using a Listener, Flutter supports the detection of pen pressure on Android, Chromium OS, on the web (using Chromium on Windows or Firefox on Wayland on Linux) and on iOS, but unfortunately, Desktop platforms do not seem to be supported by pen pressure nor the separation between PointerDeviceKind mouse, touch, stylus etc. This feature is required for any application processing pen input like handwriting apps or apps simply detecting different input devices (eg. Games which react differently on Mouse than on Touch)
Proposal
Simply implement it. It should be working same way as on Android, iOS and the web.