mherrmann / mherrmann/fman

Wrong display of filenames with spaces after dots

Open
#825 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
275
Forks
16
PR merge metrics
No merged PRs in 30d

Description

My version of fman incorrectly displays filenames if they have spaces after dots: it just trims spaces visually. Although it's not that commonly used pattern of naming, I guess it's still should be displayed correctly.

Here's how filenames should look like:
1

And this is how it looks in fman:
2

Also there's a problem with extension in this particular case: it's too close to filename in both of examples.

fman version: 1.7.3 (registered to arseny@softculture.cc)
OS version: MacOS 11.2.3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the filename display problem described in fman 1.7.3 on macOS 11.2.3 using names with spaces after dots. Inspect the file-list display path and verify that those spaces remain visible and that the extension has appropriate separation from the filename.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.