Ghidra: Popups storm

Created on 6 Aug 2020  路  5Comments  路  Source: NationalSecurityAgency/ghidra

Describe the bug
in a GhidraScript: i had loaded datatype from over 200 DataType File Archive. They were closed by the script. Then the script try to use those java datatype instance loaded.

Resulting in a storm of over 200 modal pop-up . And off course the active pop-up is behind 200 others modal pop-up.
this time consuming and annoying like having a web-page opens popups on a loop.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
1)Error from scripts should be stacked inside a Jlist or something to not open more than pop-up even if the script run throws errors/exception on a loop...
2) At least make the OK button active by default instead of details so i can hit the keyboard 200 times to close them all.

Screenshots
If applicable, add screenshots to help explain your problem.
image
image

Attachments
If applicable, please attach any files that caused problems or log files generated by the software.

Environment (please complete the following information):

  • OS: linux kde plasma desktop
  • Java Version: 13
  • Ghidra Version: 9.1.2 public

Additional context
Add any other context about the problem here.

Most helpful comment

This is a contender for one of the most beautiful screenshots I've seen.

All 5 comments

This is a contender for one of the most beautiful screenshots I've seen.

Is that their default layout? It's like the developer put in an algorithm to make them pop up beautifully.

This is a contender for one of the most beautiful screenshots I've seen.

I once screwed up and had a NPE while getting the icon for a GTreeNode for every node in a tree of 1000+ nodes. The boarders of the popup tend to produce a drop shadow effect after stacking so many. It was a situation where I quickly had to stop the debugger or else I'd be stuck sitting a while. Exceptions in swing threads are fun.

Is that their default layout? It's like the developer put in an algorithm to make them pop up beautifully.

I think they were just spread out to show there is a lot of them.

2) At least make the OK button active by default instead of details so i can hit the keyboard 200 times to close them all.

100% agree with this one. Even when there is only one pop-up I expect it to go away by hitting enter and end up pressing it several times before I remember it won't make it go away.

Is that their default layout? It's like the developer put in an algorithm to make them pop up beautifully.

nope i was willing to click them all but before that !
but only one of them had button enabled.

is had to dig deep and move them around to find the one with button action enabled (in java : modal popup stacked are bad). the plague of modal popup.

modal popup stacked up. you need to search for last one and click then in reverse order witch suck even more

Should be addressed by merge of branch: fc994cd
If not, please reopen.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Piruzzolo picture Piruzzolo  路  19Comments

woachk picture woachk  路  33Comments

0x6d696368 picture 0x6d696368  路  19Comments

lab313ru picture lab313ru  路  16Comments

rszibele picture rszibele  路  35Comments