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

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/78b1142f8b1d924e8e1b8bcf1 |t/bb4926b60822fbe6dbae15db1
                   |90cf4e4579795d4             |9c02b214928123d

--- Comment #6 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit bb4926b60822fbe6dbae15db19c02b214928123d by Fushan Wen.
Committed on 12/03/2024 at 06:02.
Pushed by fusionfuture into branch 'Plasma/6.0'.

libkmpris: always update active player index on rows inserted

THe active player index can change on rows inserted, if:

1. Play a video in a browser with pbi
2. Pause the video
3. Start another player B
4. Play B to make it become the active player
5. Pause B, and B is still the active player
6. Close the browser. The pbi quits first, invalidating the filter
   model, and the original browser instance is added back, which is
   inserted before the current active player B.
7. An assertion is triggered because the active player index does not
   match the active player.

This also adds a test to consolidate the fix.
FIXED-IN: 6.0.2


(cherry picked from commit 78b1142f8b1d924e8e1b8bcf190cf4e4579795d4)

M  +30   -2    appiumtests/mediacontrollertest.py
M  +6    -9    libkmpris/multiplexer.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/bb4926b60822fbe6dbae15db19c02b214928123d

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

Reply via email to