supermemo-wine
supermemo-wine copied to clipboard
[Bug] changing default stylesheet: SM17 freezes
I use your Lutris variant of SM 17. I use the installation I have made about 1.5 years ago.
What's the problem? Answer: SM17 freezes.
How to reproduce:
- Press "add new" so that a new blank element is created using the default template "Item" and "default Style"
- Type in some text in both html Components
- menu->Tools->Optins->Fonts
- uncheck "use question and anwer fonts in html"
- press stylesheet
- choose text
- press the font button
- change font size (choose a greater size)
- press OK
- and again OK Result: SM is frozen.
Thank you for reproducing this.
.
.
Lutris: 0.5.7.1
I have now made a few attempts in a VirtualBox (Win8.1).
Unfortunately, this puts a much higher load on the CPU (Intel Core i5-4570):
Linux: idle: about 2% SM started in wine: idle: about 3% Linux with started Virtual Box with Win 8.1: idle: about 4% SM started in the Win8.1 VM: idle: about 13% SM started in the Win8.1 VM (sound option inactivated for the VM): idle: about 12%
I have solved this.
Here is how I have done it:
- open Lutris
- select the programme (-> Supermemo 17)
- At the right side click on "Wine Registry" -> Wine Registry opens
- navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CSSfile
- in the folder "CSSfile" create the key shell
- in the created folder shell create the key open
- in the created folder "open" create the key command
- select the created folder "command"
- double click on "(standard)" (on right side)
- put in the filed "C:\windows\system32\notepad.exe %1"
- close the registry
- start supermemo 17 new and try if it now works. -> result: now we can edit the stylesheet
Could this "registry entry" be included in your Lutris SM Installer, so that is made automatically in the future?