[Telly Skout] [Bug 497954] telly-skout showing detailed information much slower since version 24.12.0

Plata bugzilla_noreply at kde.org
Sat Dec 28 13:34:43 GMT 2024


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

Plata <plata.hill at kdemail.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
   Version Fixed In|                            |24.12.1
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/telly-skout/-/commit/
                   |                            |076c2eaae424217321b67b528ac
                   |                            |31cc8b8ac82b8
         Resolution|---                         |FIXED

--- Comment #2 from Plata <plata.hill at kdemail.net> ---
Git commit 076c2eaae424217321b67b528ac31cc8b8ac82b8 by Plata Hill.
Committed on 28/12/2024 at 13:34.
Pushed by plata into branch 'master'.

Speed up program description update

When using TV Spielfilm fetcher, the program description is fetched only after
clicking on a program to avoid fetching a lot of descriptions nobody ever
reads.

This was slow because it updated the database with the description, reset the
complete `ProgramsModel` and re-loaded the program (incl. description) from the
database.

Emit a signal with the description and update the model and database (for
persistence) in parallel.

FIXED-IN: 24.12.1

M  +4    -4    autotests/fetchertest.cpp
M  +1    -1    src/fetcher.cpp
M  +1    -1    src/fetcher.h
M  +13   -0    src/program.cpp
M  +9    -2    src/program.h
M  +7    -11   src/programsmodel.cpp

https://invent.kde.org/utilities/telly-skout/-/commit/076c2eaae424217321b67b528ac31cc8b8ac82b8

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list