-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.8.8版本 添加贴纸水印Bug #289
Comments
有什么复现路径吗 |
我的操作流程如下: |
谢谢,有录屏的话会更好:D |
又试了几次,大概定位到问题了! |
谢谢!这样的设计是故意的( |
我设想的逻辑可能略有不同: |
另外我发现多选图片的编辑状态下,布局里,水印位置的设置,默认是套用给所有多选的图,至少为了逻辑上的一致性,样式里的设定是不是也应该保持一致😆 |
…gment.kt, WaterMark.kt, WaterMarkImageView.kt, and WaterMarkRepository.kt (#289) - Removed imports for android.graphics.Shader and android.os.Build from ImageInfo.kt and WaterMark.kt respectively. - Removed the obtainTileMode() function from ImageInfo.kt and added it to IntExtension.kt as an extension function named toTileMode(). - Renamed the parameter "imageInfo" in the updateTileMode() function of MainViewModel.kt to "tmpConfig". - Renamed the parameter "imageInfo" in the updateTileMode() function of WaterMarkRepository.kt to "mode". - Removed unnecessary null check in TileModeFragment.kt for the selectedImage LiveData. - Simplified comparisons of tileMode in TileModeFragment.kt and WaterMarkImageView.kt. - Refactored the updateTileMode() function of WaterMarkRepository.kt to save the tileMode value to DataStore and emit the updated value to the corresponding LiveData.
* ⬆️ Bump androidx.profileinstaller:profileinstaller (#267) Bumps androidx.profileinstaller:profileinstaller from 1.2.2 to 1.3.0. --- updated-dependencies: - dependency-name: androidx.profileinstaller:profileinstaller dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆️ Bump roomVersion from 2.5.0 to 2.5.1 (#263) Bumps `roomVersion` from 2.5.0 to 2.5.1. Updates `androidx.room:room-runtime` from 2.5.0 to 2.5.1 Updates `androidx.room:room-ktx` from 2.5.0 to 2.5.1 Updates `androidx.room:room-compiler` from 2.5.0 to 2.5.1 --- updated-dependencies: - dependency-name: androidx.room:room-runtime dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.room:room-ktx dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.room:room-compiler dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆️ Bump androidx.fragment:fragment-ktx from 1.5.5 to 1.5.6 (#266) Bumps androidx.fragment:fragment-ktx from 1.5.5 to 1.5.6. --- updated-dependencies: - dependency-name: androidx.fragment:fragment-ktx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆️ Bump androidx.lifecycle:lifecycle-runtime-ktx (#265) Bumps androidx.lifecycle:lifecycle-runtime-ktx from 2.5.1 to 2.6.1. --- updated-dependencies: - dependency-name: androidx.lifecycle:lifecycle-runtime-ktx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆️ Bump androidx.activity:activity-ktx from 1.6.1 to 1.7.0 (#264) Bumps androidx.activity:activity-ktx from 1.6.1 to 1.7.0. --- updated-dependencies: - dependency-name: androidx.activity:activity-ktx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Updated gradle-wrapper.properties to use the new distributionUrl for Gradle-7.5, and updated settings.gradle.kts to use the new version of com.android.tools.build:gradle:7.4.2. * :arrow_up: Bump roomVersion from 2.5.1 to 2.5.2 (#287) Bumps `roomVersion` from 2.5.1 to 2.5.2. Updates `androidx.room:room-runtime` from 2.5.1 to 2.5.2 Updates `androidx.room:room-ktx` from 2.5.1 to 2.5.2 Updates `androidx.room:room-compiler` from 2.5.1 to 2.5.2 --- updated-dependencies: - dependency-name: androidx.room:room-runtime dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.room:room-ktx dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.room:room-compiler dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆️ Bump androidx.profileinstaller:profileinstaller (#277) Bumps androidx.profileinstaller:profileinstaller from 1.3.0 to 1.3.1. --- updated-dependencies: - dependency-name: androidx.profileinstaller:profileinstaller dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆️ Bump androidx.core:core-ktx from 1.7.20 to 1.10.1 (#278) Bumps androidx.core:core-ktx from 1.7.20 to 1.10.1. --- updated-dependencies: - dependency-name: androidx.core:core-ktx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆️ Bump androidx.activity:activity-ktx from 1.7.0 to 1.7.2 (#282) Bumps androidx.activity:activity-ktx from 1.7.0 to 1.7.2. --- updated-dependencies: - dependency-name: androidx.activity:activity-ktx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆️ Bump kotlinVersion from 1.8.0 to 1.8.22 (#285) Bumps `kotlinVersion` from 1.8.0 to 1.8.22. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.0 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.8.0 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ⬆️ Bump androidx.fragment:fragment-ktx from 1.5.6 to 1.6.1 (#290) Bumps androidx.fragment:fragment-ktx from 1.5.6 to 1.6.1. --- updated-dependencies: - dependency-name: androidx.fragment:fragment-ktx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update build.gradle.kts to use Kotlin jvmToolchain(17) instead of compileOptions. Update build.gradle.kts to use Kotlin jvmToolchain(17) instead of kotlinOptions. Add Kotlin jvmToolchain(17) to build.gradle.kts. Update build.gradle.kts to use classpath "com.android.tools.build:gradle:8.1.0" instead of libs.tools.gradle. Add android.defaults.buildfeatures.buildconfig=true, android.nonTransitiveRClass=false, android.nonFinalResIds=false to gradle.properties. Update distributionUrl to https\://services.gradle.org/distributions/gradle-8.2-bin.zip in gradle-wrapper.properties. * Update java version from 11 to 17 in pr_pre_check.yml and release.yml * Refactor ImageInfo.kt, IntExtension.kt, MainViewModel.kt, TileModeFragment.kt, WaterMark.kt, WaterMarkImageView.kt, and WaterMarkRepository.kt (#289) - Removed imports for android.graphics.Shader and android.os.Build from ImageInfo.kt and WaterMark.kt respectively. - Removed the obtainTileMode() function from ImageInfo.kt and added it to IntExtension.kt as an extension function named toTileMode(). - Renamed the parameter "imageInfo" in the updateTileMode() function of MainViewModel.kt to "tmpConfig". - Renamed the parameter "imageInfo" in the updateTileMode() function of WaterMarkRepository.kt to "mode". - Removed unnecessary null check in TileModeFragment.kt for the selectedImage LiveData. - Simplified comparisons of tileMode in TileModeFragment.kt and WaterMarkImageView.kt. - Refactored the updateTileMode() function of WaterMarkRepository.kt to save the tileMode value to DataStore and emit the updated value to the corresponding LiveData. * [AboutActivity.kt] - Removed the code block related to checking the SDK version and setting the foreground to null for the window. [WaterMarkImageView.kt] - Removed the condition to check the SDK version for creating a static layout instance and created a static layout unconditionally. [MainActivity.kt] - Removed the code block related to checking the SDK version and setting the foreground to null for the window. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
感谢建议,已经在最新版 2.8.9 调整为应用到全部图片,欢迎体验 :D |
如标题。添加贴纸水印,平铺格式选择单个,预览正常。但生成的图片就是按照重复的排列添加的水印
版本2.8.8
系统MIUI14
设置页面截图:
生成的图片:
初步判断是bug,期待修复😂
感谢开发
The text was updated successfully, but these errors were encountered: