Bug 453521 - Discover installs wrong version of KWin script
Summary: Discover installs wrong version of KWin script
Status: RESOLVED DUPLICATE of bug 450950
Alias: None
Product: Discover
Classification: Applications
Component: KNewStuff Backend (show other bugs)
Version: 5.24.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-08 03:46 UTC by Natalie Clarius
Modified: 2024-06-26 20:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Natalie Clarius 2022-05-08 03:46:17 UTC
SUMMARY
***
Discover installs an outdated version of a KWin script, even though the info section correctly shows the most recent version.

See https://github.com/nclarius/KWin-window-positioning-scripts/issues/16.
***

STEPS TO REPRODUCE
1. Search for "Always Open on Primary Screen"
2. Note the info at the bottom correctly showing the newest version as v4.0
3. Install
4. System Settings > Window Management > KWin Scripts > info button for the entry

OBSERVED RESULT
Version v2.1

EXPECTED RESULT
Version 4.0

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.5-arch1-1 (64-bit)
Graphics Platform: X11
Comment 1 Aleix Pol 2022-05-08 23:59:32 UTC
I'll see what I can do. For now a solution would be to just offer the latest stable version of the script.
Comment 2 Natalie Clarius 2022-05-09 00:42:46 UTC
I did that the first view times (archiving or overwriting old versions) and it reset the download counter to zero, making it look like the plugin has never been downloaded before and can not be trusted, so I'd like to avoid that.
Comment 3 Nate Graham 2024-06-26 20:31:08 UTC

*** This bug has been marked as a duplicate of bug 450950 ***