CollaboraOnline / online

Collabora Online is a collaborative online office suite based on LibreOffice technology. This is also the source for the Collabora Office apps for iOS and Android.
https://collaboraonline.com
Other
1.76k stars 676 forks source link

View > Sidebar: "Style" dropdown showing some Style names "in a foreign language" #9364

Open Tex2002ans opened 2 months ago

Tex2002ans commented 2 months ago

Describe the Bug

Instead of showing:

in the sidebar's "Style" dropdown, it showed a "foreign language":

even though the entire rest of my UI was in English:

Collabora 24 04 4 2 - Writer - Sidebar Style Dropdown Showing Foreign Body Text

(See how toolbar version shows correct "Body Text" highlighted, but the sidebar version shows "Corps de texte"!)

Note: This bug probably requires multiple users (with mixes of UI/browser languages) at same time. I was in "English (US)" + at least 1 other user was in a "French" browser.

Steps to Reproduce

In Writer:

  1. View > Sidebar ON.
  2. Click in any paragraph with the "Body Text" Style applied.

BUG: Look at sidebar's Style dropdown.

Expected Behavior

Actual Behavior

Desktop

Tested on Sharing server:

COOLWSD version: 24.04.4.2 (git hash: a5718066 (E))
LOKit version: Collabora Office 24.04.4.2 (git hash: 7fb545b)
Served by: openSUSE Leap 15.5
Server ID: a16ecc5f

Additional Context

Found during COOL Weekly 172:

While this bug was occurring, I also noticed...

When I opened sidebar's "Styles" dropdown, it also had lots of other strange "French" Styles showing below English "Heading 1":

Collabora 24 04 4 2 - Writer - Sidebar Style Dropdown Showing Foreign Styles 2

Maybe that might give a hint to root of problem too:

Odd thing was, the French names only appeared in the "Sidebar" version, and didn't seem to appear in the "Home" tab version. (But I didn't look TOO TOO closely through every Style in the Home tab previews.)

timur-g commented 2 months ago

The way to fix is to find repro steps, as in #7492, please see if you can.