Difference between revisions of "Toggle JxBrowser mode in WFP for Mac"

From Wordfast Wiki
Jump to: navigation, search
m (David Daduč moved page Turn off JxBrowser light mode in WFP for Mac to Toggle JxBrowser mode in WFP for Mac without leaving a redirect)
Line 1: Line 1:
Here are steps that will let you turn off the lightweight mode of the JxBrowser editor in [[Wordfast Pro 5]] in MacOS. This article is written as of Wordfast Pro version '''5.11.1'''.
+
[[Wordfast Pro]] (WFP) uses JxBrowser technology to display its user interface. JxBrowser can run in either '''heavyweight''', or '''lightweight''' mode. Heavyweight is default and recommended.<ref>The heavyweight mode was causing crashes in earlier WFP 5.x versions with some MacOS systems (WFP 5.12 fixed the problem). That's why an option to switch to the lightweight mode was implemented in WFP for MacOS and it is still there (written as of version 6.0.0).</ref>
  
You may want to follow these steps in order to fix specific problems in the Wordfast Pro editor, especially after you have discussed this with the Wordfast hotline team and you are aware of the downside: this can cause frequent Wordfast Pro crashes when you open or close the app.
+
[[File:A-accents-MacOS.png|thumb|Entering accents in MacOS]]To toggle the JxBrowser mode in WFP, click on the '''''WF''''' icon in the top left corner of the app, and access '''''Browser Mode''''' tab. Select the mode you want and click on '''''Apply'''''. If you changed the mode, WFP will tell you the change will apply after you restart WFP. Close the dialog and restart WFP for the change to take effect.
  
==The steps==
+
Switching to the lightweight mode is not recommended. It hinders IME typing (Chinese, Japanese, Korean) as well as entering accented characters by pressing and holding the unaccented key in MacOS. Sometimes it might make sense to switch to the lightweight mode for debugging reasons.
  
1. Close Wordfast Pro 5.
+
==References==
 
 
2. Open Finder and go to the ''Applications'' folder in Finder.
 
 
 
3. Right-click the ''Wordfast Pro'' app and select ''Show package contents''.
 
 
 
4. Go to ''Contents > Java > Configuration'' folder and open '''config.ini''' file in TextEdit.
 
 
 
5. Go to the end of the code in the file and look for the following two lines (both should be near the end but not necessarily next to each other):
 
 
 
org.gs4tr.jxbrowser.type=light
 
jxbrowser.ipc.external=true
 
 
 
6. Enter the [https://en.wikipedia.org/wiki/Number_sign number sign] at the beginning of each of the two lines, so they will look like this:
 
 
 
#org.gs4tr.jxbrowser.type=light
 
#jxbrowser.ipc.external=true
 
 
 
7. Save and close the file in TextEdit.
 
 
 
8. Open Wordfast Pro 5.
 
 
 
== Reverting the steps==
 
 
 
To revert the steps and run Wordfast Pro 5 with the JxBrowser in the lightweight mode again, follow the same steps and remove the number signs you entered in the '''config.ini''' file.
 
 
 
Note that when you download Wordfast Pro 5 for Mac (version 5.11.1 or newer) and install it again in ''Applications'' on your Mac, replacing the existing version, this will also automatically set JxBrowser to the default mode.
 

Revision as of 20:43, 16 April 2021

Wordfast Pro (WFP) uses JxBrowser technology to display its user interface. JxBrowser can run in either heavyweight, or lightweight mode. Heavyweight is default and recommended.[1]

Entering accents in MacOS
To toggle the JxBrowser mode in WFP, click on the WF icon in the top left corner of the app, and access Browser Mode tab. Select the mode you want and click on Apply. If you changed the mode, WFP will tell you the change will apply after you restart WFP. Close the dialog and restart WFP for the change to take effect.

Switching to the lightweight mode is not recommended. It hinders IME typing (Chinese, Japanese, Korean) as well as entering accented characters by pressing and holding the unaccented key in MacOS. Sometimes it might make sense to switch to the lightweight mode for debugging reasons.

References

  1. The heavyweight mode was causing crashes in earlier WFP 5.x versions with some MacOS systems (WFP 5.12 fixed the problem). That's why an option to switch to the lightweight mode was implemented in WFP for MacOS and it is still there (written as of version 6.0.0).