<?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>441848</bug_id>
          
          <creation_ts>2021-09-01 07:56:12 +0000</creation_ts>
          <short_desc>Virtual keyboard is shown when focusing input fields even if it was disabled  in the user&apos;s session</short_desc>
          <delta_ts>2021-09-08 17:37:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Theme - Breeze</component>
          <version>5.22.4</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=440569</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Oleg Solovyov">mcpain</reporter>
          <assigned_to>visual-bugs-null</assigned_to>
          <cc>nate</cc>
    
    <cc>plasma-bugs-null</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/commit/9189bfea0a4ebb9bf5e1b3e055fb9440d23f5654</cf_commitlink>
          <cf_versionfixedin>5.23</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2057899</commentid>
    <comment_count>0</comment_count>
    <who name="Oleg Solovyov">mcpain</who>
    <bug_when>2021-09-01 07:56:12 +0000</bug_when>
    <thetext>STEPS TO REPRODUCE
1. Boot PC
2. Switch on and off virtual keyboard
3. Focus on password input

OBSERVED RESULT
Virtual keyboard is shown

EXPECTED RESULT
Virtual keyboard is hidden

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.10.59
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2057989</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-09-01 14:01:48 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 440569 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2058003</commentid>
    <comment_count>2</comment_count>
    <who name="Oleg Solovyov">mcpain</who>
    <bug_when>2021-09-01 14:19:44 +0000</bug_when>
    <thetext>Not a duplicate.

My bug happens before logging in.
Hence, no sessions (specifying wayland makes no sense), no kwin instances (target is marked as kwin bug).

If it is a duplicate please reassign target to something non-specific to sessions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2058004</commentid>
    <comment_count>3</comment_count>
    <who name="Oleg Solovyov">mcpain</who>
    <bug_when>2021-09-01 14:21:06 +0000</bug_when>
    <thetext>(In reply to Oleg Solovyov from comment #2)
&gt; Not a duplicate.
&gt; 
&gt; My bug happens before logging in.
&gt; Hence, no sessions (specifying wayland makes no sense), no kwin instances
&gt; (target is marked as kwin bug).
&gt; 
&gt; If it is a duplicate please reassign target to something non-specific to
&gt; sessions.

PS caouldn&apos;t find a component &quot;SDDM Breeze theme&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2058005</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-09-01 14:23:29 +0000</bug_when>
    <thetext>Oh, in the login screen. Can confirm.

Same basic issue, but a different root cause in this case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2058264</commentid>
    <comment_count>5</comment_count>
    <who name="Oleg Solovyov">mcpain</who>
    <bug_when>2021-09-02 13:24:59 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #4)
&gt; Oh, in the login screen. Can confirm.
&gt; 
&gt; Same basic issue, but a different root cause in this case.

QtVirtualKeyboard::AppInputPanel::show() is called each time inputPanel is clicked.
We need to filter events from mouse and physical keyboard</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2058286</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-09-02 15:05:38 +0000</bug_when>
    <thetext>Indeed. Unfortunately I don&apos;t know how to do that. If you do, and you would be willing to work on it, that would be really impactful!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2058460</commentid>
    <comment_count>7</comment_count>
    <who name="Oleg Solovyov">mcpain</who>
    <bug_when>2021-09-03 06:43:34 +0000</bug_when>
    <thetext>It appears that show() is called even when virtualkeyboard is not active.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2058468</commentid>
    <comment_count>8</comment_count>
    <who name="Oleg Solovyov">mcpain</who>
    <bug_when>2021-09-03 07:34:06 +0000</bug_when>
    <thetext>Found. Which branch should be targeted?
I could push to master or Plasma/5.22</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2058470</commentid>
    <comment_count>9</comment_count>
    <who name="Oleg Solovyov">mcpain</who>
    <bug_when>2021-09-03 07:38:57 +0000</bug_when>
    <thetext>(In reply to Oleg Solovyov from comment #8)
&gt; Found. Which branch should be targeted?
&gt; I could push to master or Plasma/5.22

I&apos;m pushing to master, 5.22.5 is already released.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2058471</commentid>
    <comment_count>10</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2021-09-03 07:39:21 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1037</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2059433</commentid>
    <comment_count>11</comment_count>
    <who name="Oleg Solovyov">mcpain</who>
    <bug_when>2021-09-08 06:17:20 +0000</bug_when>
    <thetext>Git commit 9189bfea0a4ebb9bf5e1b3e055fb9440d23f5654 by Oleg Solovyov.
Committed on 08/09/2021 at 06:16.
Pushed by osolovyov into branch &apos;master&apos;.

Deactivate virtual keyboard when hiding

When VK is activated, it&apos;s shown every time we click on user/password
inputs.

M  +1    -0    lookandfeel/contents/lockscreen/LockScreenUi.qml
M  +1    -0    sddm-theme/Main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/9189bfea0a4ebb9bf5e1b3e055fb9440d23f5654</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>