Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Calls Calls
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 225
    • Issues 225
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • 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
  • CallsCalls
  • Merge requests
  • !576

Introduce various gtk list models and use a slice list model for the history

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Evangelos Ribeiro Tzaras requested to merge devrtz/calls:wip/history-with-slicelist into master Jul 06, 2022
  • Overview 13
  • Commits 9
  • Pipelines 7
  • Changes 28
  • Introduce Gtk list models (supersedes !467 (closed))
  • Use GtkSliceListModel
  • Dynamically change the size of the slice

This drastically improves application startup and scrolling performance with the GtkListBox (I've been told on various occassions that Gtk3 Listbox was never really meant to hold > 200 children). The more entries you have in your history (and the slower your hardware) the more pronounced the performance impact was, e.g. L5 with > 1000 call records will take more than 10 seconds, PP even longer

with this MR the startup is one order of magnitude faster

Gone are the days of regularly cleaning up the call record database!

Edited Jul 13, 2022 by Evangelos Ribeiro Tzaras
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/history-with-slicelist