https://bugs.kde.org/show_bug.cgi?id=501101

            Bug ID: 501101
           Summary: [bug/feature] "Switch to Last-Used Keyboard Layout"
                    doesn't work on new windows before actual layout
                    switch
    Classification: Frameworks and Libraries
           Product: frameworks-kglobalaccel
           Version: 6.11.0
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: krok...@gmail.com
                CC: fanzhuyi...@gmail.com
  Target Milestone: ---

SUMMARY
I have 3 keyboard layouts: US, RU, UA, and mostly use US and RU, and rarely
switching to UA
I want to use "Switch to Last-Used Keyboard Layout" accell to switch between US
and RU, but I cant:
On newly created windows, where actual layout switching hasn't been yet, there
is no "last" layout to switch to, and the accell just doesn't work.

I propose to set the "last" layout to the second layout in global list by
default, so in case of my setup, default layout is US, and the "last" layout
will be set to RU by default.

STEPS TO REPRODUCE
1. Setup 2+ keyboard layouts
2. Setup "Switch to Last-Used Keyboard Layout" accell
3. Open new application window with text input
4. Type something to confirm default layout
5. Use the "Switch to Last-Used Keyboard Layout" accell
6. Type something again

OBSERVED RESULT
Keyboard layout hasn't changed and still default

EXPECTED RESULT
Keyboard layout has changed

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.5-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 5900HX with Radeon Graphics
Memory: 62.2 GB of RAM
Graphics Processor 1: AMD Radeon RX 6800M
Graphics Processor 2: AMD Radeon Graphics

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to