Update the targetSize when it changes to ensure we update the image when
resolution changes. Also, since the view has an initial size of 1024x768, it would
just load that image and never use the full resolution leaving you with an ugly
blurry image. Additionally, don't bother looking up the image until everything has
settled, potentially improving startup performance slightly by saving a bit of IO.
REVIEW: 124311
Moving the opacity change from a ScriptAction to a parallel OpacityAnimator. That seems to cause a repaint in whatever weird environment happens to be the root of this bug.
BUG: 345405
REVIEW: 124093
If there are no metadata, showing "by Unknown" is a bit strange and
serves not much purpose. So let it show only the filename when no
metadata available.
REVIEW: 122622
Do not bind the image's sourceSize to the root item's size since that will reload the image
immediately whenever the size changes. Instead, wait 1 second and then gradually fade to the
new size.
REVIEW: 121294
QQC.ScrollView tries hard to set interactive=false on the
flickable item if the system has no touchscreen, which
disables GridView's keyPressEvent handling.
On the flip side the GridView code doesn't handle Home/End,
while this does.
The GridView needs to receive focus for keyboard navigation. Also, make
sure that we're not changing the current wallpaper on deselection, this
might happen when the currentIndex is changed through the keyboard.
- Minimize overdraw by showing the color Rectangle only if it would be visible
- Use an Animator for the image transition and defer animation until image is loaded
(-> no more stuttering when choosing a heavy wallpaper such as the Plasma Next one)
REVIEW: 121162
The parent item has opacity == 0.8, which means both the preview icon
and the actual preview are sligtly transparent and the icon bleeds
through; let's hide it completely
BUG: 339628
Reviewed-by: Bhushan Shah
wallpaper.configuration.Image is empty at first start, but the
image wallpaper object has the proper default
BUG:339414
(cherry picked from commit 3b2d770df4)
* when dropped w/out a url scheme, check if it is an abs path
* set the preferred file in the package itself for single files
* don't try and find a best fit in the wallpaper plugin if the package
has already set a prefrred image