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

Selecting a binary file named "profile?seconds=25.1" seems to break layout #495

Open
tagptroll1 opened this issue Nov 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tagptroll1
Copy link

Describe the bug
I have closed the preview, opened another file tab to test around. When i move the select cursor over a file named "profile?seconds=25.1" the layout breaks. That being the top lines are now shown twice, "current directroy" and the root? of the pinned dires on the left "superfile" is shown twice. This shift is probably causing a lot of the other issues.
Multiple cursors are shown in the file explorer with the profile file
Footer is 5-10 lines above the bottom of the terminal, overlaying text.
Disks is 5 lines below the "Disks" header.
Ill try to share screenshots the help illustrate this, but the content is somewhat sensitive.

To Reproduce
Steps to reproduce the behavior:
Create a pprof profile file and name it "profile?seconds=25.1". I havent tested what the real cause is, but renaming the profile to profile.pprof solves the issue, so there is a combination of the binary profile file and the name with ?=.1 or something that might cause this

Expected behavior
A clear and concise description of what you expected to happen.
I expect the tui to not shift and break layout

Screenshots
If applicable, add screenshots to help explain your problem.
Note files above and under, its floating over the file explorer
image
image

Screenshot 2024-11-28 at 10 22 49

the p file is the trouble file
image

System information (please complete the following information):

  • OS: [e.g. iOS] Darwin 24.1.0 - macOS
  • Version [e.g. 22] Sequoia 15.1.0
  • superfile Version [e.g. 1.1.1] 1.1.6
  • Wezterm & Zsh
@tagptroll1 tagptroll1 added the bug Something isn't working label Nov 28, 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

No branches or pull requests

1 participant