Repository navigation
Conversation
|
This says Details and a unit side option ( |
The handover ran whenever any autostart entry launched fcitx5, including one already marked Hidden=true, so a healthy session had its input method restarted for nothing. A restart drops every X11 client's input context, which can crash Steam later (omacom#9541). Replace fcitx5 only when a process the service does not own is running; a failed earlier handover still leaves that process behind, so the retry still happens. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A handover that killed the competing fcitx5 but then failed to start the service left nothing running outside it, so a rerun found nothing to replace and passed with the service down; restart whenever the service is not active. Search only this user's processes, since another user's fcitx5 is not competing with this service. Read the last line of a desktop entry that has no final newline, which otherwise missed its Exec key or added a second Hidden key beside Hidden=false. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-Authored-By: Codex Medium <[email protected]>
|
Reviewed and verified on an Omarchy worker VM, with three fixes pushed to your branch (cd2dd46). It now waits on the maintainer. Reproduction. On Fixed on your branch:
Each fix has a test, and each test fails with its fix reverted. The full suite passed on the worker: Second opinion: Codex Medium reviewed it twice. The first round found the three defects above; I hadn't reasoned about the second or third. The second round, on the pushed head, found nothing further. Left as they are: entries that launch fcitx5 through a wrapper ( For the maintainer: |
|
Thank you for this. The work is carried forward in #15508, which brings the still-missing parts of Japanese, Chinese and Korean setup together into one change, so I am closing this in its favour. The restart loop from #7461 is fixed in #15508 a different way: the unit now runs This was checked against |
The Quattro handover moved fcitx5 into
omarchy-fcitx5.service, but the original migration onlykills the process that is running at update time. A differently named user autostart entry, such
as
~/.config/autostart/fcitx5.desktop, survives and starts again at the next login.That instance can claim
org.fcitx.Fcitx5before the service does. fcitx5 then exits cleanly, andRestart=alwaysturns the service into a permanent two-second restart loop.This follow-up migration finds user desktop entries whose main
Exec=directly launches fcitx5and marks them
Hidden=true, preserving the file and its custom fields. In a graphical session ithands the running instance back to the supervised service through
omarchy-restart-xcompose. Afailed handover remains retryable.
This is a new migration rather than a change to the original handover because existing 4.0 users
may already have recorded that migration as complete.
Testing
./test/all- all 182 test files passedCloses #7461