mikepenz / AboutLibraries

AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose-jb environments

Home Page:http://mikepenz.github.io/AboutLibraries/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License dialog text is not shown correctly

LethalMaus opened this issue · comments

About this issue

The dialog text is cut off for me. I am utilizing the legacy UI fragment on Android.

        val fragment = LibsBuilder()
            .withVersionShown(true)
            .withLicenseShown(true)
            .withLicenseDialog(true)
            .supportFragment()

        supportFragmentManager.beginTransaction().apply {
            replace(R.id.fragment_container, fragment)
        }.commit()

The provided screenshots show the start of the text (cannot scroll upwards) and that scrolling downwards is possible, but no text is shown.

Screenshot_20240209_143237
Screenshot_20240209_143248

Details

  •  Used library version - 10.10.0
  •  Used support library version
  •  Used gradle build tools version - 8.3.0-rc01
  •  Used tooling / Android Studio version - Android Studio Iguana | 2023.2.1 RC 1
  •  Other used libraries, potential conflicting libraries

Checklist

@LethalMaus thank you for the report.

Can you reproduce this in the sample app? I just tried to see if the same happens in the FragmentActivity, and it doesn't appear to be the case.

I also notice the dialog has a different corner radius than the sample 🤔 Could it be a m2 vs m3 issue perhaps?

No worries, thanks for the great library. I haven't had the time to build a mini sample app. It could be that it's M2 as we have not yet migrated.

Appreciated @LethalMaus

You can use the sample app in this repo perhaps: https://github.com/mikepenz/AboutLibraries/tree/develop/app

Having it reproduced in this context would really help!

Alright, as soon as I get the chance I'll do so. The app is not compiling straight off the bat on my mac, will try it on my Windows PC later on this week and let you know.

I am building this project on a Mac, any details on what is not compiling for you?

A problem occurred configuring root project 'AboutLibraries'.
> Could not determine the dependencies of task ':plugin-build:plugin:compileKotlin'.
   > No matching toolchains found for requested specification: {languageVersion=11, vendor=any, implementation=vendor-specific} for MAC_OS on aarch64.
      > No locally installed toolchains match and toolchain download repositories have not been configured.

I didnt spend long looking into it. I presume its because I'm on Java 17

Ah yes. It's searching for a java 11 on your system. And can't find any