[Windows] RTL languages (Arabic and Persian) cause blank UI after restart

Open
#281 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
desktop

Research direction

Start by tracing how the Windows GUI reads the saved language from %LOCALAPPDATA%\Kiri\ui.json and initializes its WebView2 window on launch; compare that path with English and the Arabic or Persian settings. Reproduce by changing the language, quitting from the tray, and relaunching. Done when both RTL languages render a functional interface after restart and English still works.

Written by the indexing model from the issue text.

Description

bug
Kiri version and system

Kiri 0.2.1 Windows 11 x64 WebView2 Runtime 157.0.4341.46

What you did
  1. Open Kiri on Windows.
  2. Go to Settings → Appearance → Language.
  3. Change the interface language to Arabic.
  4. Quit Kiri completely from the system tray.
  5. Launch Kiri again.

The same issue occurs when selecting Persian instead of Arabic.

English works normally.

What happened
After restarting Kiri with Arabic or Persian selected, the application opens a blank window.

The kiri-win.exe process remains running, but the interface is not rendered.

WebView2 processes do not appear to be launched by Kiri.

The Kiri container engine continues working normally. Running `docker version` successfully reports Kiri 0.2.1.

Changing the language back to English in:

%LOCALAPPDATA%\Kiri\ui.json

restores the interface after restarting Kiri.
What you expected instead

Kiri should launch normally and render its interface correctly when an RTL language such as Arabic or Persian is selected.

The interface should remain functional after quitting and restarting the application.

Anything else

This issue appears to affect RTL languages, not just Arabic, since it is reproducible with both Arabic and Persian.

English works correctly.

The issue is reproducible after completely quitting Kiri from the system tray and launching it again.

Temporary workaround: change the "lang" setting in ui.json to "en".

The container engine itself remains operational, so the issue appears to be limited to the Windows GUI.

I can provide screenshots of the blank window if needed.

Screenshots

  1. Arabic selected in language settings before restarting.
  2. Blank UI after restarting with Arabic selected.
image image
Dominant language
Rust
Stars
7.5k
Forks
329
Avg merge
7h 48m
Merged PRs (30d)
105

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from libracoder/kiri

All issues in libracoder/kiri

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.