Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • thunar thunar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 276
    • Issues 276
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xfce
  • thunarthunar
  • Merge requests
  • !255

Better handing of file updates during search.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Andrew Chadwick requested to merge achadwick/thunar:search-handle-updates into master May 30, 2022
  • Overview 36
  • Commits 15
  • Pipelines 11
  • Changes 1

ThunarListModel now knows if it's representing a search result, and what the active search terms are. This allows it to filter new files when needed, according to the active search query. No more non-matched files showing up in a search results listing if they're created during a search and are spotted by folder monitoring.

Fix #787. I hope this isn't breaking the optimization for regular single-folder contents models that uses the ->hidden list. I've left the assertion in there for the non-search case.

Address #801 slightly by making deeper monitoring more possible.

Edited May 30, 2022 by Andrew Chadwick
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: search-handle-updates