CodeGlancePro
CodeGlancePro copied to clipboard
[BUG] White flickering rectangle at bottom of minimap when typing
-
Which Glance version and IDEA version? Glance: 1.7.3 Idea Intellij IntelliJ IDEA 2023.2 Build #IU-232.8660.185, built on July 26, 2023
-
Could you show Glance config picture and minimap picture?
Using default configuration of codeglance
- What steps will reproduce the issue?
Type anything in the file. Seems to affect all file types, but I have observed it in .kt and .tsx files. The white box seems to be in the overflow where the file has no more lines, but intellij renders blank space to fill the height of the window. i.e. It's bigger on files with few lines.
sorry,unable to reproduce
can provide your file ?
Sorry I can't, commercial software.
But this happens on any file including newly created ones. I also disabled all other 3rd party plugins.
CodeGlance Pro-1.7.4-SNAPSHOT.zip try this
Issue still happening unfortunately.
I'm on Ubuntu 20.04.6 LTS if that's relevant.
disable this, then see again
Yup that fixed it, thanks.
Got the same bug using CodeGlancePro 1.7.3 on PyCharm 2023.2 on Ubuntu 22.04.3 LTS (X11 + nvidia) The workaround fixed the issue
It seems to be a platform specific issue and cannot be reproduced without Ubuntu system machines
Seeing the same here on:
CodeGlance Pro 1.7.3 CLion 2023.2 Build #CL-232.8660.186, built on July 26, 2023 Red Hat Enterprise Linux release 8.8 (Ootpa).
Disabling Fast Minimap resolved it here as well. Thanks!
https://plugins.jetbrains.com/plugin/18824-codeglance-pro/versions/preview some one can help me test the latest version?
Hi @Nasller I installed the lastest version and unfortunately it still "flash".
For the record, I installed 1.7.4-nightly-2023-08-21T13-53 and re-enabled "Experimental: Use FastMinimap For Main Editor"
Below a screenshot of the settings
Let me know if I can be of any help
Hi @Nasller I installed the lastest version and unfortunately it still "flash". For the record, I installed 1.7.4-nightly-2023-08-21T13-53 and re-enabled "Experimental: Use FastMinimap For Main Editor" Below a screenshot of the settings
Let me know if I can be of any help
I don't have a Linux machine to debug this issue right now,If you know the development of IDEA's plugin, can it help me catch the value of previewImg and renderDataList variables? This is too strange, I cannot reproduce it on Windows11
I don't have a Linux machine to debug this issue right now,If you know the development of IDEA's plugin, can it help me catch the value of previewImg and renderDataList variables? This is too strange, I cannot reproduce it on Windows11
Unfortunately I'm not used to develop IDEA's plugins, nor java/kotlin projects. I cloned the project and tried to build it (struggling a little with some weird gradle errors) but eventually got stuck with a dependency that couldn't be downloaded (jetbrains annotation 24.0.0).
I don't have a Linux machine to debug this issue right now,If you know the development of IDEA's plugin, can it help me catch the value of previewImg and renderDataList variables? This is too strange, I cannot reproduce it on Windows11
Unfortunately I'm not used to develop IDEA's plugins, nor java/kotlin projects. I cloned the project and tried to build it (struggling a little with some weird gradle errors) but eventually got stuck with a dependency that couldn't be downloaded (jetbrains annotation 24.0.0).
You can try to open the project with idea instead of building it.idea will automatically download gradle dependencies. Building the project only needs to be done at the time of release.
When all the dependency work is completed, you can try to use the gradle runIde task to start an idea-like sandbox simulation.
https://plugins.jetbrains.com/plugin/18824-codeglance-pro/versions/preview some one can help me test the latest version?
I tested it, it still has the flickering when fast minimap setting is enabled. Maybe you could install Ubuntu in a VM if you don't have a dedicated linux box?
When all the dependency work is completed, you can try to use the gradle runIde task to start an idea-like sandbox simulation.
That's what I did, but I keep getting this error:
I started from scratch:
- cloned the repo
- open in intellij
- run Tasks intellij runIde using the gradle panel
In the project settings, I use SDK jbr-17.
When I try to download the .pom file following the url in the error message (this one: https://cache-redirector.jetbrains.com/plugins.jetbrains.com/maven/org/jetbrains/annotations/24.0.0/annotations-24.0.0.pom) it gives a 404:
# curl -L -I https://cache-redirector.jetbrains.com/plugins.jetbrains.com/maven/org/jetbrains/annotations/24.0.0/annotations-24.0.0.pom
HTTP/2 302
content-type: text/html
content-length: 138
location: https://dtahfujkndrht.cloudfront.net/plugins.jetbrains.com/maven/org/jetbrains/annotations/24.0.0/annotations-24.0.0.pom
...
...
HTTP/2 404
content-length: 0
date: Tue, 22 Aug 2023 06:34:06 GMT
server: Kestrel
x-artifact-caching-proxy-cached-status: 404
x-artifact-caching-proxy-cached-until: Tue, 22 Aug 2023 06:39:06 GMT
x-artifact-caching-proxy: NEGATIVE_MISS
x-cache: Error from cloudfront
via: 1.1 a33954238ddc352c152e2314fffad1ae.cloudfront.net (CloudFront)
x-amz-cf-pop: BRU50-C1
x-amz-cf-id: H
Either I didn't configure the project correctly or there's a problem with the annotations package cache :grimacing:
24.0.0.zip
put it into caches\modules-2\files-2.1\org.jetbrains\annotations, then try again
do you have discord or other contact method? let me help you
I downloaded the archive, unziped in the ~/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations:
find ~/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/24.0.0
/home/tsi/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/24.0.0
/home/tsi/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/24.0.0/69b8b443c437fdeefa8d20c18d257b94836a92b9
/home/tsi/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/24.0.0/69b8b443c437fdeefa8d20c18d257b94836a92b9/annotations-24.0.0.jar
/home/tsi/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/24.0.0/d0f77e3bd1ba4927fc8bcf0e1ca3b76f6e9b34f8
/home/tsi/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/24.0.0/d0f77e3bd1ba4927fc8bcf0e1ca3b76f6e9b34f8/annotations-24.0.0-sources.jar
But it didn't help :-(
You'll probably go faster by installing an ubuntu vm + intellij, because I have no more time to spend on it these days, sorry.
okay,I know. Thanks for your help.
I downloaded an Ubuntu virtual machine and tried to run the idea and plugin, but unfortunately there was no flashing white box
I created a new kt file for testing later, but it still cannot be reproduced
I also have this issue on v1.7.6 (on Ubuntu 23.04) - this might be related to HW acceleration:
After disabling experimental FastMinimap option it goes away.
Since it hasn't been mentioned before, I also experience this problem on Arch Linux and have been for quite a while. As with the other reports, disabling the "experimental" checkbox makes it go away.
Sorry, since I don't have a Linux machine, I don't know how to fix this problem. If someone happens to know how to develop plugin, please help fix this problem. Thank you.