doyensec / inql

InQL is a robust, open-source Burp Suite extension for advanced GraphQL testing, offering intuitive vulnerability detection, customizable scans, and seamless Burp integration.
https://doyensec.com/
Apache License 2.0
1.51k stars 156 forks source link

Avoid making global changes via UIManager.setLookAndFeel() #104

Closed execveat closed 1 year ago

execveat commented 1 year ago

In order to get InQL to look like main Burp interface, we're using UIManager.setLookAndFeel() as seen in https://github.com/doyensec/inql/blob/dev/python/inql/extender.py#L93. The style gets changed to FlatLaf before adding main UI elements, and it is reverted back after InQL is initiated.

It is a global modification so some elements that are created during the same time by Burp are ineriting FlatLaf as well, which results in graphical glitches. Find a way to solve / sidestep this problem.

execveat commented 1 year ago

Yeah, this seems totally unnecessary on the newer releases. I'm going to close the issue, and it can be re-raised if there are any graphical glitches.