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
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
62e3aef4c9
wallpapers/image: add support for gif format
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
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
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
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
Fushan Wen
8df97ad323
wallpapers/image: follow system animation speed setting in wallpaper transition
...
The value is to keep compatible with the old feeling defined by
"TransitionAnimationDuration" (default: 1000)
BUG: 395324
FIXED-IN: 5.26
4 years ago
l10n daemon script
f243c71f2b
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
f106e61c5e
wallpapers/image: add dark wallpaper support for KPackage wallpapers
...
Dark wallpapers are put in contents/images_dark folder. The dark
wallpaper will be used when system color scheme is dark.
FEATURE: 207976
FIXED-IN: 5.26
4 years ago
Fushan Wen
b8c7ba8a22
wallpapers/image: update accent color when image finishes loading
...
BUG: 454908
FIXED-IN: 5.26
4 years ago
Fushan Wen
9e1cfd57df
wallpapers/image: move `setaswallpaper.desktop.in` out of imagepackage
...
This prvents the file from being installed with the image package.
CCBUG: 358038
4 years ago
Fushan Wen
fbeed51e61
wallpapers/image: fix apply button not being enabled after adding wallpapers
...
Enable the apply button after:
1. Drag and drop
2. Add an image using the file dialog
3. Delete an image that is not the currently selected one
4 years ago
Fushan Wen
9f7c40f26e
wallpapers/image: fix drag and drop in config dialog
...
Use url data type directly, no need to convert url to string.
4 years ago
Fushan Wen
18069a0f4a
wallpapers/image: click image to preview
...
FEATURE: 403384
FIXED-IN: 5.26
4 years ago
Fushan Wen
3ca3bc7e52
wallpapers/image: hide placeholder message when the image list is being loaded
4 years ago
Fushan Wen
96e3232ae5
wallpapers/image: call `resetCurrentIndex` after the image list is loaded
...
This makes the current image focused again by default.
4 years ago
Fushan Wen
31b7090224
wallpapers/image: use string data type for `image` property
...
`wallpaper.configuration.Image` has string type, and assigning a string
value from QML to a url in C++ will truncate the string at the hash char.
This changes `image` data type to string to fix the bug.
BUG: 454692
FIXED-IN: 5.26
4 years ago
Fushan Wen
078bfa3e4a
wallpapers/image: save drag and drop result after `addSlidePath`
4 years ago
l10n daemon script
79b5eb22a6
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
19084358c7
wallpapers/image: use the aspect ratio of the screen it will change the wallpaper for
...
Th aspect ratio of thumbnails should follow the Plasmoid size, not the screen size.
BUG: 452308
FIXED-IN: 5.25
4 years ago
Fushan Wen
36cbf57881
wallpapers/image: enable `reuseItems` in wallpaper `GridView`
...
This makes the scrolling smoother when there are many wallpapers in the
view.
4 years ago
Fushan Wen
4e83485718
wallpapers/image: Adapt to model changes in ImageBackend and QML frontend
4 years ago
l10n daemon script
f363b0fe42
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
5ad0abb76b
wallpapers/image: Move components to individual files
...
This makes config.qml less crowded, and will install SlideshowComponent
only to slideshow folder to save some space.
4 years ago
Fushan Wen
0cce4af290
wallpapers/image: Rename named Wallpaper import to PlasmaWallpaper
...
This avoids a naming collision with "Wallpaper" from org.kde.plasma.plasmoid
4 years ago
l10n daemon script
a09776c06c
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
Aleix Pol
09e9c3ccf0
wallpapers/image: Check against the attached property, not the context
...
We are porting away from using the context property, seems like we
forgot this one.
4 years ago
Aleix Pol
778a664ef9
wallpapers/image: Fix warning, there is no such wallpaperComboBox
4 years ago
l10n daemon script
100aa732fa
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
85c90df7ae
wallpapers/image: Multiply devicePixelRatio for targetSize
...
This fixes that "Open Containing Folder" highlights the image with a wrong resolution
in a package.
4 years ago
Fushan Wen
cab736b29f
wallpapers/image: Move SortingMode enums to sortingmode.h
4 years ago
Fushan Wen
956fdd0b34
wallpapers/image: Rename Image to ImageBackend
...
This avoids confusion with QML Image.
4 years ago
Fushan Wen
df461ae414
wallpapers/image: Use onActivated instead of onCurrentIndexChanged
...
This fixes sometimes the combobox is set to an incorrect index.
4 years ago
Fushan Wen
fc9b7f0c6a
wallpapers/image: Break in setMethod
...
No need to continue loop after currentIndex is set.
4 years ago
l10n daemon script
460a6485b9
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
40aa022578
Port to KNewStuff.Entry enums rather than using magic numbers
4 years ago
Aleix Pol
d18973e046
image: Remove unused SystemPalette instance
4 years ago
l10n daemon script
0024939c7a
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
l10n daemon script
56e6f4d30b
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
l10n daemon script
1f3a932c5e
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