<?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>476831</bug_id>
          
          <creation_ts>2023-11-11 09:49:03 +0000</creation_ts>
          <short_desc>Per application Keyboard Layout not remembered under Wayland</short_desc>
          <delta_ts>2026-06-04 14:25:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>kcm_keyboard</component>
          <version>5.27.9</version>
          <rep_platform>Manjaro</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <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>0</everconfirmed>
          <reporter name="Silver Salonen">silver.salonen</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>butirsky</cc>
    
    <cc>dev</cc>
    
    <cc>duha.bugs</cc>
    
    <cc>KDE</cc>
    
    <cc>m.kurz</cc>
    
    <cc>msched</cc>
    
    <cc>natalie_clarius</cc>
    
    <cc>nate</cc>
    
    <cc>omosnacek</cc>
    
    <cc>postix</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>2264875</commentid>
    <comment_count>0</comment_count>
    <who name="Silver Salonen">silver.salonen</who>
    <bug_when>2023-11-11 09:49:03 +0000</bug_when>
    <thetext>SUMMARY
I use &quot;Application&quot; Switching Policy for keyboard layouts. When used under X11, layout mappings for applications were always remembered, even across sessions. Under Wayland they are not remembered, even within the same session.


STEPS TO REPRODUCE
1. Use Wayland session
2. Configure multiple (I use 2) keyboard layouts

OBSERVED RESULT
I always switch to US layout when using Konsole. When closing Konsole and starting it again, it uses my first layout instead.

EXPECTED RESULT
After switching layout for an application and closing the application, re-opening the application should also switch to the layout used last with this application.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2279896</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey">butirsky</who>
    <bug_when>2024-01-12 16:12:32 +0000</bug_when>
    <thetext>This bug might be related with Session management on Wayland which is not quite implemented yet.

*** This bug has been marked as a duplicate of bug 436318 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2279898</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey">butirsky</who>
    <bug_when>2024-01-12 16:15:00 +0000</bug_when>
    <thetext>If it&apos;s doubtful this should be handled with the session management, we can reopen the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2280044</commentid>
    <comment_count>3</comment_count>
    <who name="Silver Salonen">silver.salonen</who>
    <bug_when>2024-01-13 07:14:30 +0000</bug_when>
    <thetext>I&apos;m not sure what component handles this, but it does not seem to me it&apos;s related to session. The use-case I described is done during the same session, not over several sessions.
Although previously, I think per application keyboard layouts indeed were remembered across sessions too.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>