Closed amiremohamadi closed 2 weeks ago
If minimal version of Kodi that Kore supports has the original issue fixed, then simply removing the code is enough. Otherwise, you need to guard that with a flag that is set once on connection estabilishment.
@basilgello reversing the text has never been a correct solution. imagine a situation in which our text is a mixture of RTL and LTR words. therefore, I believe it's a correct behavior not to handle it on the Kore.
OK, just checking as I was not aware of the problem (and its "fix")
No idea about what the correct behaviour should be. @amiremohamadi Do you have a link to the Kodi PR that fixed the issue? @royiarchy Do you have any input into this.
If the issue was fixed in a specific version of Kodi, what basilgello was referring to was keeping the code, but guarding it with something like
if (! hostManager.getHostInfo().isLeiaOrLater) {
// Removed code to reverse text
}
Not sure if necessary
@SyncedSynapse I guess it's solved in this commit. IMO keeping the previous code (reversing the whole text) for the older versions is unnecessary as it will still mess up mixed RTL/LTR texts (even in the older versions of kodi).
seems like it's been fixed in kodi while ago and we should not reverse the input string anymore. @SyncedSynapse