Created attachment 136845 [details]
english and arabic palettes
1. open writer in arabic UI
2. open font color widget to show palette
3. notice that there is a blank space at the end of the palette
Build ID: c5a93cad149618bbd43632f1660a558c34bdbf7e
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2;
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-10-07_01:12:25
Locale: en-US (en_US.UTF-8); Calc: group
Happens with Hebrew interface on version 5.4.1 as well.
I tried to find something related in the code to RID_SVXSTR_COLOR_VIOLET but didn't see anything for RTL interfaces.
Maxim, Gabor: Any thoughts on why this is happening?
I'll look into this once home from the conference.
I have seen such when I accidentally made some holes on the translation handling code and it was unable to match a color name with a translation in method SvxUnoConvertResourceStringBuiltIn :
But no idea why does it happen only for some languages and not others.
I think this may be happening because the translations of Violet and Purple are somehow identical in both languages and that is not something the framework can tolerate:
Changing the translation of Violet in he locale in a local build has fixed the problem for me.
Created attachment 137063 [details]
Changing translation of Violet fixed the problem
Still happens in:
Build ID: 9050854c35c389466923f0224a36572d36cd471a
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: gtk3;
Locale: en-US (en_US.utf8); Calc: group
OS: Debian 64bit Stretch (Debian 9.2, with some backported packages)
On pc Debian x86-64 with master sources updated some days ago, I don't reproduce this.
Noticing tdf#117969 and its fix, do you reproduce this with LO version >= 126.96.36.199?