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

            Bug ID: 440627
           Summary: A pinned calendar displays the wrong number of dots
           Product: plasmashell
           Version: 5.22.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Calendar
          Assignee: plasma-b...@kde.org
          Reporter: popov...@ukr.net
  Target Milestone: 1.0

Created attachment 140539
  --> https://bugs.kde.org/attachment.cgi?id=140539&action=edit
Dots on days tab

SUMMARY

A pinned calendar displays a different number of dots every time you open its
settings dialog. At first I thought this problem only related to my openSUSE
Tumbleweed, but after switching to KDE neon, it appeared here as well.

After a little research, I came up with some information:
* the number of dots changes only for days with events
* dots are also displayed on the months tab because the day cell has no
clipping
* the number of dots always changes cyclically: 0 => real number of events =>
42 => 0 => ... (the number 42 is most likely related to the number of days
displayed on the days tabs)
* looks like every new opening of the settings dialog affects how the
DelegateModel calculates the rootIndex
(https://invent.kde.org/frameworks/plasma-framework/-/blob/master/src/declarativeimports/calendar/qml/DayDelegate.qml#L84)

STEPS TO REPRODUCE

1. Open Digital Clock applet
2. Check "Keep Open" button in the top right corner
3. Open Settings dialog (clicking "Configure Digital Clock..." button or
menuitem with the same name in the context menu) and close it
4. Repeat step 3 several times

SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-25-generic (64-bit)
Graphics Platform: X11

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

Reply via email to