<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>514688</bug_id>
          
          <creation_ts>2026-01-16 11:56:55 +0000</creation_ts>
          <short_desc>When using a touchscreen in replica mode with non-matching aspect ratios input positions are not adjusted</short_desc>
          <delta_ts>2026-05-01 18:56:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>HI</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Edmundson">kde</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>josh</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/kwin/-/commit/3bfc4de04c479b355b641c12e8cdd9bc29d7d0a2</cf_commitlink>
          <cf_versionfixedin>6.6.5</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2485457</commentid>
    <comment_count>0</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2026-01-16 11:56:55 +0000</bug_when>
    <thetext>With non matching resolutions the video is letter-boxed, input is not, meaning pressing on the screen doesn&apos;t match up properly.

Verified with the &quot;show touch&quot; visualisation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2489408</commentid>
    <comment_count>1</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2026-01-28 19:22:25 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8720</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2512865</commentid>
    <comment_count>2</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2026-04-29 19:32:21 +0000</bug_when>
    <thetext>Git commit 39530b81317851cf0d8d081637245676969f1047 by David Edmundson.
Committed on 29/04/2026 at 18:57.
Pushed by davidedmundson into branch &apos;master&apos;.

input: Map devices to device outputs, not logical

An input device is semantically associated with a physical device, no
matter the screen replication.

This fixes mapping a touchscreen when it is cloning a screen of a
different aspect ratio, we want to ignore touch presses on the black
bars.

M  +24   -14   src/backends/libinput/connection.cpp
M  +9    -8    src/backends/libinput/device.cpp
M  +4    -3    src/backends/libinput/device.h
M  +1    -1    src/workspace.cpp
M  +1    -1    src/workspace.h

https://invent.kde.org/plasma/kwin/-/commit/39530b81317851cf0d8d081637245676969f1047</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2512882</commentid>
    <comment_count>3</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2026-04-29 20:52:08 +0000</bug_when>
    <thetext>Git commit 3bfc4de04c479b355b641c12e8cdd9bc29d7d0a2 by David Edmundson.
Committed on 29/04/2026 at 19:45.
Pushed by davidedmundson into branch &apos;Plasma/6.6&apos;.

input: Map devices to device outputs, not logical

An input device is semantically associated with a physical device, no
matter the screen replication.

This fixes mapping a touchscreen when it is cloning a screen of a
different aspect ratio, we want to ignore touch presses on the black
bars.


(cherry picked from commit 39530b81317851cf0d8d081637245676969f1047)

Co-authored-by: David Edmundson &lt;kde@davidedmundson.co.uk&gt;

M  +24   -14   src/backends/libinput/connection.cpp
M  +9    -8    src/backends/libinput/device.cpp
M  +4    -3    src/backends/libinput/device.h
M  +1    -1    src/workspace.cpp
M  +1    -1    src/workspace.h

https://invent.kde.org/plasma/kwin/-/commit/3bfc4de04c479b355b641c12e8cdd9bc29d7d0a2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>