Status Update
Comments
ca...@gmail.com <ca...@gmail.com> #2
Branch: androidx-master-dev
commit b90079595f33f58fece04026a97faa0d243acdb1
Author: Yuichi Araki <yaraki@google.com>
Date: Wed Sep 18 16:55:49 2019
Change the way to detect mismatch between POJO and query
This fixes cursor mismatch warnings with expandProjection.
Bug: 140759491
Test: QueryMethodProcessorTest
Change-Id: I7659002e5e0d1ef60fc1af2a625c0c36da0664d8
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/TestProcessor.kt
di...@google.com <di...@google.com> #3
sp...@google.com <sp...@google.com> #4
Branch: androidx-master-dev
commit bdde5a1a970ddc9007b28de4aa29d60ffa588f08
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 16 16:47:05 2020
Re-factor how errors are dismissed when query is re-written
This CL changes how we handle errors/warnings if query is
re-written.
There was a bug in expandProjection where we would report warnings
for things that Room already fixes automatically (
The solution to that problem (I7659002e5e0d1ef60fc1af2a625c0c36da0664d8)
solved it by deferring validating of columns until after re-write
decision is made. Unfortunately, this required changing PojoRowAdapter
to have a dummy mapping until it is validating, make it hard to use
as it does have a non-null mapping which is not useful.
This CL partially reverts that change and instead rely on the log
deferring logic we have in Context. This way, we don't need to break
the stability of PojoRowAdapter while still having the ability to
drop warnings that room fixes. This will also play nicer when we
have different query re-writing options that can use more information
about the query results.
Bug: 153387066
Bug: 140759491
Test: existing tests pass
Change-Id: I2ec967c763d33d7a3ff02c1a13c6953b460d1e5f
M room/compiler/src/main/kotlin/androidx/room/log/RLog.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
bo...@google.com <bo...@google.com> #5
we are fixing it.
ya...@google.com <ya...@google.com> #6
ya...@google.com <ya...@google.com> #7
Update: it happens on U as well. Please use T (API 33) until we fix it.
ca...@gmail.com <ca...@gmail.com> #8
Intellij Idea version. 2021.1.2 and although the pixelation is reduced, the
error remains
El mar, 11 jul 2023 a las 5:19, <buganizer-system@google.com> escribió:
ca...@gmail.com <ca...@gmail.com> #9
the pixelation is not evident but when interacting with the home it is
evident, I attach evidence
El mar, 11 jul 2023 a las 13:24, <buganizer-system@google.com> escribió:
ca...@gmail.com <ca...@gmail.com> #10
the pixelation is not evident but when interacting with the home it is
evident, I attach evidence
El mar, 11 jul 2023 a las 15:21, <buganizer-system@google.com> escribió:
ya...@google.com <ya...@google.com> #11
Hi,
would you help to report your emulator version as well as your graphics card? Thanks
ca...@gmail.com <ca...@gmail.com> #12
GPU:
NVIDIA GeForce GTX 1650
Driver version: 31.0.15.3667
Controller Date: 12/07/2023
DirectX version: 12 (FL 12.1)
For the emulator I am using the following version:
[image: image.png]
El lun, 24 jul 2023 a las 12:24, <buganizer-system@google.com> escribió:
ya...@google.com <ya...@google.com> #13
Hi,
The image in #12 doesn't seem to be uploaded successfully. Would you report the emulator version again?
We used to have a screen tearing issue with nVidia graphics drivers, but we fixed it a few months ago. Would you try to update your emulator to the latest version and try it again? Thanks
ca...@gmail.com <ca...@gmail.com> #14
I am using the device manager from Android Studio Flamingo | 2022.2.1 Patch
2, I downloaded it 1 week ago directly from the official page, Android 13
x86_64 is the emulator that fails the least, even so it pixelates when
interacting with the menu, I attach the characteristics of the version
Android Studio Flamingo | 2022.2.1 Patch 2
Build #AI-222.4459.24.2221.10121639, built on May 12, 2023
Runtime version: 17.0.6+0-b2043.56-9586694 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2560M
Cores: 12
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
gradle.version.catalogs.dynamic.support=true
Non-Bundled Plugins:
wu.seal.tool.jsontokotlin (3.7.4)
com.tabnine.TabNine (1.0.35)
com.intellij.marketplace (222.4459.28)
String Manipulation (9.7.1)
izhangzhihao.rainbow.brackets (2023.3.2-ij)
El mar, 25 jul 2023 a las 18:25, <buganizer-system@google.com> escribió:
ya...@google.com <ya...@google.com> #15
Hi,
Sorry for the unclear instructions. If you click "SDK manager", in "SDK tools" tab, there would be an "Android Emulator" with a version number, as is shown in the screenshot here. What would be your version number there? (It should look like 32.1.14)
We used to have a similar issue in
ca...@gmail.com <ca...@gmail.com> #16
Thanks in advance for the clarification, the version is 32.1.14, I attach
the evidence
[image: image.png]
El mié, 26 jul 2023 a las 13:13, <buganizer-system@google.com> escribió:
ya...@google.com <ya...@google.com> #17
Carlos,
Could you try to see if you could repro #12? You would need a windows machine with nVidia GeForce GPU (not the Quadro GPU on corp), and run the emulator in embedded mode with API 33.
ca...@gmail.com <ca...@gmail.com> #18
ya...@google.com <ya...@google.com> #19
ca...@google.com <ca...@google.com> #20
I can reproduce it with Flamingo Patch 2, emu 32.1.14-10330179, and using the play store version of API 33.
It does not happen while on the home screen but when I try to close the app drawer half way it, the black checker boxing like in
ya...@google.com <ya...@google.com> #21
You may download it from this link:
Please use version 33.1.15 or higher (do not use 32.1.*)
ca...@gmail.com <ca...@gmail.com> #22
emulator download file?
El vie, 18 ago 2023 a las 12:43, <buganizer-system@google.com> escribió:
Description
```
Build: AI-222.4459.24.2221.10121639, 202305120703,
AI-222.4459.24.2221.10121639, JRE 17.0.6+0-b2043.56-9586694x64 JetBrains s.r.o., OS Windows 11(amd64) v10.0 , screens 2400.0x1350.0
AS: Flamingo | 2022.2.1 Patch 2
Kotlin plugin: 222-1.8.20-release-AS3739.54
Android Gradle Plugin: 8.0.2
Gradle: 8.0
Gradle JDK: JetBrains Runtime version 17.0.6
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
IMPORTANT: Please read
```