Skip to content

Fix File->Open recent showing old files#6509

Open
KingRabbid wants to merge 1 commit intoapache:masterfrom
KingRabbid:fix-file-refresh
Open

Fix File->Open recent showing old files#6509
KingRabbid wants to merge 1 commit intoapache:masterfrom
KingRabbid:fix-file-refresh

Conversation

@KingRabbid
Copy link
Contributor

Description

When working with multiple JMeter instances in parallel, in GUI mode, the Open recent files doesn't get updated in the GUI but it does behind the scene, in the registry/shared storage. So what ones believes it opens, actually leads to opening another file.

Motivation and Context

Open what one wants, not some random file; in current state, the feature is unusable.

How Has This Been Tested?

Manual testing, multiple JMeter GUI instances, in each open various files, check the "File->Open recent" being refreshed in all GUI instances.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • [x ] My code follows the code style of this project.
  • I have updated the documentation accordingly.

@FSchumacher
Copy link
Contributor

I tested this (quite late I know) on linux it has not the wanted effect. The menu select event is routed to the new code, but it seems, that the prefs object has no knowledge of the changed values (yet?).

Did you test your stuff under Windows?

FSchumacher pushed a commit to FSchumacher/jmeter that referenced this pull request Mar 22, 2026
@KingRabbid
Copy link
Contributor Author

KingRabbid commented Mar 23, 2026

Hi,

I'm working in both Windows 11 and Linux (WSL 2 with Ubuntu 20+ or Rocky 10+) and fix works fine.
I'm still on an older version of JMeter v5.6.3, maybe the difference comes from 3rd party libraries or Java version (mine is v11)?

@FSchumacher
Copy link
Contributor

Well, no 3rd party libraries on my side. I tested it on current trunk with at least Java 17. So maybe the differences are coming from the newer Java version or from Ubuntu on WSL handling file syncs differently than a "real" ubuntu directly on bare metal.

Could you test the updated #6675 and report if it fixes your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants