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

Load catalog button does not work after click the wrong catalog file twice #2378

Closed
acdo2002 opened this issue May 14, 2024 · 0 comments · Fixed by #2380
Closed

Load catalog button does not work after click the wrong catalog file twice #2378

acdo2002 opened this issue May 14, 2024 · 0 comments · Fixed by #2380
Assignees
Labels
bug Something isn't working

Comments

@acdo2002
Copy link
Contributor

acdo2002 commented May 14, 2024

Describe the bug
If I double click the wrong catalog file (for example I double click image in the load catalog widget), then the load catalog button does not clickable (gray color).
This behavior only happened after double clicking the wrong catalog file (one time clicking is fine), found this behavior accidentally.

To Reproduce
Steps to reproduce the behavior:

  1. Open any image (e.g. Gaussian_J2000.fits)
  2. Click on 'File > Import catalog'
  3. Double click the wrong catalog file (e.g. Gaussian_J2000.fits), then you will find that the 'Load catalog' button disable.
  4. then try to click the normal catalog file (e.g. artificial_catalog_J2000.xml), the catalog information displayed properly, however the 'Load catalog' button is still disable. (if you double click the normal catalog file, it still can import the catalog, just the 'Load catalog' button does not work)

Expected behavior
No matter one-time click or double click, if click the normal catalog file, the 'Load catalog' button should available.

Screenshots or videos

Screen.Recording.2024-05-14.at.5.11.15.PM.mov

Platform info (please complete the following information):

  • OS [e.g. macOS Monterey]: macOS 11.6 Big Sur
  • Browser [e.g. chrome, safari, electron app]: Chrome
  • Browser version [e.g. 22]: Version 124.0.6367.119 (Official Build) (arm64)
  • Backend branch [e.g. dev, v3b2 release]: dev
  • Frontend branch [e.g. dev, v3b2 release]: dev
@YuHsuan-Hwang YuHsuan-Hwang self-assigned this May 16, 2024
@YuHsuan-Hwang YuHsuan-Hwang added the bug Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants