linuxmint / linuxmint/nemo

Renaming a file stops after first character if the window is just small enough for a scrollbar to appear

Open
#3,755 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.6k
Forks
368
Avg merge
4d 4h
Merged PRs (30d)
2

Description

Distribution

Ubuntu 25.10

Package version

nemo 6.4.5

Frequency

Always

Bug description

If a Nemo window is just small enough for a scrollbar to appear, but not much smaller than that, and you try to rename a file, renaming stops after typing the first character.

Steps to reproduce

Set up a Nemo window that looks something like this, small enough for the scrollbar to show up but as big as possible other than that:
Image

Select a file (it seems to work with any file) and press F2 to start renaming it.
Type a new filename with more than 1 character. It will stop renaming after the first character is typed.

Expected behavior

It should allow you to type in a full filename instead of just 1 character.

Additional information

If you press F2 after pressing alt-tab but before pressing any other keys, it exits the renaming immediately instead of letting you type a character.

This doesn't happen if the scrollbar doesn't appear, or if the window is resized small enough (I don't know the exact threshold).

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 issue in a Nemo window just large enough for a scrollbar to appear, then trace the F2 file-renaming path and its focus or resize handling. Confirm the fix by typing a filename longer than one character in the affected window sizes, including after Alt-Tab, without prematurely exiting rename mode.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.