Skip to content

When renaming a screen in Setup, mouse click on another screen item doesn't stop renaming #1848

@Explorer09

Description

@Explorer09

The issue is related to #1783 in the way that it can create another crash.

Steps to reproduce:

  1. Go to Setup (F2) -> Screens
  2. Press Right arrow key on the keyboard to highlight a screen in the list of screens.
  3. Press F5 (New) to create a new screen. The new screen item will be in the rename mode.
  4. Mouse click another screen item (such as "Main" screen that's present in the default configuration). Do not use the keyboard.
  5. Mouse click on "Display options" in the Categories panel on the left.

At step 4 you can see the rename mode doesn't end (the selected screen item is in the blue background), and after step 5 htop crashes.

Expected result: Mouse click in step 4 ends the rename mode. No crash in step 5.

I've used a screen recording tool included in macOS default to record this:

htop-screen-renaming-bug.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions