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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/78b1142f8b1d924e8e1b8bcf1
                   |                            |90cf4e4579795d4
   Version Fixed In|                            |6.0.2

--- Comment #5 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 78b1142f8b1d924e8e1b8bcf190cf4e4579795d4 by Fushan Wen.
Committed on 12/03/2024 at 05:48.
Pushed by fusionfuture into branch 'master'.

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

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

https://invent.kde.org/plasma/plasma-workspace/-/commit/78b1142f8b1d924e8e1b8bcf190cf4e4579795d4

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

Reply via email to