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

File that match a hash is sometimes not shown correctly #194

Open
NovaliX-Dev opened this issue Sep 24, 2023 · 0 comments
Open

File that match a hash is sometimes not shown correctly #194

NovaliX-Dev opened this issue Sep 24, 2023 · 0 comments

Comments

@NovaliX-Dev
Copy link

NovaliX-Dev commented Sep 24, 2023

When we open the hash tab with a checksum on the clipboard, OpenHashTab checks if it corresponds to the file selected. It the hash match, it shows that file below the hash text field. This behavior is also trigger when we paste a hash into the hash field.

The problem

But sometimes, the filename is too long, so it's warped to the next line, and this next line is cut off by the widgets at the bottom.
Resizing the OpenHashTab window doesn't solve the issue, and we can't resize the Property window.

image
image

Potential solutions

I see three solutions to resolve this issue (maybe there are other i didn't though of as well):

  • Adjust the window accordingly to the file name
    • Pro : we can see the full filename without any interaction
    • Con : maybe this is not possible for the File Property window + difficult to implement
  • Cut the filename off and add "..." at the end
    • Pro : it solves the problem + Easy to implement i guess
    • Con : We can't see the whole filename
  • Add a horizontal scroll bar to the filename if needed
    • Pro : We don't need to cut the filename or to resize the window
    • Con : More complex to implement i guess + Need interaction to see the full filename
@NovaliX-Dev NovaliX-Dev changed the title File that match a hash in the clipboard is sometimes not shown correctly File that match a hash is sometimes not shown correctly Sep 24, 2023
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

No branches or pull requests

1 participant