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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/2f809bd794076c8df3e87af25 |t/89f68ceccd08bda6f804a9b1c
                   |b9c2020c562dad1             |9c722ef0852d40b

--- Comment #7 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 89f68ceccd08bda6f804a9b1c9c722ef0852d40b by Fushan Wen.
Committed on 02/03/2024 at 05:34.
Pushed by fusionfuture into branch 'Plasma/6.0'.

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


(cherry picked from commit 2f809bd794076c8df3e87af25b9c2020c562dad1)

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

https://invent.kde.org/plasma/plasma-workspace/-/commit/89f68ceccd08bda6f804a9b1c9c722ef0852d40b

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

Reply via email to