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

display long filename properly #1948

Closed
kswang1029 opened this issue Aug 4, 2022 · 3 comments · Fixed by #2031
Closed

display long filename properly #1948

kswang1029 opened this issue Aug 4, 2022 · 3 comments · Fixed by #2031
Assignees
Labels
enhancement New feature or request

Comments

@kswang1029
Copy link
Collaborator

user feedback from v3 beta test

Images from the ALMA Science Archive usually have long file names such as

member.uid___A001_X879_X8dc.J1924-2914_pol.spw0_1_2_3.mfs.IQU.manual.image.pbcor.fits

with the v3 release, mostly when the space is not sufficient, only the first few characters are displayed so sometimes we see identical file name from different images.

The request is to have a better way to handle long file names so that users can easily read the full file names to know which image is which.

We may consider to use tooltip to show the full file name. For example:

Screen.Recording.2022-08-04.at.14.50.04.mov

We may also consider to show first part and last part of the long file name with ... in between like what macOS does.

@kswang1029 kswang1029 added the enhancement New feature or request label Aug 4, 2022
@I-Chenn I-Chenn mentioned this issue Sep 29, 2022
3 tasks
@I-Chenn
Copy link
Contributor

I-Chenn commented Oct 4, 2022

@kswang1029 @YuHsuan-Hwang:
I would like to discuss with you a bit first before making the first commit to this issue.

According to the description above, I am not sure which part of CARTA should be applied to the new function. Since the "File browser" is already with tooltip to show the file name (see below):
image

Hence, I assume that the new function should be applied to the "Image List" layer, right? Please let me know if it's not.
I have made a quick modification about it, which is shown below:
image
Do you think if the format is OK to go? Or should I use the same format of the "File browser"?

To summarize, I would like to ask:

  1. Is this issue for "Image List layer"?
  2. Is the tooltip format OK for you?

@kswang1029
Copy link
Collaborator Author

@I-Chenn we need the fix for the image list widget and the cursor info widget.
Screen Shot 2022-10-04 at 14 03 25

and can the format be like the following as we have for the file browser dialog?
Screen Shot 2022-10-04 at 13 59 35

@I-Chenn
Copy link
Contributor

I-Chenn commented Oct 4, 2022

OK, understood!
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants