https://bugs.kde.org/show_bug.cgi?id=506413

            Bug ID: 506413
           Summary: Calendar's current date doesn't update during midnight
                    while digital-clock window is opened
    Classification: Plasma
           Product: plasmashell
      Version First 6.4.1
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Digital Clock widget
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: 1.0

SUMMARY
Very minor issue... The calendar-view's current date (UI header title) doesn't
update during midnight when the digital-clock's window is opened. After
reopening it, the date is correctly updated, as expected. This implies that the
header text has no timer attached to update it while the UI is shown. A clock
widget with an integrated calendar should always update correctly.

STEPS TO REPRODUCE
1. Open digial-clock window
2. Wait for clock to pass midnight
3. Calendar's current date doesn't get updated

I believe this is the responsible QML part, but I'm neither a C++ nor Qt dev,
and don't know QML either, so I can't submit a MR myself.
https://invent.kde.org/plasma/plasma-workspace/-/blob/0ce9b2204da994078a739fc8e6bfffd2a9c828fa/applets/digital-clock/package/contents/ui/CalendarView.qml#L109-118

A fix should be trivial. When opening the window/view, attach a timer that
triggers on the next day and that will update the header text. Cancel the timer
when closing/hiding the window/view.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to