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

Plain text file without extension acts as an "image" and is not select-able #1809

Closed
kallisti5 opened this issue Jun 23, 2021 · 2 comments · Fixed by #1842 · May be fixed by devcode1981/ipfs-webui#8 or xaiksan1/ipfs-webui#3
Closed
Assignees
Labels
area/screen/files Issues related to Files screen effort/hours Estimated to take one or several hours exp/novice Someone with a little familiarity can pick up good first issue Good issue for new contributors help wanted Seeking public contribution on this issue P2 Medium: Good to have, but can wait until someone steps up

Comments

@kallisti5
Copy link

kallisti5 commented Jun 23, 2021

Describe the bug
Basic text is rendering as an "image" and isn't select-able.

Expected behavior
Being able to copy + inspect text data.

Screenshots

These are all "images" and cannot be selected as text:

image
text_image

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Opera, Firefox

Additional context
Add any other context about the problem here.

Version: UI v2.12.3

@kallisti5 kallisti5 added the need/triage Needs initial labeling and prioritization label Jun 23, 2021
@kallisti5
Copy link
Author

This MFS data can be seen here: https://de.hpkg.haiku-os.org/haikuports/master/x86_64/current

@lidel
Copy link
Member

lidel commented Jul 9, 2021

Indeed there seem to be a bug when .txt extension is not specified but the file is mime-sniffed as plain text:

@lidel lidel added effort/hours Estimated to take one or several hours exp/novice Someone with a little familiarity can pick up good first issue Good issue for new contributors help wanted Seeking public contribution on this issue P2 Medium: Good to have, but can wait until someone steps up area/screen/files Issues related to Files screen and removed need/triage Needs initial labeling and prioritization labels Jul 9, 2021
@lidel lidel changed the title Basic text is an "image" and not select-able Plain text file without extension acts as an "image" and is not select-able Jul 9, 2021
@hacdias hacdias self-assigned this Aug 23, 2021
@tinytb tinytb moved this to Done in IP JS (PL EngRes) v2 Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/screen/files Issues related to Files screen effort/hours Estimated to take one or several hours exp/novice Someone with a little familiarity can pick up good first issue Good issue for new contributors help wanted Seeking public contribution on this issue P2 Medium: Good to have, but can wait until someone steps up
Projects
No open projects
Archived in project
3 participants