Tech-FZ / EmuGUI

A QEMU GUI that I made.
https://tech-fz.github.io/EmuGUI-doc/
GNU General Public License v3.0
103 stars 10 forks source link

Dialogs can't recognize language anymore #37

Closed Tech-FZ closed 1 year ago

Tech-FZ commented 1 year ago

I discovered a critical bug within the localization engine of EmuGUI, however, there is a workaround until this issue is getting fixed.

My specifications: OS: Windows 10 Pro x64, Version 21H2 Processor: Intel Core 2 Duo E8400, 2 cores, 2 threads, 3 GHz RAM: 12 GB DDR3-1066 Graphics card: NVIDIA GeForce GT 710 2 GB (MSI version) EmuGUI: 0.6.1 (Python script, was in development at the time of writing) QEMU: 7.0

The problem: After some tasks, EmuGUI doesn't want to open any dialog anymore due to an issue with the localization engine.

Steps for possible reproduction:

  1. Create or edit a virtual machine.
  2. Start a virtual machine.
  3. Try to do any of the above steps again.

Temporary workaround: If dialogs don't open anymore, close and reopen EmuGUI.

How a permanent fix could look like: At boot and when the language is changed, EmuGUI could make a language.txt file where dialogs can get the desired language just in case that information can't be retrieved from the database anymore. Language changing may require a restart in a future update.

Tech-FZ commented 1 year ago

I could minimize the issue to a minor extent.