Opened 3 years ago

Closed 10 months ago

Last modified 10 months ago

#5385 closed defect (fixed)

F.P.S. Overlay bug when in bulgarian language

Reported by: miro.marvel Owned by: bb
Priority: Should Have Milestone: Alpha 24
Component: UI – Miscellaneous Keywords:
Cc: Patch: Phab:D1764

Description

When I am in English or any other language I can see the fps counter:https://gyazo.com/ced3936b9874a3afc144bd3b905a3628 But when in Bulgarian I can't see them...only after I turn on the time options then the fps is shown but there is no time...and after I turn on all 3 of them they still show bad... https://gyazo.com/cc079c30dcb1344a203e50e01e910119 https://gyazo.com/1d7ec65d44f2622f923f2c1da5f7dd06 https://gyazo.com/76d24dc4702a6e21863d473d53731f9e

Change History (9)

comment:1 by Ram, 3 years ago

Hello! I can see where the problem comes from. Because of the word, "Кадри/сек" is too large then the FPS number overflows the other stats. A simple fix can be done by removing a space in the translation file.

comment:2 by Ram, 3 years ago

Currently waiting for a review on that bug. Phab:D1764

comment:3 by Ram, 3 years ago

Milestone: BacklogWork In Progress

comment:4 by Imarok, 2 years ago

Component: UI & SimulationMisc. UI

Move tickets to their correct component as "UI & Simulation" got some sub components.

comment:5 by Itms, 2 years ago

Keywords: fps bug bulgarian removed
Patch: ​Phab:D1764

comment:6 by godbhaal, 10 months ago

Related to #5829

comment:7 by bb, 10 months ago

Owner: set to bb
Resolution: fixed
Status: newclosed

In 24075:

Let the Overlay width depend on the longest string in it

Based on Path By: ramtzok1
Differential Revision: D1764
fixes #5385

comment:8 by bb, 10 months ago

Milestone: Work In ProgressAlpha 24

comment:9 by bb, 10 months ago

In 24076:

Redo the previous commit by actually parsing the comments in the revision: use getTextSize. This allows some nukes in the OverlayCounterManager.

refs rP24075
refs #5385
Differential Revision: D1764

Note: See TracTickets for help on using tickets.