Skip to content

Small lag first time plugs are opened #40

Description

@junocomp

There's a small lag when clicking any of the settings icons, such as a Desktop, About, Network, etc for the first time. The second/third time you click on the same settings the lag is gone and it works fast.

Activity

  1. cassidyjames commented on Nov 27, 2018

    @cassidyjames
    Contributor

    This looks like it is because each plug is constructed the first time it is opened. I believe this is preferable to constructing every single plug when Switchboard is opened, and this is probably super dependent on hardware. For example, on my i7-5557U with 16 GB RAM it's barely noticeable, though with some plugs like Keyboard and Language & Region it's more noticeable.

  2. changed the title [-]Small lag[/-] [+]Small lag first time plugs are opened[/+] on Nov 27, 2018
  3. jeremypw commented on Feb 1, 2024

    @jeremypw
    Contributor

    Still noticeable in the Gtk4 port, resulting in visual glitch at start of animation.

  4. danirabbit commented on Oct 22, 2024

    @danirabbit
    Member

    I think the only practical solution here is to make sure each view constructs its contents in a more asynchronous way. So converting to a discussion since this isn't something that can be tracked as an individual issue. Issues need to be filed against each settings pain where we have slow loading

  5. locked and limited conversation to collaborators on Oct 22, 2024
  6. converted this issue into a discussion #329 on Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConfirmedVerified by someone other than the reporter

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions