Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,603
    • Issues 1,603
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 220
    • Merge requests 220
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gtkgtk
  • Issues
  • #5532
Closed
Open
Issue created Jan 18, 2023 by Georges Basile Stavracas Neto@feaneronDeveloper

Rework GtkFileSystemModel internally

Even though GtkFileSystemModel has been made less GtkTreeModel-y, it still hasn't reached the ideal GListModel state. I imagine we'd need the following combination of models to achieve the current behavior:

  • GtkFilterListModel (filters hidden files, folders, custom GtkFileFilter)
    • GtkFlattenListModel
      • GtkDirectoryList (if created with _gtk_file_system_model_new_for_directory)
      • GListStore (for files added with _gtk_file_system_model_add_and_query_files)

Have I missed anything?

Arguably we could change the behavior of GtkFileSystemModel too, which would lead to a different set of models.

Assignee
Assign to
Time tracking