Nasller / CodeGlancePro

Minimap run on jetbrains platform.
Apache License 2.0
201 stars 22 forks source link

[BUG] #105

Closed transentia closed 11 months ago

transentia commented 11 months ago
  1. Which Glance version and IDEA version?

IntelliJ IDEA 2023.3 EAP (Ultimate Edition) Build #IU-233.8264.8, built on September 28, 2023 Licensed to IntelliJ IDEA EAP user: Bob Brown Expiration date: October 28, 2023 Runtime version: 17.0.8.1+7-b1063.1 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11.0 GC: G1 Young Generation, G1 Old Generation Memory: 4056M Cores: 20 Registry: ide.experimental.ui=true Non-Bundled Plugins: com.nasller.CodeGlancePro (1.7.5) com.intellij.spring.webflow (233.8264.8) com.intellij.plugin.adernov.powershell (2.1.0) Kotlin: 233-1.9.0-release-358-IJ8264.8

  1. Could you show Glance config picture and minimap picture?

    image
  2. What steps will reproduce the issue? Just open a window that CG will opeate with.

Get multiple exceptions, all:

    at com.nasller.codeglance.panel.GlancePanel.paintSomething(GlancePanel.kt:293)
    at com.nasller.codeglance.panel.GlancePanel.paintComponent(GlancePanel.kt:279)
image
transentia commented 11 months ago

Also get this when the code lens shows:

    at com.nasller.codeglance.panel.scroll.CustomEditorFragmentRenderer$EditorFragmentPreviewPanel.getPreferredSize(CustomEditorFragmentRenderer.kt:105)
    at com.nasller.codeglance.panel.scroll.CustomEditorFragmentRenderer$EditorFragmentPreviewPanel.paintComponent(CustomEditorFragmentRenderer.kt:111)
Nasller commented 11 months ago

Duplicate of #102

transentia commented 11 months ago

Interesting: code lens will only show if the area representing the window contents is NOT over it:

Shows, causes exception:

image

Won't show:

image
Nasller commented 11 months ago

Interesting: code lens will only show if the area representing the window contents is NOT over it:

Shows, causes exception: image

Won't show:

image

This is a normal function, and I will fix this error when JetBrains fixes their code lens