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

            Bug ID: 473282
           Summary: KisAnimTimelineFramesModel "Invalid index in model"
    Classification: Applications
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Animation
          Assignee: krita-bugs-n...@kde.org
          Reporter: al...@alvinhc.com
                CC: emmetoneill....@gmail.com
  Target Milestone: ---

On creating or opening a new document, if the animation docker is not visible,
this QDebug message will be produced:

QAbstractItemModel::endInsertColumns:  Invalid index ( 0 , 101 ) in model
KisAnimTimelineFramesModel(0x2b72b4dcad0)

The backtrace indicates that it comes from
https://invent.kde.org/graphics/krita/-/blob/cabfac1d4ad9a4c5f43b49f8ee4c9cf849abc959/plugins/dockers/animation/KisTimeBasedItemModel.cpp#L579.
Now I though this may be a simple off-by-one error, but if I change the line
above into `m_d->numFramesOverride = lastFrame + 1;` it still continues to
produce the message, so I'm not sure.

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

Reply via email to