[Bug] Search highlight still active after changing tab and closing search bar.

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

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce the issue in xed with two tabs using Ctrl+f, the Next control, and the search bar close action. Trace how search highlights are cleared when switching tabs and closing the search bar; done means returning to the first tab no longer leaves its previous search results highlighted.

Written by the indexing model from the issue text.

Description

Bug description

The search highlight doesn't deactivate after changing tab and closing the search bar.

My configuration

xed 3.8.4
Linux 6.19
Fedora 43
Cinnamon 6.4.12

Steps to reproduce

  1. Make sure you have at least two tabs open, both containing text.
  2. Type Ctrl+f to open the search bar.
  3. Type some text to search. Make sure the search pattern is present in the opened tab.
  4. The corresponding search results get highlighted.
  5. Select the other tab.
  6. Click "Next" on the search bar to search the pattern in the other tab.
  7. Close the search bar.
  8. Go back to the first tab.
  9. The search bar disappeared because the user closed it, but the search results are still highlighted.
  10. To deactivate the highlight, you have to type Ctrl+f to open the search bar then explicitly close it on the tab.
Dominant language
C
Stars
551
Forks
115
PR merge metrics
No merged PRs in 30d

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.

More from linuxmint/xed

All issues in linuxmint/xed

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.