<?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>450014</bug_id>
          
          <creation_ts>2022-02-11 15:13:55 +0000</creation_ts>
          <short_desc>Unable to switch input method or open Maliit virtual keyboard in Overview search</short_desc>
          <delta_ts>2025-03-05 16:18:21 +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>effects-overview</component>
          <version>5.24.0</version>
          <rep_platform>Manjaro</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>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="countfatcode">countfatcode</reporter>
          <assigned_to name="David Edmundson">kde</assigned_to>
          <cc>artetk</cc>
    
    <cc>laichiaheng</cc>
    
    <cc>nate</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>postix</cc>
    
    <cc>qydwhotmail</cc>
    
    <cc>wengxt</cc>
    
    <cc>wlmqljj</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/kwin/-/commit/5dca0553899ae53da389dd74bb0c278036bcda83</cf_commitlink>
          <cf_versionfixedin>6.4.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2103373</commentid>
    <comment_count>0</comment_count>
    <who name="countfatcode">countfatcode</who>
    <bug_when>2022-02-11 15:13:55 +0000</bug_when>
    <thetext>When I open Overview effect, and input English character, it works nice. When I want to input some chinese characters using fcitx5-rime, it will do nothing. No characters will be inputed under cursor.

Reproducible: Always

Steps to Reproduce:
1. open Overview effect
2. transfer input method to fcitx5-rime
3. try to type on search
Actual Results:  
no character will be inputted

Expected Results:  
the chinese characters will be inputted under cursor</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103516</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-02-11 18:47:27 +0000</bug_when>
    <thetext>Does it work in other text fields in Plasma, such as the search field for the Application Launcher or the Networks applet?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103726</commentid>
    <comment_count>2</comment_count>
    <who name="countfatcode">countfatcode</who>
    <bug_when>2022-02-12 01:29:08 +0000</bug_when>
    <thetext>It works fine unless in overview</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103746</commentid>
    <comment_count>3</comment_count>
    <who name="Weng Xuetian">wengxt</who>
    <bug_when>2022-02-12 02:59:00 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #1)
&gt; Does it work in other text fields in Plasma, such as the search field for
&gt; the Application Launcher or the Networks applet?

I already did some initial investigation 

This is solely a overview effect issue. I&apos;m not exactly sure about wayland case in terms of making it work, because it would be like talk to kwin itself or implement a special QPA. I&apos;d at least assume we can try to make it work under X11.

I think the reason behind this is that kwin is using QOffscreenWindow for this effect, and somehow setFocusObject is never triggered to the input method. Thus, input method doesn&apos;t know it the text field has focus and just bypass all the key event.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2337724</commentid>
    <comment_count>4</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2024-07-16 13:39:54 +0000</bug_when>
    <thetext>*** Bug 490286 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2364236</commentid>
    <comment_count>5</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-10-10 11:34:05 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6590</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2372020</commentid>
    <comment_count>6</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-11-05 16:41:31 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6735</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2392846</commentid>
    <comment_count>7</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2025-01-27 10:21:08 +0000</bug_when>
    <thetext>Git commit 5dca0553899ae53da389dd74bb0c278036bcda83 by David Edmundson.
Committed on 27/01/2025 at 10:05.
Pushed by davidedmundson into branch &apos;master&apos;.

input: Support Input Methods for internal windows and effects

The internal Qt QPA is now connected directly to InputMethod stack when any
item has focus.

Unlike the wayland protocol nothing is double buffered because we should
process everything before the next frame.

M  +1    -0    src/CMakeLists.txt
M  +12   -10   src/input.cpp
M  +68   -3    src/inputmethod.cpp
M  +9    -0    src/inputmethod.h
A  +198  -0    src/internalinputmethodcontext.cpp     [License: GPL(v2.0+)]
A  +67   -0    src/internalinputmethodcontext.h     [License: GPL(v2.0+)]
M  +11   -0    src/plugins/qpa/integration.cpp
M  +2    -0    src/plugins/qpa/integration.h

https://invent.kde.org/plasma/kwin/-/commit/5dca0553899ae53da389dd74bb0c278036bcda83</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2404968</commentid>
    <comment_count>8</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-03-05 16:18:21 +0000</bug_when>
    <thetext>*** Bug 500940 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>