Arabic Diacritics move to unwanted places if you use an Index Marker in the same line
Adobe InDesign CC 14.0 (Middle Eastern version -- English يدعم العربية)
a. Type this Arabic text: شَيْء غريب
b. Create new Index entry for the second word: غريب
The Diacritics should stay as they were.
Diacritic of the second letter (يْ) goes somewhere else.
Hassaan Abdur Razzaaq commented
Also happens with footnotes and some special characters. RTL fonts with OpenType features are generally very buggy in InDesign. Even popular fonts like Traditional Arabic are almost unusable with diacritics. The Quranic fonts from nashr.qurancomplex.gov.sa also don't work.
These bugs have been around for more than half a decade. The Middle-Eastern features don't seem to have been touched since the days of WinSoft.