Bug 468760

Summary: Yakuake terminal not receiving keyboard input at startup
Product: [Applications] yakuake Reporter: Timothy Arnold <timaeos>
Component: generalAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Timothy Arnold 2023-04-21 12:48:03 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

System: Fedora 38 KDE

STEPS TO REPRODUCE
1. Reboot computer
2. Login
3. Use the F12 shortcut key to open the terminal
4. Begin Typing 

OBSERVED RESULT
No input is seen in the Yakuake terminal. This is shortly after the Fedora 37 -> 38 upgrade.

In order for Yakuake to be responsive again, you must close Yakuake and reopen.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Timothy Arnold 2023-05-02 11:12:04 UTC
It appears that this issue has to do with an interaction with IBus being started prior to a particular process for plasmashell or some other desktop environment setup program.

In order to resolve this, I had to add a 3 second delay to the IBus script. (Aside: The reason I'm using IBus instead of fcitx is that Ibus has better support for certain asian languages which I switch between.)

Below is startup script I have now for starting the IBus daemon. It is run using the `Autostart` settings in System settings.
```
#!/bin/sh
sleep 3
ibus-daemon -drxR
```

I'm still not clear on which program the ibus-daemon is waiting on in order to properly start but this appears to be what was causing the Yakuake not receiving input (initially I thought it was frozen but it appears to have just been the keyboard input that wasn't working).

If anyone has any idea on how I can determine what the background process the ibus-daemon needs to wait on, please let me know.
Comment 2 Timothy Arnold 2023-05-02 11:14:14 UTC
I just noticed that I didn't fill out the form completely when I submitted this:

EXPECTED RESULT
Yakuake should receive input from the keyboard on startup

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.2.13-300.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 590 Series
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X470 AORUS GAMING 7 WIFI

ADDITIONAL INFORMATION
Comment 3 Timothy Arnold 2024-08-05 18:51:43 UTC
This appears to have been resolved at some point