[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-10-12 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

Nate Graham  changed:

   What|Removed |Added

 CC||mur...@gmail.com

--- Comment #21 from Nate Graham  ---
*** Bug 475497 has been marked as a duplicate of this bug. ***

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-09-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

Nate Graham  changed:

   What|Removed |Added

 CC||pehteimoso-kdeb...@yahoo.co
   ||m

--- Comment #20 from Nate Graham  ---
*** Bug 474763 has been marked as a duplicate of this bug. ***

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-06-09 Thread Ismael Asensio
https://bugs.kde.org/show_bug.cgi?id=448521

--- Comment #19 from Ismael Asensio  ---
Git commit 48f40d6e22cba9f03af3195b0acb4be2575b0793 by Ismael Asensio.
Committed on 09/06/2023 at 23:37.
Pushed by iasensio into branch 'Plasma/5.27'.

FlatpakBackend: Update appstream cache before initializing

We were launching the job to update the appstream cache after
initializing the backend. As a result, the updated versions
were not used until the next launch of discover.

This should finally fix the version numbers shown for flatpaks
on the Updates page
(cherry picked from commit b03673bc3d317032f41d7153a36a7ede51b5d2d0)

M  +2-5libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp

https://invent.kde.org/plasma/discover/-/commit/48f40d6e22cba9f03af3195b0acb4be2575b0793

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-06-09 Thread Ismael Asensio
https://bugs.kde.org/show_bug.cgi?id=448521

--- Comment #18 from Ismael Asensio  ---
Git commit b03673bc3d317032f41d7153a36a7ede51b5d2d0 by Ismael Asensio.
Committed on 09/06/2023 at 23:26.
Pushed by iasensio into branch 'master'.

FlatpakBackend: Update appstream cache before initializing

We were launching the job to update the appstream cache after
initializing the backend. As a result, the updated versions
were not used until the next launch of discover.

This should finally fix the version numbers shown for flatpaks
on the Updates page

M  +2-5libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp

https://invent.kde.org/plasma/discover/-/commit/b03673bc3d317032f41d7153a36a7ede51b5d2d0

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-05-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

Nate Graham  changed:

   What|Removed |Added

 CC||ahmed@tutanota.com

--- Comment #17 from Nate Graham  ---
*** Bug 469296 has been marked as a duplicate of this bug. ***

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-05-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|5.27.4  |5.27.6
  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/discover/commit/f68e0d42 |ma/discover/-/commit/7b5cc5
   |c001f9716550e062f9e55213aac |afa74b4c217a6643ef1cf395676
   |92d28   |fb25518

--- Comment #16 from Nate Graham  ---
Fixed again even harder with
https://invent.kde.org/plasma/discover/-/commit/7b5cc5afa74b4c217a6643ef1cf395676fb25518
by Aleix Pol Gonzales for Plasma 5.27.6.

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-04-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.27.4

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-04-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

Nate Graham  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/discover/commit/8859aa1c |ma/discover/commit/f68e0d42
   |64442a5165e17e94df455f2162a |c001f9716550e062f9e55213aac
   |0cb38   |92d28

--- Comment #15 from Nate Graham  ---
Git commit f68e0d42c001f9716550e062f9e55213aac92d28 by Nate Graham, on behalf
of l10n daemon script.
Committed on 09/04/2023 at 14:37.
Pushed by ngraham into branch 'Plasma/5.27'.

flatpak: Report latest available version

It is not guaranteed that the release list returned by AppStream
will be ordered, so let's check for the latest one to avoid showing
an older version number on the updates page.
Related: bug 465864
FiXED-IN: 5.27


(cherry picked from commit 8859aa1c64442a5165e17e94df455f2162a0cb38)

M  +7-1libdiscover/backends/FlatpakBackend/FlatpakResource.cpp

https://invent.kde.org/plasma/discover/commit/f68e0d42c001f9716550e062f9e55213aac92d28

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-04-08 Thread Ismael Asensio
https://bugs.kde.org/show_bug.cgi?id=448521

Ismael Asensio  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/discover/commit/84624c86 |ma/discover/commit/8859aa1c
   |8c3090e70e15ca9d5686b9f0482 |64442a5165e17e94df455f2162a
   |8d0be   |0cb38
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #14 from Ismael Asensio  ---
Git commit 8859aa1c64442a5165e17e94df455f2162a0cb38 by Ismael Asensio, on
behalf of l10n daemon script.
Committed on 08/04/2023 at 16:49.
Pushed by iasensio into branch 'master'.

flatpak: Report latest available version

It is not guaranteed that the release list returned by AppStream
will be ordered, so let's check for the latest one to avoid showing
an older version number on the updates page.
Related: bug 465864
FiXED-IN: 5.27

M  +7-1libdiscover/backends/FlatpakBackend/FlatpakResource.cpp

https://invent.kde.org/plasma/discover/commit/8859aa1c64442a5165e17e94df455f2162a0cb38

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-04-08 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

Nate Graham  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=465864

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-03-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

--- Comment #13 from Nate Graham  ---
Created attachment 157581
  --> https://bugs.kde.org/attachment.cgi?id=157581=edit
Version numbers reversed

Saw it recently; see attached screenshot. What I'm seeing is that *sometimes*
it will say "Refresh of version X", and sometimes it will say "Version X ->
version X-1".

It seems like two different wrong things are happening. In the first scenario,
the "old" and "new" versions are both set to the same thing. In the second one,
their order ire reversed.

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-02-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

Nate Graham  changed:

   What|Removed |Added

 Status|REOPENED|CONFIRMED
   Version Fixed In|5.26|

--- Comment #12 from Nate Graham  ---
Can also reproduce. :/

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-02-27 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=448521

--- Comment #11 from Patrick Silva  ---
Created attachment 156786
  --> https://bugs.kde.org/attachment.cgi?id=156786=edit
screenshot after updating

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-02-27 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=448521

--- Comment #10 from Patrick Silva  ---
Created attachment 156785
  --> https://bugs.kde.org/attachment.cgi?id=156785=edit
screenshot before updating

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-02-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

--- Comment #9 from Nate Graham  ---
Screenshot?

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-02-17 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=448521

Patrick Silva  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #8 from Patrick Silva  ---
It's still happening on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Graphics Platform: Wayland

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-02-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

Nate Graham  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Nate Graham  ---
Was just re-fixed, too. :) See
https://invent.kde.org/plasma/discover/-/commit/2a7125cbb643daf57beff53fba70d75a86d66c05

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2023-01-30 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=448521

Patrick Silva  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #6 from Patrick Silva  ---
Can reproduce again. A few minutes ago I updated mpv 0.35 from flathub to
version 0.35.1 and the Update page of Discover
said 'Refresh of version 0.35' instead of 'Update to version 0.35.1'.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: Wayland

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2022-08-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

Nate Graham  changed:

   What|Removed |Added

   See Also|https://bugs.kde.org/show_b |
   |ug.cgi?id=434936|

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2022-08-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.26

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2022-08-25 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=448521

Aleix Pol  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/discover/commit/84624c86
   ||8c3090e70e15ca9d5686b9f0482
   ||8d0be

--- Comment #5 from Aleix Pol  ---
Git commit 84624c868c3090e70e15ca9d5686b9f04828d0be by Aleix Pol Gonzalez, on
behalf of Aleix Pol i Gonzalez.
Committed on 25/08/2022 at 08:59.
Pushed by apol into branch 'master'.

flatpak: Get the version from the appstream file we are fed

flatpak_installed_ref_get_appdata_version will give us the installed
version.

M  +2-3libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
M  +5-0libdiscover/backends/FlatpakBackend/FlatpakResource.h

https://invent.kde.org/plasma/discover/commit/84624c868c3090e70e15ca9d5686b9f04828d0be

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2022-07-22 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

Nate Graham  changed:

   What|Removed |Added

   Assignee|lei...@leinir.dk|plasma-b...@kde.org

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2022-07-21 Thread Dennis Schridde
https://bugs.kde.org/show_bug.cgi?id=448521

Dennis Schridde  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=411186

--- Comment #4 from Dennis Schridde  ---
This might be related to bug #411186 or bug #434936, which also deal with wrong
version information being displayed.

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2022-07-21 Thread Dennis Schridde
https://bugs.kde.org/show_bug.cgi?id=448521

Dennis Schridde  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=434936

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2022-07-21 Thread Dennis Schridde
https://bugs.kde.org/show_bug.cgi?id=448521

Dennis Schridde  changed:

   What|Removed |Added

 CC||devuran...@gmx.net

--- Comment #3 from Dennis Schridde  ---
Created attachment 150785
  --> https://bugs.kde.org/attachment.cgi?id=150785=edit
screenshot of a Flatpak update

I experience this too (see attached screenshot). Fixing bug #447937 does not
seem to have fixed this.

I would also provide the output of `flatpak --system update`, but there
apparently the `flatpak` CLI does not show it (cf.
https://github.com/flatpak/flatpak/issues/2901).

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2022-01-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448521

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 CC||n...@kde.org
 Ever confirmed|0   |1
   Priority|NOR |HI

--- Comment #2 from Nate Graham  ---
Can confirm. Seems related to 447937.

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

[Discover] [Bug 448521] 'Update' page shows the version of the flatpak currently installed instead of the version of the update available

2022-01-15 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=448521

--- Comment #1 from Patrick Silva  ---
Created attachment 145491
  --> https://bugs.kde.org/attachment.cgi?id=145491=edit
after update

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