On Mon, 16 Nov 2026 13:26:32 GMT, Azad Abdulov <[email protected]> wrote:

> 3 million letters, and no one lays that out at once. I hope.

Right, I agree that this ideally shouldn't happen. However the issue is 
relatively easy to reproduce in IntelliJ even without JBR regression.

I wanted to reproduce this with something realistic. I opened log file of my 
IDEA, it contained 40k lines, so I took that number and added 2 more runs on 
every third line, nothing too crazy.
`seq 40000 | awk '{print ($1 % 3 == 0 ? "C:\\Users\\Пользователь\\logs\\app_" : 
"C:\\Users\\user\\logs\\app_") $1 ".log"}' > longFile.txt`

<img width="1716" height="698" alt="image" 
src="https://github.com/user-attachments/assets/a04c0fa0-e916-4f51-8e10-e44718eb8de2";
 />
I have a run config that just prints the result of that command. On the left in 
`Demo.kt` there's warning icon that just lays out the entire text in a tooltip 
on hover. Probably something similar happened to the end user. It freezes IDEA 
for a few seconds upon hover.

Should that tooltip contain the entire file content? I don't think so, but it 
does.
I have a conflicted feeling about this. I'm glad that this weird use was found 
and it should be fixed in IntelliJ, but I'd rather not learn about such things 
from a freeze on the user side.

@prrace wdyt? It's a real case, but may be too exotic to complicate the logic.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/33853#issuecomment-6987300292

Reply via email to