<?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>440569</bug_id>
          
          <creation_ts>2021-08-03 21:06:05 +0000</creation_ts>
          <short_desc>Virtual keyboard appears whenever an input field is activated for any reason even when a physical keyboard is attached</short_desc>
          <delta_ts>2021-10-24 14:25:27 +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>virtual-keyboard</component>
          <version>git master</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=441848</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>wayland-only</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nate Graham">nate</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>aleixpol</cc>
    
    <cc>arnaud.vergnet</cc>
    
    <cc>mcpain</cc>
    
    <cc>postix</cc>
    
    <cc>rdieter</cc>
    
    <cc>tgordon681</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2050875</commentid>
    <comment_count>0</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-08-03 21:06:05 +0000</bug_when>
    <thetext>Fedora 34 with maliit-keyboard in a built-from-source Plasma Wayland session.

Right now whenever an input field gets focus for any reason, the virtual keyboard appears. This happens for all apps--KDE, GNOME, Electron, and so on. This behavior is annoying and inappropriate for cases when there is actually a physical keyboard attached.

If there is a physical keyboard attached, the virtual keyboard should only appear if an input field is explicitly tapped with a touchscreen. Only when no physical keyboard is attached does it make sense to activate the virtual keyboard for all input field activations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2050924</commentid>
    <comment_count>1</comment_count>
    <who name="Aleix Pol">aleixpol</who>
    <bug_when>2021-08-04 00:29:40 +0000</bug_when>
    <thetext>Agreed.
I&apos;ve looked into it and have not entirely found the right hook so everything works properly. At the moment we are abusing the internal keyboard focus property also for touch and I&apos;m afraid changing it will break mayhem (i.e. we don&apos;t want to end up with different focus surfaces for the keyboard and touch).

I&apos;m confident it can be done, I&apos;ve to spend some more time with it to find the right place to change it.

(Of course, if someone beats me to it, it&apos;s very welcome).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2050932</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-08-04 01:48:43 +0000</bug_when>
    <thetext>I&apos;ll be happy to test any mayhem-producing attempts :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2051237</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-08-04 22:30:35 +0000</bug_when>
    <thetext>*** Bug 440195 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2057990</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-09-01 14:01:48 +0000</bug_when>
    <thetext>*** Bug 441848 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2071768</commentid>
    <comment_count>5</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-10-24 14:25:27 +0000</bug_when>
    <thetext>Fixed now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>