[Home]

Summary:ASTERISK-26473: menuselect: GTK frontend messed up on a right-to-left locale
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2016-10-16 21:17:48Date Closed:
Priority:MinorRegression?
Status:Waiting for Feedback/In ProgressComponents:
Versions:11.23.1 13.11.2 14.0.2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:GTK supports locales that have a major right-to-left directionality (Hebrew, Arabic, Farsi and such). When such a locale is installed as is in effect (see below) the layout of gmenuselect is quite messed up. usable, but not easy to understand.

workarounds: The directionality of a GTK application is set from the LC_MESSAGES component of the locale. Hence, depending on your LANG/LC_*/LC_ALL/LANGUAGES (see the output of locale) you can override it with either:

{code}
LANG=C            make gmenuselect
LC_LOCALE=C make gmenuselect
LC_ALL=C        make gmenuselect
{code}
Comments:By: Asterisk Team (asteriskteam) 2016-10-16 21:17:48.665-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2017-12-20 06:21:57.382-0600

Are you actively doing anything on this?

By: Kevin Harwell (kharwell) 2018-07-11 13:59:19.744-0500

[~tzafrir] Were you thinking of submitting a patch for this?

By: Kevin Harwell (kharwell) 2018-07-11 14:04:08.577-0500

If not (going to submit a patch) can you describe more the process to replicate this problem and maybe show some sample output of the problem (screenshot maybe)? For instance, based on your description I installed the Hebrew locale on my system and then compiled using:
{noformat}
LC_ALL==he_IL.utf8 make gmenuselect
{noformat}
Is that all that is required?