Guys faced with such a strange problem ```@Composa...
# compose-android
a
Guys faced with such a strange problem
Copy code
@Composable
fun SampleText(modifier: Modifier = Modifier) {
    Text(
        text = "مرحباً، صباح الخير يا عزيزي",
        overflow = TextOverflow.Clip,
        softWrap = false,
        maxLines = 1,
        modifier = modifier
            .background(color = Color.White)
            .width(120.dp)
    )
}
if I use overflow with softWrap false in RTL language, it cuts down from beginning of text(from the right) not from the end of the text(from left) does someone know how to fix such a issue ? thank you in advance
z
Please file a bug
👍 1
a
Ofc created, looks like when MultiParagraphLayoutCache created need to update LayoutDirection Thank you @Zach Klippenstein (he/him) [MOD]
🙌 1
z
A bug report with an RCA?! Thanks! 😊
k
Are you running the app / test under top-level locale that has RTL direction? Or is the expectation that every single
Text
composable “analyzes” its content and sets its own layout direction “appropriately”?
a
It was a bug which I faced while implementing feature, and to minimize outside factors I tested such a small piece of code and again reproduced that issue
r
I’ve tested with different parameters Two parameters are the source of the bug overflow=TextOverflow.Clip and softWrap = false @Zach Klippenstein (he/him) [MOD] How long will it take an issue to start fixing and show up in AOSP review center?
a
@Zach Klippenstein (he/him) [MOD] how much time it could take bug fix it blocks to use compose in new features
z
Not sure. I’m no longer at Google though, so I’m not sure what the status of this bug is internally. Cc @Halil Ozercan
👍 1
a
got it thank you @Zach Klippenstein (he/him) [MOD]
good day @Halil Ozercan this problem still actual, could you pls share how much time it could took to fix this issue ?