Skip to content

Worker thread support for "working" icon indicator #552

Open

Description

@mjherzog

When accessing large Scan files it is often hard to determine if SCWB is "working" or hung in some error state. We need some "working" icon to indicate when SCWB is actually processing a command.

Activity

  1. OmkarPh commented on Apr 10, 2023

    @OmkarPh
    Collaborator

    whenever, we perform a sqlite query or heavy stuff, it should show this working text & some icon ig, in a corner or bottom of the screen right

  2. AyanSinhaMahapatra commented on Apr 10, 2023

    @AyanSinhaMahapatra
    Member

    we perform a sqlite query or heavy stuff

    Yes, this could be filters or searches, so basically queries.

    working text & some icon ig, in a corner or bottom of the screen right

    Just an icon is fine (usually gears moving is used for this?), we can determine where to put it from other similar tools/UI from popular tools, I'll look into this too.
    Options are:

    1. change the mouse pointer to the working icon
    2. have this in a corner/edge
    3. have an overlay (partially transparent) with this icon
      or something else
  3. OmkarPh commented on May 1, 2023

    @OmkarPh
    Collaborator

    I think having it in a corner would be a good option
    For smaller queries, the overlay would just flash in and out quickly (looks unpleasant)

  4. AyanSinhaMahapatra commented on May 1, 2023

    @AyanSinhaMahapatra
    Member

    I think having it in a corner would be a good option
    For smaller queries, the overlay would just flash in and out quickly (looks unpleasant)

    Yeah sounds good, finding the right size would also be nice, so that it's visible but not too unpleasant

  5. linked a pull request that will close this issueWorking indicator for queries #583on Jul 19, 2023
  6. changed the title [-]Need a "working" icon [/-] [+]Worker thread support for "working" icon indicator[/+] on Jul 19, 2023
  7. OmkarPh commented on Jul 19, 2023

    @OmkarPh
    Collaborator

    The working indicator works fine for most of the scans

    For very large scans and lesser computer resources, the indicator may feel unresponsive,
    It can be fixed by using worker threads as experimented in feature/workingIndicator-webworkers-test

    Implementing & integrating web workers is a lot more work, and may be worked upon in the future.
    For now, it's not very critical, Hence renaming the issue for further improvement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions