Fushan Wen
c1fb3388a1
wallpapers/image: remove unused QScreen header
4 years ago
Fushan Wen
6e43d46981
wallpapers/image: add animated image support
...
FEATURE: 454984
FIXED-IN: 5.26
4 years ago
Fushan Wen
013ad03370
wallpapers/image: add `MaximizedWindowMonitor` to monitor maximized window
...
This class monitors if there is any maximized window. It is used by
the animated image component.
4 years ago
l10n daemon script
189ff0c175
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
ivan tkachenko
6ca5d93222
[lockscreen] Convert a passwordBox property into a readonly alias
4 years ago
ivan tkachenko
4f475e865e
[applets/systemtray] Sync to plasma-desktop
4 years ago
Fushan Wen
81f6da8e3b
wallpapers/image: move baseImage to mediacomponent/ImageComponent.qml
...
It makes the frontend easier to be maintained, and in the future VideoComponent
will be added.
4 years ago
Fushan Wen
fa0f7396d1
wallpapers/image: remove redundant destroy call
...
The object does not need to be manually deleted. onDeactivated signal
will call destroy() to delete it.
(This reverts a8a455e8fe )
4 years ago
Fushan Wen
a8a455e8fe
wallpapers/image: fix a memory leak when pending image fails to load
...
This destroys the created image object when it fails to load.
4 years ago
l10n daemon script
0b7f20a81d
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Fushan Wen
c109dc8b36
wallpapers/image: use `m_formattedSource` in `determineProviderType`
...
No need to call formatUrl again.
4 years ago
ivan tkachenko
adf20437b9
powermanagement: Fix log message formatting
...
Printing out QString takes care of adding both spaces and double quotes.
Otherwise, it used to be like this:
Data for ' "Battery1" ' not found
4 years ago
Aleix Pol
122be66ecc
Set up session for proper Xwayland clients scaling
...
If KWin Wayland is set up to let Xwayland clients to scale themselves,
set the configuration values we need for them to do so properly.
To do so, we extend the fonts kcminit module to provide a meaningful
default DPI to scale to and we set some environment variables for
applications to scale as expected. These are the ones we already were
using to properly scale in X11 sessions.
4 years ago
Aleix Pol
6ba01a5543
kcminit: Allow running modules by their name
...
Alternatively we require to pass an absolute path which is more
cumbersome than one would want.
4 years ago
Fushan Wen
1ed50d01b8
wallpapers/image: add avif and heif formats in metadata
...
This allows the two formats being set in the drop menu or using "Set as
Wallpaper" service action.
4 years ago
Fushan Wen
7d74e3cab2
wallpapers/image: add gif format support in "Set as Wallpaper"
4 years ago
Fushan Wen
3bc87f03e5
calendar: use normal type for EventPluginsManager, don't use singleton
...
It fixes that when there are multiple calendar applets, each applet
doesn't have its own EventPluginsManager.
BUG: 454846
FIXED-IN: 5.26
4 years ago
Fushan Wen
25aaec219e
wallpapers/image: store formatted source url
...
No need to call formatUrl every time using it.
4 years ago
Fushan Wen
62e3aef4c9
wallpapers/image: add support for gif format
4 years ago
Felipe Kinoshita
ed81b623ce
applets/digital-clock: name variables better
...
The previous names did not communicate what those variables were
responsible for.
Hopefully this can make things more understandable and help making
this bit of code more maintainable.
4 years ago
l10n daemon script
93fe23fac6
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Fushan Wen
4a95a33b62
wallpapers/image: instantly apply wallpaper on color scheme changed
...
CCBUG: 207976
4 years ago
Fushan Wen
ba73809a78
wallpapers/image: add opacity animation in wallpaper item
4 years ago
Fushan Wen
f7dec7cfd9
wallpapers/image: add color change animation in wallpaper item
4 years ago
ivan tkachenko
a3d69b9323
[applets/systemtray] Config: Flatten row layout and remove default wrapMode
4 years ago
ivan tkachenko
da0e08d45d
[applets/systemtray] Config: Use valueRole and currentValue on ComboBox
4 years ago
ivan tkachenko
e6ad407b3b
[applets/systemtray] Config: Workaround horizontal scroll bar
4 years ago
ivan tkachenko
4c3667ebdd
[applets/systemtray] Config: Make const, not var
4 years ago
ivan tkachenko
210e7cd4b6
[applets/systemtray] Config: Specify sizing properties types as `real`
4 years ago
ivan tkachenko
f2c8900ff4
[applets/systemtray] Config: Remove unused properties
4 years ago
ivan tkachenko
f928688df3
[applets/systemtray] Config: Specify Kirigami based spacing on layouts
4 years ago
Fushan Wen
d1158b7997
applets/systemtray: fix the cell size to accommodate more tasks in a row
...
After the system tray popup is resized, the grid view should behave like
Kickoff to show more tasks in a row.
4 years ago
Fushan Wen
871d6104d3
shell/scripting: call `flushPendingConstraintsEvents` in `setLocation`
...
After location is set, one layout script will usually start adding widgets.
It's required to emit formFactorChanged() to update plasmoid.formFactor bindings
in QML side to avoid Layout issues.
See isHorizontal in plasma-desktop/containments/panel/contents/ui/main.qml
4 years ago
Fushan Wen
0dbcba3dec
wallpapers/image: replace `openFolder` with `Qt.openUrlExternally`
...
This makes ImageBackend lighter.
4 years ago
Fushan Wen
f246bf2938
wallpapers/image: remove unused imports and member variables in `ImageBackend`
4 years ago
Fushan Wen
b4d3e5e01d
wallpapers/image: use `Package::fileUrl` in `findPreferredImageInPackage`
...
This drops a redundant conversion.
4 years ago
Fushan Wen
8b64196342
wallpapers/image: move image part to `MediaProxy` and update `ImageBackendTest`
...
This simplifies ImageBackend, and makes the config dialog load slightly faster.
4 years ago
Jonathan Marten
80539089c9
Klipper (classic widget): Fix a system tray menu memory leak
...
Clipboard history item actions are added to the menu by
KlipperPopup::rebuild() or PopupProxy::tryInsertItem().
The actions are removed from the menu again at the start
of KlipperPopup::rebuild(), but were never deleted.
4 years ago
l10n daemon script
560b4ca52b
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Alexander Lohnau
bb67809438
Fix missing nullptr check for cursortheme
...
BUG: 454829
4 years ago
Fushan Wen
fa5457a41f
applets/kicker: put all applications whose names begin with punctuations/symbols/spaces in group &
4 years ago
Fushan Wen
c001f9173f
applets/kicker: put all applications whose names begin with numbers in group "#"
4 years ago
Fushan Wen
9e2b393867
applets/kicker: store the first char in `firstChar`
4 years ago
l10n daemon script
93f70563d8
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Fushan Wen
0e699f49ec
wallpapers/image: remove unused `selected` property
4 years ago
Fushan Wen
514cbc788a
wallpapers/image: don't duplicate `positionViewAtIndex` in `KCM.GridView`
...
It's already set in GridViewInternal.
4 years ago
Fushan Wen
e8613dda73
wallpapers/image: don't duplicate placeholder message in `KCM.GridView`
...
There is one placeholder message in `KCM.GridView`.
4 years ago
Fushan Wen
1ae570e4b3
wallpapers/image: scroll to top after finishing adding images using file dialog
...
CCBUG: 455129
4 years ago
Fushan Wen
bf97a204b8
wallpapers/image: scroll to top to view added images after DnD operations
...
CCBUG: 455129
4 years ago
Fushan Wen
c857d3bad5
wallpapers/image: set position in `resetCurrentIndex`
...
Move the position of the image list view to the currently selected
item's index.
CCBUG: 455129
4 years ago