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

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/2f809bd794076c8df3e87af25
                   |                            |b9c2020c562dad1
         Resolution|---                         |FIXED
   Version Fixed In|                            |6.0

--- Comment #6 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 2f809bd794076c8df3e87af25b9c2020c562dad1 by Fushan Wen.
Committed on 02/03/2024 at 05:18.
Pushed by fusionfuture into branch 'master'.

libkmpris: find active player index in filter proxy model

When the filter proxy model emits rowsRemoved, the player is still
not erased from m_container, so when the active player is the **last**
player in m_container,
m_filterModel->mapFromSource(sourceModel->index(sourceRow, 0))
will return an invalid index because the source index becomes
stale (source_index.row() >= m->proxy_rows.size()) in the filter model.
FIXED-IN: 6.0

M  +32   -3    appiumtests/mediacontrollertest.py
M  +30   -21   libkmpris/multiplexer.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/2f809bd794076c8df3e87af25b9c2020c562dad1

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

Reply via email to