<?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>449888</bug_id>
          
          <creation_ts>2022-02-09 20:37:17 +0000</creation_ts>
          <short_desc>Virtual Keyboard no longer opens when using a stylus</short_desc>
          <delta_ts>2022-02-14 18:21:24 +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>5.24.0</version>
          <rep_platform>Arch Linux</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>regression</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alex">hartvarab</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>ahiemstra</cc>
    
    <cc>aleixpol</cc>
    
    <cc>matthew.adie</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/kwin/commit/7626dbb1bb4dd5e437f060b3d64da316d15987a6</cf_commitlink>
          <cf_versionfixedin>5.24.1</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2102563</commentid>
    <comment_count>0</comment_count>
    <who name="Alex">hartvarab</who>
    <bug_when>2022-02-09 20:37:17 +0000</bug_when>
    <thetext>SUMMARY
Since upgrading to 5.24.0 the maliit-keyboard doesn&apos;t open up anymore when using a stylus. It still works with touch and used to work with a stylus. This is on a 2-1 convertible laptop.

STEPS TO REPRODUCE
1. Activate virtual keyboard
2. &quot;Click&quot; a text input field with a stylus.

OBSERVED RESULT
Virtual keyboard doesn&apos;t open up

EXPECTED RESULT
Virtual keyboard should open up

Additional Information
Operating System: Arch Linux
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-5300U CPU @ 2.30GHz
Memory: 3.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 5500
Lenovo Yoga 12</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103456</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-02-11 17:28:15 +0000</bug_when>
    <thetext>Can reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103497</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2022-02-11 18:15:19 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2002</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103742</commentid>
    <comment_count>3</comment_count>
    <who name="Aleix Pol">aleixpol</who>
    <bug_when>2022-02-12 02:36:17 +0000</bug_when>
    <thetext>*** Bug 449962 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103824</commentid>
    <comment_count>4</comment_count>
    <who name="Matthew Adie">matthew.adie</who>
    <bug_when>2022-02-12 11:34:23 +0000</bug_when>
    <thetext>(In reply to Aleix Pol from comment #3)
&gt; *** Bug 449962 has been marked as a duplicate of this bug. ***

NOTE:  this problem is not limited to the use of a stylus, it extends to touch as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104252</commentid>
    <comment_count>5</comment_count>
    <who name="Aleix Pol">aleixpol</who>
    <bug_when>2022-02-14 01:22:20 +0000</bug_when>
    <thetext>Can you please check with coredumpctl to see that maliit-keyboard isn&apos;t crashing for you?

https://github.com/maliit/keyboard/issues/97

I&apos;m seeing it in KDE Neon and archlinux (running master).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104253</commentid>
    <comment_count>6</comment_count>
    <who name="Aleix Pol">aleixpol</who>
    <bug_when>2022-02-14 01:29:14 +0000</bug_when>
    <thetext>False, it&apos;s not happening on archlinux with master (the issue I saw was something else), so you might be seeing the issue in maliit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104254</commentid>
    <comment_count>7</comment_count>
    <who name="Aleix Pol">aleixpol</who>
    <bug_when>2022-02-14 01:30:38 +0000</bug_when>
    <thetext>Git commit ad0a35882ef90876caf49f323bfb0791acf20a17 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 14/02/2022 at 00:24.
Pushed by apol into branch &apos;master&apos;.

inputmethod: Also open the inputm method panel with a pen

M  +10   -5    src/input.cpp
M  +7    -4    src/input.h
M  +3    -4    src/inputmethod.cpp
M  +1    -1    src/keyboard_input.cpp
M  +0    -5    src/keyboard_input.h
M  +11   -11   src/pointer_input.cpp
M  +5    -1    src/tablet_input.cpp
M  +3    -3    src/touch_input.cpp

https://invent.kde.org/plasma/kwin/commit/ad0a35882ef90876caf49f323bfb0791acf20a17</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104416</commentid>
    <comment_count>8</comment_count>
    <who name="Aleix Pol">aleixpol</who>
    <bug_when>2022-02-14 12:27:58 +0000</bug_when>
    <thetext>Git commit 7626dbb1bb4dd5e437f060b3d64da316d15987a6 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 14/02/2022 at 12:27.
Pushed by apol into branch &apos;Plasma/5.24&apos;.

inputmethod: Also open the inputm method panel with a pen


(cherry picked from commit ad0a35882ef90876caf49f323bfb0791acf20a17)

M  +10   -5    src/input.cpp
M  +7    -4    src/input.h
M  +3    -4    src/inputmethod.cpp
M  +1    -1    src/keyboard_input.cpp
M  +0    -5    src/keyboard_input.h
M  +11   -11   src/pointer_input.cpp
M  +5    -1    src/tablet_input.cpp
M  +3    -3    src/touch_input.cpp

https://invent.kde.org/plasma/kwin/commit/7626dbb1bb4dd5e437f060b3d64da316d15987a6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104472</commentid>
    <comment_count>9</comment_count>
      <attachid>146715</attachid>
    <who name="Matthew Adie">matthew.adie</who>
    <bug_when>2022-02-14 14:36:09 +0000</bug_when>
    <thetext>Created attachment 146715
coredumpctl output

Not sure if you still need it but the output of coredumpctl (attached) didn&apos;t show anything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104511</commentid>
    <comment_count>10</comment_count>
    <who name="Matthew Adie">matthew.adie</who>
    <bug_when>2022-02-14 15:56:14 +0000</bug_when>
    <thetext>Ok I&apos;ve discovered the following:

If I:

1) enable the virtual keyboard and leave it enabled
2) Log out
3) log in
4) the onscreen keyboard appears like normal

But if I:

1) disable the virtual keyboard 
2) Log out
3) log in
4) enable the virtual keyboard
5) I cannot get the onscreen keyboard to appear

It seems that if Plasma starts with the virtual keyboard already enabled it then works, however if it was disabled when I logout and I only enable it after I login it no longer works.

Matthew</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104582</commentid>
    <comment_count>11</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-02-14 18:21:24 +0000</bug_when>
    <thetext>Seems like a separate bug; can you file another bug report for that? Thanks!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>146715</attachid>
            <date>2022-02-14 14:36:09 +0000</date>
            <delta_ts>2022-02-14 14:36:09 +0000</delta_ts>
            <desc>coredumpctl output</desc>
            <filename>coredumpctl_output.txt</filename>
            <type>text/plain</type>
            <size>1040</size>
            <attacher name="Matthew Adie">matthew.adie</attacher>
            
              <data encoding="base64">VElNRSAgICAgICAgICAgICAgICAgICAgICAgICAgUElEICBVSUQ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