JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.92k stars 1.16k forks source link

After upgrading to version 1.5.0, there is an issue with the display of Text content on iOS 11 #3817

Open DJ-LEE11 opened 11 months ago

DJ-LEE11 commented 11 months ago

Describe the bug With the Compose version 1.4.3, the display of text is normal on iOS 11, but after upgrading to version 1.5.0, there is an issue with the display of text on iOS 11, while it is normal on iOS 16.

Affected platforms

Versions

To Reproduce Steps and/or the code snippet to reproduce the behavior:

  1. Create some Text like this:
    @Composable
    fun App() {
    Surface(color = Color(0xFFFFFFFF)) {
        Column {
            Text("Letter", Modifier.padding(top = 50.dp), color = Color.Red)
            Text(
                "Hello world!",
                color = Color.Black
            )
            Text("Number", Modifier.padding(top = 20.dp), color = Color.Red)
            Text(
                "2023.10.13 20:20",
                color = Color.Black
            )
            Text("Chinese", Modifier.padding(top = 20.dp), color = Color.Red)
            Text(
                "你好,世界!",
                color = Color.Black
            )
            Text("Symbol", Modifier.padding(top = 20.dp), color = Color.Red)
            Text(
                "~!@#$%^&*()_+{}:<>?|",
                color = Color.Black
            )
        }
    }

Expected behavior Letter、Number、Symbol is normal on iOS 11.

Screenshots iOS11、compose1.4.3、normal

compose11old

iOS11、compose1.5.0、abnormal

compose11new

iOS16.6、compose1.5.0、normal

compose14new
elijah-semyonov commented 11 months ago

Hi, thanks for the report. Unfortunately we dropped support for iOS 11 in Compose 1.5.0. Does the bug arise on iOS 12 as well?

DJ-LEE11 commented 11 months ago

Hi, thanks for the report. Unfortunately we dropped support for iOS 11 in Compose 1.5.0. Does the bug arise on iOS 12 as well?

I tried it, and iOS12 is well.

elijah-semyonov commented 11 months ago

Problem is not present on iOS 16, 15, 14

MatkovIvan commented 11 months ago

Tested on iPad mini 2 (iOS 12.5.7) with 1.5.3 and the latest master state - it works fine, the issue was not reproduced

okushnikov commented 3 weeks ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.