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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.20
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kdeplasma-addons/commit/
                   |                            |d5f9e6af9f9cda210b15d5c10b3
                   |                            |70006c86bd7ad

--- Comment #22 from Nate Graham <n...@kde.org> ---
Git commit d5f9e6af9f9cda210b15d5c10b370006c86bd7ad by Nate Graham, on behalf
of Guo Yunhe.
Committed on 18/06/2020 at 22:09.
Pushed by ngraham into branch 'master'.

Fix POTD in lock screen

Summary:
1. POTD was cached in `~/.cache/`. But lock screen seems not a process
of current user, so it won't find the cache in user's home dir. So I
changed cache location to `/tmp` and it starts to work.
2. Flickr and APOD(NASA) providers cannot cache pictures in `PNG` but
`JPEG` works. So I simply changed the cache format to `JPEG`. Most POTD
are photos. JPEG saves more spaces.
3. Added a KDED module to cache lockscreen POTD, because lockscreen
program doesn't have internet access.

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D29140

Merge Request:
https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/3

FIXED-IN: 5.20

M  +2    -0    CMakeLists.txt
M  +1    -0    dataengines/potd/PoTD-list.txt
M  +7    -7    dataengines/potd/cachedprovider.cpp
A  +1    -0    kdeds/CMakeLists.txt
A  +16   -0    kdeds/potd/CMakeLists.txt
A  +8    -0    kdeds/potd/README.md
A  +61   -0    kdeds/potd/kded_potd.cpp  *
A  +8    -0    kdeds/potd/kded_potd.desktop
A  +35   -0    kdeds/potd/kded_potd.h  *

The files marked with a * at the end have a non valid license. Please read:
https://community.kde.org/Policies/Licensing_Policy and use the headers which
are listed at that page.


https://invent.kde.org/plasma/kdeplasma-addons/commit/d5f9e6af9f9cda210b15d5c10b370006c86bd7ad

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

Reply via email to