[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2020-06-29 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=389962

Patrick Silva  changed:

   What|Removed |Added

 CC||vic...@perevertkin.ru

--- Comment #23 from Patrick Silva  ---
*** Bug 423667 has been marked as a duplicate of this bug. ***

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2020-06-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=389962

Nate Graham  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  ---
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-0CMakeLists.txt
M  +1-0dataengines/potd/PoTD-list.txt
M  +7-7dataengines/potd/cachedprovider.cpp
A  +1-0kdeds/CMakeLists.txt
A  +16   -0kdeds/potd/CMakeLists.txt
A  +8-0kdeds/potd/README.md
A  +61   -0kdeds/potd/kded_potd.cpp  *
A  +8-0kdeds/potd/kded_potd.desktop
A  +35   -0kdeds/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.

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2020-05-13 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=389962

Nate Graham  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #21 from Nate Graham  ---
There's a patch to fix this!

https://phabricator.kde.org/D29140

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2020-04-24 Thread Neros
https://bugs.kde.org/show_bug.cgi?id=389962

Neros  changed:

   What|Removed |Added

 CC|cont...@neros.fr|

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2020-04-23 Thread Guo Yunhe
https://bugs.kde.org/show_bug.cgi?id=389962

--- Comment #20 from Guo Yunhe  ---
Partly resolved by https://phabricator.kde.org/D29140 when desktop wallpaper
and lockscreen wallpaper use the same POTD provider.

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2020-03-31 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=389962

Patrick Silva  changed:

   What|Removed |Added

 CC||yyc1...@gmail.com

--- Comment #19 from Patrick Silva  ---
*** Bug 419436 has been marked as a duplicate of this bug. ***

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2020-03-13 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=389962

Patrick Silva  changed:

   What|Removed |Added

 CC||el...@seznam.cz

--- Comment #18 from Patrick Silva  ---
*** Bug 418394 has been marked as a duplicate of this bug. ***

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2020-02-20 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=389962

--- Comment #17 from Shmerl  ---
Updated my workaround script that downloads astronomy picture of the day:

https://gist.github.com/shmerl/7465989937cddeb9539db3803ba3feb8

Pair it with local user systemd timer or crontab entry that calls that script a
few times a day, and set the lock background to the saved image.

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2020-02-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=389962

Nate Graham  changed:

   What|Removed |Added

   Priority|NOR |HI
   Keywords|junior-jobs, usability  |

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2020-01-02 Thread Guo Yunhe
https://bugs.kde.org/show_bug.cgi?id=389962

--- Comment #16 from Guo Yunhe  ---
I can force POTD providers to use cached picture when network is not available.
But this only works when your desktop wallpaper and lock screen wallpaper are
the same POTD provider. If they are different, lock screen POTD will never be
cached and it remains black.

Shmerl's suggestion is the best approach overall. 

(In reply to Shmerl from comment #7)
> And I suppose since lock screen has no network access, in order to enable
> something like picture of the day, there should be an explicit KDE service /
> scheduled job "picture of the day" that user can enable, and lock screen can
> rely on that service to update the image appropriately.

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2019-12-17 Thread Michal Hlavac
https://bugs.kde.org/show_bug.cgi?id=389962

Michal Hlavac  changed:

   What|Removed |Added

 CC||m...@hlavki.eu

--- Comment #15 from Michal Hlavac  ---
Would be great to have option: "Same as desktop". Then e.g. picture of the day
will be taken from desktop.

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2019-12-16 Thread Guo Yunhe
https://bugs.kde.org/show_bug.cgi?id=389962

Guo Yunhe  changed:

   What|Removed |Added

   Assignee|plasma-b...@kde.org |i...@guoyunhe.me
 CC||i...@guoyunhe.me

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2019-11-24 Thread King Kang Kong
https://bugs.kde.org/show_bug.cgi?id=389962

King Kang Kong  changed:

   What|Removed |Added

 CC||r2b2x3+kde...@gmail.com

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2019-04-01 Thread Nils
https://bugs.kde.org/show_bug.cgi?id=389962

--- Comment #14 from Nils  ---
It would really be great to have this feature working. I don't ever see my
desktop as I have a lot of things always opened. The only moment where I would
enjoy to see something new is when I lock my computer. 
If this is related to the internet access, I suppose the images could be
fetched in advance when the user has still not locked his session. The images
would never change until he open up again his session and it's a new day.

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2019-04-01 Thread Nils
https://bugs.kde.org/show_bug.cgi?id=389962

Nils  changed:

   What|Removed |Added

 CC||nils.acrimont+kde@protonmai
   ||l.com

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2018-10-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389962

leoricup...@gmail.com changed:

   What|Removed |Added

 CC||leoricup...@gmail.com

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2018-09-16 Thread Likivik
https://bugs.kde.org/show_bug.cgi?id=389962

Likivik  changed:

   What|Removed |Added

 CC||liki...@gmail.com

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2018-08-30 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=389962

Nate Graham  changed:

   What|Removed |Added

  Component|General |Picture of the Day

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2018-08-24 Thread John Pocock
https://bugs.kde.org/show_bug.cgi?id=389962

--- Comment #13 from John Pocock  ---
I have since tried having the same picture of the day settings for my wallpaper
and as the lock screen image The image of the day loads fine and display for
the wallpaper but is still a black lock screen.

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2018-08-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=389962

Nate Graham  changed:

   What|Removed |Added

   Keywords||junior-jobs, usability

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

[kdeplasma-addons] [Bug 389962] Lock screen does not show Picture of the Day because image is not cached locally

2018-08-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=389962

Nate Graham  changed:

   What|Removed |Added

  Component|general |General
Product|kscreenlocker   |kdeplasma-addons
Summary|Lock screen does not show   |Lock screen does not show
   |Picture of the Day  |Picture of the Day because
   ||image is not cached locally

--- Comment #12 from Nate Graham  ---
This isn't really the lock screen's fault; it's entirely appropriate for
security reasons that internet access is prohibited. Rather, these plugins
should probably be updated to locally cache the images somewhere so no network
access is required. Moving to a different product to track the fix properly.

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