Status Update
Comments
lb...@gmail.com <lb...@gmail.com> #2
"However, the issue of going on the left pane to the correct file also occurs even on new projects."
lb...@gmail.com <lb...@gmail.com> #4
tn...@google.com <tn...@google.com>
vs...@google.com <vs...@google.com>
so...@google.com <so...@google.com> #6
Duplicate of
lb...@gmail.com <lb...@gmail.com> #7
so...@google.com <so...@google.com> #8
4.+
lb...@gmail.com <lb...@gmail.com> #9
But at least on this case I can't reproduce.
lb...@gmail.com <lb...@gmail.com> #10
So it's not fixed at all.
Here's the info of the IDE:
Android Studio 4.1 Canary 3
Build #AI-193.6494.35.41.6297379, built on March 15, 2020
Runtime version: 1.8.0_242-release-1644-b01 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 7964M
Cores: 12
Registry: ide.new.welcome.screen.force=true
Non-Bundled Plugins: String Manipulation, org.jetbrains.kotlin, com.longforus.kotlincodesorter, com.mistamek.drawablepreview.drawable-preview, ignaciotcrespo.github.com.vector-drawable-thumbnails, izhangzhihao.rainbow.brackets, org.intellij.plugins.markdown
so...@google.com <so...@google.com> #11
Did the flickering span the whole project/module subtree or just a specific tree node only?
lb...@gmail.com <lb...@gmail.com> #12
so...@google.com <so...@google.com> #13
If you notice something specific please let us know. There are likely several more instances of the same problem in the code. Unfortunately, they are not easy to spot.
lb...@gmail.com <lb...@gmail.com> #14
See attached video.
I created a "layout" folder in "shared" module while having some other files opened. And it got crazy when I removed this folder.
so...@google.com <so...@google.com> #15
Thank you! I can reliably reproduce it.
lb...@gmail.com <lb...@gmail.com> #16
lb...@gmail.com <lb...@gmail.com> #17
Focus on some image on "res/drawable-xxhdpi".
Outside of the IDE, copy a file of the same name into a new folder that you create, on "res/drawable-night-xxhdpi".
Go back to the IDE.
so...@google.com <so...@google.com> #18
Thank you! This is in fact seems to be the same scenario when the IDE attempts to re-select a previously selected item. Some nodes fail to find their children they still contain. We are working towards completely removing the root cause by switching from now deprecated apis to refresh the tree.
lb...@gmail.com <lb...@gmail.com> #19
so...@google.com <so...@google.com> #20
Fixed by removing the offending code using deprecated APIs and adding tests that ensure consistent behavior of the methods used with the newer API.
lb...@gmail.com <lb...@gmail.com> #21
so...@google.com <so...@google.com> #22
It is not yet released in any. It may appear in 4.1 betas or in 4.2 only (not sure yet).
lb...@gmail.com <lb...@gmail.com> #23
Wish I could choose here to remind me when the fix is available for all, so that I could re-check it.
Description
Version of Gradle Plugin:
Version of Gradle:
Version of Java:
OS:
Android Studio 3.2 Canary 14
Build #AI-181.4668.68.32.4763614, built on May 4, 2018
JRE: 1.8.0_152-release-1136-b03 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Steps to Reproduce:
1. Open a large project. Example this one:
2. Enable the "autoscroll to source" and the "autoscroll from source" options
3. create a new activity using the wizard.
The bug:
It goes crazy in focus and scrolling in the left pane.
And in the end, it doesn't even always go to the newly created activity, even though the focus is on its java/kotlin file.
The focus issue exists even on a completely new project, but it's less noticeable because of how fast it is.
However, going on the left pane to the correct file occurs
Attached sample project and video to show issue.