mherrmann / mherrmann/fman

Let plugins color files

Open
#519 1 comment 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

8 votes API enhancement
Dominant language
Python
Stars
275
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Several use cases require being able to style/color individual files:

  • distinguishing hidden files (#54)
  • show that a file is being cut / copied (#38)
  • distinguish older files (#428)
  • color files based on extension / MIME type (#518)

The goal of this issue is to offer an API that lets plugins do this. This would also make it possible for instance to write a Git plugin that colors new/modified files in green/yellow etc.

At the time of this writing, it is not straightforward to implement this feature. The reason is that files in fman are currently being rendered as a table by Qt. This feature would require that we render them ourselves.

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

Start by examining how fman currently renders files as a Qt table and how plugins interact with file views. Review the related issues #54, #38, #428, and #518 for the requested use cases. Done means plugins have an API for coloring individual files, including the listed scenarios, without relying on the current rendering limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.