Bug 65232 - Hide splash screen, when loading the test plan fails
Summary: Hide splash screen, when loading the test plan fails
Status: NEEDINFO
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: Nightly (Please specify date)
Hardware: All All
: P2 minor (vote)
Target Milestone: JMETER_5.5
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2021-04-10 17:58 UTC by Felix Schumacher
Modified: 2021-04-10 18:04 UTC (History)
0 users



Attachments
Hide splash screen when displaying an error messae (831 bytes, patch)
2021-04-10 17:58 UTC, Felix Schumacher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)