Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Today check in CSSCalendar slows down application #10

@ShadowKyogre

Description

@ShadowKyogre

Bug is in current version of application and in wip branch. Steps to prove this:

  1. Open chronoslnxlib/csscalendar.py
  2. Comment out the highlighted lines in the link https://github.com/ShadowKyogre/ChronosLNX/blob/wip/chronoslnxlib/csscalendar.py#L14-L20
  3. Run ChronosLNX (via the wrapper *.py)
  4. Try resizing the window in any direction

Expected result: Window resizes without delay
Actual result: Window lags while resizing

Proposed solution: Store whether a date is "today" so the today checks aren't done on every redraw.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions