<?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>483235</bug_id>
          
          <creation_ts>2024-03-11 13:13:05 +0000</creation_ts>
          <short_desc>Attaching the Keyboard Layout widget to a panel causes the global shortcut for switching keyboard layout to defocus the current window</short_desc>
          <delta_ts>2024-03-19 18:50:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>8</classification_id>
          <classification>I don&apos;t know</classification>
          <product>kde</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>479084</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>qt6</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>accounts</reporter>
          <assigned_to name="Unassigned bugs">unassigned-bugs-null</assigned_to>
          <cc>nate</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>2298903</commentid>
    <comment_count>0</comment_count>
    <who name="">accounts</who>
    <bug_when>2024-03-11 13:13:05 +0000</bug_when>
    <thetext>SUMMARY
Attaching the Keyboard Layout widget to a panel causes the global shortcut for switching keyboard layout to defocus the current window. This upsets the flow of trying to type with multiple keyboard layouts, as you have to re-focus the window every time you switch the layout.

STEPS TO REPRODUCE
1. Configure a shortcut to switch keyboard layouts (system settings -&gt; keyboard -&gt; advanced -&gt; switching to another layout -&gt; win + space) (problem occurs on any set shortcut)
2. On a second monitor, add a new default panel (right-click desktop -&gt; enter edit mode -&gt; add panel -&gt; default panel)
3. Add the keyboard layout widget (add widgets -&gt; keyboard layout)
4. Drag the keyboard layout widget to the newly created default panel
5. Open any application
6. Press the layout-switch shortcut

OBSERVED RESULT
Currently selected application loses focus, must re-select to continue typing.

EXPECTED RESULT
Don&apos;t lose window focus, and continue typing as normal.

SOFTWARE/OS VERSIONS
Linux: 6.7.9.arch1-1
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2299166</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-11 19:44:19 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 482653 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303116</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-19 18:50:55 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 479084 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>