Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gui text filter with Wildcard option doesn't work with multiple files loaded #117

Closed
eneelo opened this issue Dec 6, 2023 · 0 comments · Fixed by #120
Closed

gui text filter with Wildcard option doesn't work with multiple files loaded #117

eneelo opened this issue Dec 6, 2023 · 0 comments · Fixed by #120
Assignees
Labels
bug Something isn't working gui Issue is related to GUI

Comments

@eneelo
Copy link
Collaborator

eneelo commented Dec 6, 2023

Describe the bug
GUI fails to list time series names when more than one file is loaded and filter option is set to "Wildcard".

To Reproduce
Steps to reproduce the behavior:

  1. Install qats version 5.0.3.
  2. Open GUI and load a single file. Verify that time series names are listed.
  3. Load a second file and observe how all time series name disappear from list (keep filter option on "Wildcard").
  4. Set filter option to "Regular expression" or "Fixed string", and see how time series names are listed again.

Expected behavior
Time series names should still be listed when second file is loaded.

Screenshots
Time series names listed as expected with "Wildcard" option:
image

After second file is loaded:
image
image

Cause
A likely cause is the backslash included in the name after second file is loaded. This backslash is not escaped, causing issues for the wildcard-based regular expression in the qt module (e.g., pyside6).

Suggested solution
Use forward slash (/) instead of backslash (\) as separator in full time series names.

Other comments
A related issue is #110, see the comment: #110 (comment)

@eneelo eneelo added bug Something isn't working gui Issue is related to GUI labels Dec 6, 2023
@eneelo eneelo mentioned this issue Dec 7, 2023
2 tasks
@tovop tovop closed this as completed in #120 Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gui Issue is related to GUI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants