Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gui] Weird Behaviour on hover #1993

Closed
1 of 3 tasks
realyukii opened this issue Aug 30, 2023 · 6 comments
Closed
1 of 3 tasks

[gui] Weird Behaviour on hover #1993

realyukii opened this issue Aug 30, 2023 · 6 comments
Labels
bug GUI Issues in jadx-gui module

Comments

@realyukii
Copy link

Issue details

when I browse the decompiled project, an unexpected popup keeps appearing:
image

Jadx version

1.4.7

Java version

20.0.2

OS

  • Windows
  • Linux
  • macOS
@realyukii realyukii added bug GUI Issues in jadx-gui module labels Aug 30, 2023
@realyukii
Copy link
Author

Restarting the jadx-gui solved this issue, but I'm still wondering what's actually happened.

@realyukii
Copy link
Author

image

It's a little bit annoying when I need to restart frequently when this bug appears :(
@skylot any suggestion?

@jpstotz
Copy link
Collaborator

jpstotz commented Sep 6, 2023

The first question is if this is a system specific bug (e.g. Java 20 bug) or if this is triggered by some unusual code in the app you have decompiled. In both screenshots you have loaded the same APK, have you encountered this problem also with other APKs?

If it is Java related you could try latest Jadx version with integrated Java (which is Java 19). Or you can test latest Jadx unstable version.

@skylot
Copy link
Owner

skylot commented Sep 6, 2023

@Reyuki-san it looks like tooltip rendering issue. There are several similar reports (#1401, #1867), but I still not sure what causing it and how to fix this. Also, I can't reproduce it 😭

I can suggest trying to check latest unstable build (both with bundled jre and without).
Maybe issue was in FlatLaf lib and was fixed already, also might worth trying switching to default theme.

As a last resort, I can add an option to disable tooltips in code area to check if it was a cause.

@realyukii
Copy link
Author

Thanks for the response, I will try your advice if the bug shows up again and give the feedback
unfortunately now the bug occurs infrequently, so at this time I did not change the jadx version or try to decompile another apk.

@kotori2
Copy link

kotori2 commented Mar 6, 2024

I think it's a Java issue rather than Jadx. I can reproduce this glitch on many Java desktop applications (BurpSuite etc.). This issue can be triggered if you are using a high-end monitor (4K resolution with 200% scaling).
I found this solution from BurpSuite community, and it does solve the issue for Jadx:
Simply append "-Dsun.java2d.noddraw=true" "-Dsun.java2d.d3d=false" "-Dswing.useflipBufferStrategy=True" "-Dsun.java2d.ddforcevram=true" "-Dsun.java2d.ddblit=false" to the end of set DEFAULT_JVM_OPTS= in jadx-gui.bat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug GUI Issues in jadx-gui module
Projects
None yet
Development

No branches or pull requests

4 participants