Plasma Add-ons merge requestshttps://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests2022-01-04T19:56:47Zhttps://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/77Better first-run "config needed" experience for the Weather applet2022-01-04T19:56:47ZBharadwaj RajuBetter first-run "config needed" experience for the Weather appletBefore, when you first added the weather applet, it was completely blank. Only thing to hint that some configuration was needed was the tooltip saying "Please configure".
With this change, the applet shows some helpful text and a conven...Before, when you first added the weather applet, it was completely blank. Only thing to hint that some configuration was needed was the tooltip saying "Please configure".
With this change, the applet shows some helpful text and a convenient "Configure" button. It no longer looks broken, and makes it easier for users to set it up.
![weather-new-prompt](/uploads/db2f3f25d72885385a1a871779209877/weather-new-prompt.png)5.24https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/87Add Simon Stalenhag POTD Provider2022-11-14T15:17:31ZAlexey AndreyevAdd Simon Stalenhag POTD ProviderHello! :slight_smile: Introducing the support of the [Simon Stalenhag's website](http://simonstalenhag.se/) as Picture-Of-The-Day provider.
From Wikipedia:
> Simon Stålenhag is a Swedish artist, musician, and designer specialising in ...Hello! :slight_smile: Introducing the support of the [Simon Stalenhag's website](http://simonstalenhag.se/) as Picture-Of-The-Day provider.
From Wikipedia:
> Simon Stålenhag is a Swedish artist, musician, and designer specialising in retro-futuristic digital images focused on nostalgic Swedish countryside alternate history environments.
Talking about contacts with the artist, I guess I could share this MR with Simon via [his twitter](https://twitter.com/simonstalenhag/). He seems very open to the fans.
Talking about technical details: since the website have no API, I'm proxying metadata about existing artist's works via [public GitHub repo](https://github.com/a-andreyev/simonstalenhag-se-metadata). It is also possible to do it directly via regexp on the [qml](https://github.com/a-andreyev/simonstalenhag-se-metadata/blob/main/scrap.qml) or cpp side, just wanted to make the code cleaner.
Here's my similar project for the Sailfish OS (also shared with the artist via twitter few years ago): https://openrepos.net/content/aa13q/simon-stalenhag-imagitron-art-gallery
Feel free to criticize or close. Thank you! :)
Here's the testing screenshots:
![Imgur/website](https://i.imgur.com/Jx29aGH.png)
![Imgur/plasma-wallpaper](https://i.imgur.com/8WtyJ8r.png)
![Imgur/plasma-wallpaper-settings](https://i.imgur.com/qNf8iDs.png)5.24https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/89[colorpicker] Add ability to cancel color picking via Escape key2021-10-18T15:19:40Zivan tkachenko[colorpicker] Add ability to cancel color picking via Escape keyOn X11 platform, users now may cancel color picking by pressing an escape key.On X11 platform, users now may cancel color picking by pressing an escape key.5.24https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/91[windowswitchers] QML replacement for flipswitch and coverswitch2022-02-19T19:20:43ZIsmael Asensio[windowswitchers] QML replacement for flipswitch and coverswitchRewrite of the flipswitch and coverswitch window switchers in QMl, using the KWin Tabbox API and PathView to layout the thumbnails.
While these 3D effects come from a different visual era (that we all love), the use of common Plasma com...Rewrite of the flipswitch and coverswitch window switchers in QMl, using the KWin Tabbox API and PathView to layout the thumbnails.
While these 3D effects come from a different visual era (that we all love), the use of common Plasma components, following the user's theme, and lack of reflections IMHO gives the effects a more modern (breezy) look, consistent with the user's desktop and the other tabswitchers.
For a visual taste:
| Flip-Switch | Cover-Switch |
|---|---|
|![qml_flipswitch](/uploads/de9efd3a495d155b8a352b5fdcf213b2/qml_flipswitch.png)|![qml_coverswitch](/uploads/52bfbc2bab22f1694ee97cae15521956/qml_coverswitch.png)|
|![qml_flipswitch_2](/uploads/2224d333d10b7b68a68a6eec42a7c3b1/qml_flipswitch_2.mp4)|![qml_coverswitch_2](/uploads/cf2179abe04d517e8d70da96564ac404/qml_coverswitch_2.mp4)|
BUG:443757
BUG:184874
BUG:404802
BUG:321324
CCBUG:330529
<details><summary>List of previous ~~pending~~ tasks</summary>
**Thumbnails:**
- [X] ~~Thumbnails are sometimes not fully rendered, just a transparent window. This also happens with other window switchers, but it's not as noticeable/important there~~
*This seems caused by me resetting kwin every time to test the changes, so it hasn't have the time to recreate the thumbnails. It shouldn't impact a lot on regular use*
- [X] Thumbnails don't display shadows for windows that doesn't have them (as fullscreen windows). This looks bad when presented on 3D.
*Added external shadow using `Kirigami.ShadowedRectangle`*
~~**Lack of information about window size/aspect ratio**~~
- [x] Cannot set a hightlight around the window
- [x] Some apparent alignment issues, where vertical windows can *look* misplaced due to the perspective
**Animations:**
- [X] Non-smooth animation on CoverSwitch. Items from the lateral jumps from/to the central point
- [X] Cover Switch: make transient paths cubic instead of linear (*quadratic was enough IMO*)
- [X] There's an unwanted initial animation, when the currentIndex is first set
- [X] The movement direction needs to be the opposite when reverse tabbing. *(Workaround bug on PathView when 3 items: https://bugreports.qt.io/browse/QTBUG-15314)*
**Visual refinements:**
- [x] FlipSwitch: Windows look too close to one another
- [x] CoverSwich: The rotation angle can make hard to see the window content
</details>5.24Ismael AsensioIsmael Asensiohttps://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/97[applets/weather] Enable all weather providers by default2021-11-24T22:31:42ZBharadwaj Raju[applets/weather] Enable all weather providers by defaultNo point making user select sources before being able to search. We can do the sensible thing and enable them by default.
cc @teams/usabilityNo point making user select sources before being able to search. We can do the sensible thing and enable them by default.
cc @teams/usability5.24https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/100[applets/weather] Don't read providers from config + refactor2021-11-24T15:40:51ZBharadwaj Raju[applets/weather] Don't read providers from config + refactorSince we've removed the UI to config it, we shouldn't read the config anymore.
Also:
- refactors the code by removing ServiceListModel entirely.
- now shows human-readable provider names (eg "BBC Weather" instead of "bbcukmet")
Follo...Since we've removed the UI to config it, we shouldn't read the config anymore.
Also:
- refactors the code by removing ServiceListModel entirely.
- now shows human-readable provider names (eg "BBC Weather" instead of "bbcukmet")
Follow-up to !97
cc @ngraham5.24https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/101[applets/weather] Remove associatedApplicationUrls2023-02-03T13:20:32ZNicolas Fella[applets/weather] Remove associatedApplicationUrlsThis removes the 'Open in ' entry from the applet's context menu
It's somewhat broken and not particularly useful since it just opens a static site in the browser
The same site is already available from the main UI
BUG: 445946This removes the 'Open in ' entry from the applet's context menu
It's somewhat broken and not particularly useful since it just opens a static site in the browser
The same site is already available from the main UI
BUG: 4459465.24https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/102Use ellipsis character instead of three dots2021-12-12T04:16:54ZFelipe KinoshitaUse ellipsis character instead of three dotsThis has some accessibility benefits as screen readers can read this correctly.This has some accessibility benefits as screen readers can read this correctly.5.24Felipe KinoshitaFelipe Kinoshitahttps://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/103Show timezone keyword as part of runner syntax2021-12-26T15:00:41ZAlexander LohnauShow timezone keyword as part of runner syntaxRelates to https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1102
See https://i.imgur.com/SkP1oC8.png for how it will be displayedRelates to https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1102
See https://i.imgur.com/SkP1oC8.png for how it will be displayed5.24Alexander LohnauAlexander Lohnauhttps://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/109wallpapers/potd: Don't access providerModel when currentIndex is -12022-01-31T17:21:56ZFushan Wenwallpapers/potd: Don't access providerModel when currentIndex is -1Fix "TypeError: Cannot read property 'id' of undefined".Fix "TypeError: Cannot read property 'id' of undefined".5.24Fushan WenFushan Wenhttps://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/110dataengines/potd: Fix image URL parsing in NOAAProvider2022-01-31T17:38:13ZFushan Wendataengines/potd: Fix image URL parsing in NOAAProviderNOAA now lists their pictures in a new URL. We need to visit the list
first and then match the latest link, and fetch the wallpaper from the
latest link.
BUG: 443424
FIXED-IN: 5.24
Separated from https://invent.kde.org/plasma/kdeplasma...NOAA now lists their pictures in a new URL. We need to visit the list
first and then match the latest link, and fetch the wallpaper from the
latest link.
BUG: 443424
FIXED-IN: 5.24
Separated from https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/106 because I would like to cherry-pick it to 5.24.5.24Fushan WenFushan Wenhttps://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/113[applets/notes] Fix drag-and-drop focus stealing2022-02-08T17:12:58ZSeverin von Wnuck-Lipinski[applets/notes] Fix drag-and-drop focus stealingThe sticky note widget focuses the text area when dragging desktop icons
over the widget. This can cause the desktop icons to disappear once they
are dropped on the desktop.
BUG: 449711The sticky note widget focuses the text area when dragging desktop icons
over the widget. This can cause the desktop icons to disappear once they
are dropped on the desktop.
BUG: 4497115.24https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/134Remove unneeded check for comic Dataengine being valid2022-04-18T04:24:18ZAlexander LohnauRemove unneeded check for comic Dataengine being validBUG: 452596
We do not really care, if the metadata of the plugin is valid, as long as we can
properly create the dataengine from it.
Test Plan:
With plasma-frameworks master, and this on Plasma/5.24 based revision, the dataengine can p...BUG: 452596
We do not really care, if the metadata of the plugin is valid, as long as we can
properly create the dataengine from it.
Test Plan:
With plasma-frameworks master, and this on Plasma/5.24 based revision, the dataengine can properly be loaded.
When intenitionally exporting a defunct plugin:
```cpp
class Dummy : public QObject
{
Q_OBJECT
public:
Dummy(QObject *parent, const QVariantList &args) {
}
};
K_PLUGIN_CLASS_WITH_JSON(Dummy, "plasma-dataengine-comic.json")
```
The applet does not crash.5.24Alexander LohnauAlexander Lohnauhttps://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/141wallpapers/potd: Give random chooser a seed2022-05-05T10:21:22ZFushan Wenwallpapers/potd: Give random chooser a seedMake the seed depend on the current date.
BUG: 453391
FIXED-IN: 5.24.6Make the seed depend on the current date.
BUG: 453391
FIXED-IN: 5.24.65.24Fushan WenFushan Wenhttps://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/192Remove clipPath portion of SVG2022-07-16T07:39:23Zivan tkachenkoRemove clipPath portion of SVGNot only Qt SVG does not support clipping, but it would also simply draw
a clipping mask as is it were a regular shape!
| Before | ![dictionary-before](/uploads/57c73dd4800cb01246547267af0ba87a/dictionary-before.png) |
| --- | --- |
| A...Not only Qt SVG does not support clipping, but it would also simply draw
a clipping mask as is it were a regular shape!
| Before | ![dictionary-before](/uploads/57c73dd4800cb01246547267af0ba87a/dictionary-before.png) |
| --- | --- |
| After | ![dictionary-after](/uploads/e7f8af535d88aeb24b32b923bcda70ec/dictionary-after.png)
| Originally Designed<br/> (Illustrator/Inkscape) | ![dictionary-designed](/uploads/070ff374956b73da2aea6048d69b1992/dictionary-designed.png) |
There are also a bunch of instances of this same icon is various sizes directories in oxygen-icons5.
CC @mdelafuente can we do better that this? I'd still like to preserve the shadow somehow.5.24ivan tkachenkoivan tkachenkohttps://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/194[applets/comic] Disable most context menu actions when comic is not ready2022-07-20T15:02:44ZNicolas Fella[applets/comic] Disable most context menu actions when comic is not readyThis can be either because the loading failed or is not done yet
In those cases the actions don't make sense and can lead to crashes
BUG: 406991This can be either because the loading failed or is not done yet
In those cases the actions don't make sense and can lead to crashes
BUG: 4069915.24Nicolas FellaNicolas Fellahttps://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/216applets/weather: Make desktop widget big enough to fit Configure button2022-08-12T17:33:49ZNate Grahamapplets/weather: Make desktop widget big enough to fit Configure buttonIf we don't set Layout.minimum{width,height} properties on the
FullRepresentation, it will default to something tiny and the
Configure… button shown on first launch will overflow.
Set it to a sane size, and also take into account the fi...If we don't set Layout.minimum{width,height} properties on the
FullRepresentation, it will default to something tiny and the
Configure… button shown on first launch will overflow.
Set it to a sane size, and also take into account the final layout once
content later gets added so it isn't too small once configured.
BUG: 419591
FIXED-IN: 5.24.7
New minimum size on the desktop:
![not_too_small](/uploads/cc1745f1e2618387b00e216605ca5d4f/not_too_small.jpeg)
cc @fusionfuture5.24https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/272applets/weather: Fix system tray detection2022-11-15T20:26:56ZIsmael Asensioapplets/weather: Fix system tray detectionThe applet needs to check weather it is in the system tray
to avoid showing a text label beside the icon.
As the property is a flag, it needs a bitwise operator
instead of a plain equality. This also adds a second check
(in practice bot...The applet needs to check weather it is in the system tray
to avoid showing a text label beside the icon.
As the property is a flag, it needs a bitwise operator
instead of a plain equality. This also adds a second check
(in practice both are true, but better safe than sorry)
Additionally, also hide the option completely instead of
showing it disabled, which can be confusing.
|BEFORE|AFTER|
|---|---|
|![weather-systray-before](/uploads/02793a5e6fa0f84f3ad8412a1f19ecf4/weather-systray-before.png)|![weather-systray-after](/uploads/cd5fe5a82453a56a3b6ee8ce01374fbf/weather-systray-after.png)|
|![weather-settings-before](/uploads/0533d758c56ca751e6a0dd0faf65ee89/weather-settings-before.png)|![weather-settings-after](/uploads/2a8c8ca18c913d32d03fddeca03351c1/weather-settings-after.png)|5.24Ismael AsensioIsmael Asensio