Bug 65232

Summary: Hide splash screen, when loading the test plan fails
Product: JMeter Reporter: Felix Schumacher <felix.schumacher>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEEDINFO ---    
Severity: minor Keywords: FixedInTrunk
Priority: P2    
Version: Nightly (Please specify date)   
Target Milestone: JMETER_5.5   
Hardware: All   
OS: All   
Attachments: Hide splash screen when displaying an error messae

Description Felix Schumacher 2021-04-10 17:58:14 UTC
Created attachment 37807 [details]
Hide splash screen when displaying an error messae

When JMeter is started with an invalid test plan in a graphical environment, it will display the error message behind the splash screen. Further the splash screen will not be closed until the user acknowledges the error message (which is hard to read).

An easy solution would be to hide the splash screen before the error message is displayed. (easy as long as the error is displayed by the JMeter class itself.
Comment 1 Felix Schumacher 2021-04-10 18:04:31 UTC
@Tong Sun, could you test the next nightly or build from trunk and report back, if it fixes your problem?

commit a75fc427de8ce6ce80d3f39e955dda9c68d01483
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Sat Apr 10 19:59:54 2021 +0200

    Hide splash screen when an error is displayed
    
    When the test plan could not be parsed on startup, the splash
    screen would hide it. So close it.
    
    Bugzilla Id: 65232
---
 src/core/src/main/java/org/apache/jmeter/JMeter.java | 2 ++
 xdocs/changes.xml                                    | 1 +
 2 files changed, 3 insertions(+)