Valkyrie icon indicating copy to clipboard operation
Valkyrie copied to clipboard

Blank Tool window

Open bpappin opened this issue 2 months ago • 6 comments

For some reason, I get a blank tool window fairly often.

Android Studio Narwhal 4 Feature Drop | 2025.1.4 Build #AI-251.27812.49.2514.14217341, built on October 6, 2025 Runtime version: 21.0.8+-14018985-b1038.68 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.lwawt.macosx.LWCToolkit macOS 15.7 Kotlin plugin: K2 mode GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 5120M Cores: 11 Metal Rendering is ON Registry: ide.balloon.shadow.size=0 ide.browser.jcef.sandbox.enable=false ide.experimental.ui=true com.android.studio.ml.activeModel=com.android.studio.ml.AidaModel terminal.new.ui=true Non-Bundled Plugins: com.intellij.marketplace (251.27812.123) com.jetbrains.kmm (0.9-251.27812-AS-97) io.github.composegears.valkyrie (0.17.4)

Image

bpappin avatar Oct 31 '25 18:10 bpappin

Hello, any crashlogs?

egorikftp avatar Oct 31 '25 18:10 egorikftp

I was looking but there was so much cruft in them, I couldn't see what to send.

Restarting Android Studio seemed to return it to working order.

It's happened before, so it will probably happen again, and I'll see if I can get you better info.

Awesome tool btw.

bpappin avatar Oct 31 '25 22:10 bpappin

Logs can be found in following way.

Image

By the way, I can't reproduce in 0.17.4

egorikftp avatar Nov 01 '25 16:11 egorikftp

Yes I am aware of how to find the logs. If it happens again, maybe I'll get to them while there is relevant information availible.

Also, it was happening with 0.17.4 and the previous version that was bumping up agains the compose bug.

bpappin avatar Nov 03 '25 01:11 bpappin

@bpappin I got crash log from one of plugin user. Sometimes Compose crash with this stacktrace

java.lang.IllegalStateException: layout state is not idle before measure starts
  at androidx.compose.ui.internal.InlineClassHelperKt.throwIllegalStateException(InlineClassHelper.kt:28)
  at androidx.compose.ui.node.MeasurePassDelegate.performMeasure-BRTryo0$ui(MeasurePassDelegate.kt:999)
  at androidx.compose.ui.node.MeasurePassDelegate.remeasure-BRTryo0(MeasurePassDelegate.kt:472)
  at androidx.compose.ui.node.LayoutNode.remeasure-_Sx5XlM$ui(LayoutNode.kt:1212)
...

If you reproduce this again, could you please note the screen or some steps? Thanks!

egorikftp avatar Nov 05 '25 19:11 egorikftp

It just happened again, but there is not a lot I can see in the log.

2025-11-05 15:03:38,083 [13694458] SEVERE - #c.i.i.p.PluginManager - 'void org.jetbrains.skia.paragraph.ParagraphStyleKt._nSetReplaceTabCharacters(long, boolean)'
2025-11-05 15:03:38,086 [13694461] SEVERE - #c.i.i.p.PluginManager - Android Studio Narwhal 4 Feature Drop | 2025.1.4  Build #AI-251.27812.49.2514.14217341
2025-11-05 15:03:38,086 [13694461] SEVERE - #c.i.i.p.PluginManager - JDK: 21.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2025-11-05 15:03:38,086 [13694461] SEVERE - #c.i.i.p.PluginManager - OS: Mac OS X
2025-11-05 15:03:38,086 [13694461] SEVERE - #c.i.i.p.PluginManager - Plugin to blame: Valkyrie - SVG to ImageVector version: 0.17.4

Unfortunately I can't send the whole log file, and that is all i can find in the log that is related to Valkyrie.

bpappin avatar Nov 05 '25 20:11 bpappin