List view: rename editor font doesn't match cell text when zoomed
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.6k
- Forks
- 368
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 2
Description
Distribution
Mint 22.3
Package version
6.7.4
Frequency
Always
Bug description
Problem: When you rename a file in list view, the editing field opens with the default font size instead of the size of the cell text. For any view zoom above "Standard" the entry looks out of place / too small.
Steps to reproduce
Steps to reproduce: Set list view to a higher zoom level (e.g. "Large"), press F2 on a file.
Expected: The rename editor uses the same font size as the displayed cell text.
Expected behavior
During editing fonts size is the same
Additional information
Possible fix: In cell_renderer_editing_started_cb (src/nemo-list-view.c), read the renderer's scale property and apply pango_attr_scale_new to the entry's attributes. Own fix is working for me.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/nemo-list-view.c at cell_renderer_editing_started_cb and inspect how the list cell's renderer scale is available. Reproduce with list view zoom set to Large and F2 on a file, then verify the rename editor text matches the displayed cell text at higher zoom levels.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100